⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpid_memory_unregister.tex

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻 TEX
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}Memory{\tt \char`\_}unregister}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Memory{\tt \char`\_}unregister}--- Remote previous registration \subhead{Synopsis}\startvb\begin{verbatim}int MPID_Memory_unregister( void *buf, int len, MPID_Comm *comm, int rank,                          int rdwt )\end{verbatim}\endvb\subhead{Input Parameters}\startarg{buf }{Pointer to start of memory}\startarg{len }{Length of buffer, in bytes}\startarg{comm }{Communicator}\startarg{rank }{rank}\startarg{rdwt }{Indicate whether memory was registered to be read ({\tt MPID{\tt \char`\_}MEM{\tt \char`\_}READ}), written ({\tt MPID{\tt \char`\_}MEM{\tt \char`\_}WRITE}), or both ({\tt MPID{\tt \char`\_}MEM{\tt \char`\_}READ} {\tt \char`\|} {\tt MPID{\tt \char`\_}MEM{\tt \char`\_}WRITE}).}\par\subhead{Return value}{\tt MPI{\tt \char`\_}SUCCESS} if deregistration was successful, a valid MPI error codeotherwise.  This error is non-fatal; the error return is made toallow for more detailed information on why the memory deregistrationfailed.\par\subhead{Notes}The arguments must be exactly the same as those used to register memory.\parIt is valid to call this routine as many times as {\tt MPID{\tt \char`\_}Memory{\tt \char`\_}register}returned success on the calling process.  If the same memory location isregistered multiple times, then only when {\tt MPID{\tt \char`\_}Memory{\tt \char`\_}unregister} is calledthe {\em same} number of times should the memory be deregistered with theoperating system.{\tt MPID{\tt \char`\_}Memory{\tt \char`\_}unregister} thus has the same reference-countsemantics as other MPI routines.  Note that this may require implementinga reference count mechanism for registered memory.\par\subhead{Question}How do routines that free requests (such as {\tt MPI{\tt \char`\_}Wait} and{\tt MPI{\tt \char`\_}Request{\tt \char`\_}free}) know to call this routine?Is there a registered memory pointer?  Do we need to keep track ofwhat type of memory (user-provide, registered, mpich-provided) is usedin different operations?\par\subhead{Module}Communication\endmanpage

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -