\hypertarget{mpool__rgpusm_8h}{\section{ompi/mca/mpool/rgpusm/mpool\+\_\+rgpusm.h File Reference}
\label{mpool__rgpusm_8h}\index{ompi/mca/mpool/rgpusm/mpool\+\_\+rgpusm.\+h@{ompi/mca/mpool/rgpusm/mpool\+\_\+rgpusm.\+h}}
}
{\ttfamily \#include \char`\"{}ompi\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ompi/class/ompi\+\_\+free\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ompi/mca/mpool/mpool.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structmca__mpool__rgpusm__component__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+component\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__rgpusm__module__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+module\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rgpusm_8h_a881c764739f5a6350771043da291a71f}{typedef struct \\*
\hyperlink{structmca__mpool__rgpusm__component__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rgpusm\+\_\+component\+\_\+t}}\label{mpool__rgpusm_8h_a881c764739f5a6350771043da291a71f}

\item 
\hypertarget{mpool__rgpusm_8h_ac6116af4c78b7e936612272bd2fbe91e}{typedef struct \\*
\hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t}}\label{mpool__rgpusm_8h_ac6116af4c78b7e936612272bd2fbe91e}

\item 
\hypertarget{mpool__rgpusm_8h_a64b202a7766639d917a62da3cc67ae7e}{typedef struct \\*
\hyperlink{structmca__mpool__rgpusm__module__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+module\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rgpusm\+\_\+module\+\_\+t}}\label{mpool__rgpusm_8h_a64b202a7766639d917a62da3cc67ae7e}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rgpusm_8h_aab506d3bfac7d40d1ed33dcd30f0ece3}{void {\bfseries mca\+\_\+mpool\+\_\+rgpusm\+\_\+module\+\_\+init} (\hyperlink{structmca__mpool__rgpusm__module__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__rgpusm_8h_aab506d3bfac7d40d1ed33dcd30f0ece3}

\item 
\hypertarget{mpool__rgpusm_8h_a60cb6600ccb066249ed9634330628c39}{int \hyperlink{mpool__rgpusm_8h_a60cb6600ccb066249ed9634330628c39}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+register} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, size\+\_\+t size, uint32\+\_\+t flags, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$reg)}\label{mpool__rgpusm_8h_a60cb6600ccb066249ed9634330628c39}

\begin{DoxyCompactList}\small\item\em register block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rgpusm_8h_a386e8fff2e96ef7783203adcaaaf0a7e}{int \hyperlink{mpool__rgpusm_8h_a386e8fff2e96ef7783203adcaaaf0a7e}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+deregister} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$reg)}\label{mpool__rgpusm_8h_a386e8fff2e96ef7783203adcaaaf0a7e}

\begin{DoxyCompactList}\small\item\em deregister memory \end{DoxyCompactList}\item 
void \hyperlink{mpool__rgpusm_8h_aef1dc8cd83c41897abec9a28dbcb65c8}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+free} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$reg)
\begin{DoxyCompactList}\small\item\em free memory allocated by alloc function \end{DoxyCompactList}\item 
\hypertarget{mpool__rgpusm_8h_a5f7b2cd791ea5b000f5c31280ec689d0}{int \hyperlink{mpool__rgpusm_8h_a5f7b2cd791ea5b000f5c31280ec689d0}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+find} (struct \hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, size\+\_\+t size, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$reg)}\label{mpool__rgpusm_8h_a5f7b2cd791ea5b000f5c31280ec689d0}

\begin{DoxyCompactList}\small\item\em find registration for a given block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rgpusm_8h_a4ffdf3ee87d177640f4be2fc5d0237f7}{int \hyperlink{mpool__rgpusm_8h_a4ffdf3ee87d177640f4be2fc5d0237f7}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+release\+\_\+memory} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$base, size\+\_\+t size)}\label{mpool__rgpusm_8h_a4ffdf3ee87d177640f4be2fc5d0237f7}

\begin{DoxyCompactList}\small\item\em unregister all registration covering the block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rgpusm_8h_ae2ab3464a2bccbe9a2bd28a1a227a44e}{void \hyperlink{mpool__rgpusm_8h_ae2ab3464a2bccbe9a2bd28a1a227a44e}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+finalize} (struct \hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__rgpusm_8h_ae2ab3464a2bccbe9a2bd28a1a227a44e}

\begin{DoxyCompactList}\small\item\em finalize mpool \end{DoxyCompactList}\item 
int \hyperlink{mpool__rgpusm_8h_a454183a37d32d9fb95d8cb0d8e411c8c}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event} (int state)
\begin{DoxyCompactList}\small\item\em Fault Tolerance Event Notification \hyperlink{structFunction}{Function}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rgpusm_8h_aae6d99fe08265f9ef3c39a517f5eedb3}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{structmca__mpool__rgpusm__component__t}{mca\+\_\+mpool\+\_\+rgpusm\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rgpusm\+\_\+component}}\label{mpool__rgpusm_8h_aae6d99fe08265f9ef3c39a517f5eedb3}

\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{mpool__rgpusm_8h_aef1dc8cd83c41897abec9a28dbcb65c8}{\index{mpool\+\_\+rgpusm.\+h@{mpool\+\_\+rgpusm.\+h}!mca\+\_\+mpool\+\_\+rgpusm\+\_\+free@{mca\+\_\+mpool\+\_\+rgpusm\+\_\+free}}
\index{mca\+\_\+mpool\+\_\+rgpusm\+\_\+free@{mca\+\_\+mpool\+\_\+rgpusm\+\_\+free}!mpool\+\_\+rgpusm.\+h@{mpool\+\_\+rgpusm.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rgpusm\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void mca\+\_\+mpool\+\_\+rgpusm\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$}]{mpool, }
\item[{void $\ast$}]{addr, }
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$}]{registration}
\end{DoxyParamCaption}
)}}\label{mpool__rgpusm_8h_aef1dc8cd83c41897abec9a28dbcb65c8}


free memory allocated by alloc function 

free memory allocated by alloc function 

References mca\+\_\+mpool\+\_\+rgpusm\+\_\+deregister().

\hypertarget{mpool__rgpusm_8h_a454183a37d32d9fb95d8cb0d8e411c8c}{\index{mpool\+\_\+rgpusm.\+h@{mpool\+\_\+rgpusm.\+h}!mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event@{mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event}}
\index{mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event@{mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event}!mpool\+\_\+rgpusm.\+h@{mpool\+\_\+rgpusm.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event}]{\setlength{\rightskip}{0pt plus 5cm}int mca\+\_\+mpool\+\_\+rgpusm\+\_\+ft\+\_\+event (
\begin{DoxyParamCaption}
\item[{int}]{state}
\end{DoxyParamCaption}
)}}\label{mpool__rgpusm_8h_a454183a37d32d9fb95d8cb0d8e411c8c}


Fault Tolerance Event Notification \hyperlink{structFunction}{Function}. 


\begin{DoxyParams}{Parameters}
{\em state} & Checkpoint Stae \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+M\+P\+I\+\_\+\+S\+U\+C\+C\+E\+S\+S or failure status 
\end{DoxyReturn}
