📄 mpid_mem_alloc.tex
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}Mem{\tt \char`\_}alloc}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Mem{\tt \char`\_}alloc}--- Allocate memory suitable for passive target RMA operations \subhead{Synopsis}\startvb\begin{verbatim}void *MPID_Mem_alloc( size_t size, MPID_Info *info )\end{verbatim}\endvb\subhead{Input Parameter}\startarg{size }{Number of types to allocate.}\startarg{info }{Info object}\par\subhead{Return value}Pointer to the allocated memory. If the memory is not available,returns null.\par\subhead{Notes}This routine is used to implement {\tt MPI{\tt \char`\_}Alloc{\tt \char`\_}mem}. It is for that reasonthat there is no communicator argument.\parThis memory may {\em only} be freed with {\tt MPID{\tt \char`\_}Mem{\tt \char`\_}free}.\parThis is a {\em local}, not a collective operation. It functions more like agood form of {\tt malloc} than collective shared-memory allocators such asthe {\tt shmalloc} found on SGI systems.\parImplementations of this routine may wish to use {\tt MPID{\tt \char`\_}Memory{\tt \char`\_}register}.However, this routine has slighly different requirements, so a separateentry point is provided.\par\subhead{Module}Win\endmanpage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -