mpid_mem_alloc.tex

来自「刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件」· TEX 代码 · 共 39 行

TEX
39
字号
\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 + =
减小字号Ctrl + -
显示快捷键?