\hypertarget{mpool__gpusm_8h}{\section{ompi/mca/mpool/gpusm/mpool\+\_\+gpusm.h File Reference}
\label{mpool__gpusm_8h}\index{ompi/mca/mpool/gpusm/mpool\+\_\+gpusm.\+h@{ompi/mca/mpool/gpusm/mpool\+\_\+gpusm.\+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__gpusm__registration__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+registration\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__gpusm__component__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+component\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__gpusm__module__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+module\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__gpusm_8h_a9ce858fe4279427a8c7e801b55b5c723}{\#define {\bfseries M\+E\+M\+H\+A\+N\+D\+L\+E\+\_\+\+S\+I\+Z\+E}~8}\label{mpool__gpusm_8h_a9ce858fe4279427a8c7e801b55b5c723}

\item 
\hypertarget{mpool__gpusm_8h_a75b6d90110be2f122cf3fe10f689830e}{\#define {\bfseries E\+V\+T\+H\+A\+N\+D\+L\+E\+\_\+\+S\+I\+Z\+E}~8}\label{mpool__gpusm_8h_a75b6d90110be2f122cf3fe10f689830e}

\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__gpusm_8h_a49b12659538065fbb136da383b252b6b}{typedef struct \\*
\hyperlink{structmca__mpool__gpusm__registration__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+registration\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+gpusm\+\_\+registration\+\_\+t}}\label{mpool__gpusm_8h_a49b12659538065fbb136da383b252b6b}

\item 
\hypertarget{mpool__gpusm_8h_a9399b36a304f17dadc3ff6a1de34c058}{typedef struct \\*
\hyperlink{structmca__mpool__gpusm__component__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+gpusm\+\_\+component\+\_\+t}}\label{mpool__gpusm_8h_a9399b36a304f17dadc3ff6a1de34c058}

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

\item 
\hypertarget{mpool__gpusm_8h_a7c8103f6dc002d8f7152e75a123cf7c2}{typedef struct \\*
\hyperlink{structmca__mpool__gpusm__module__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+module\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+gpusm\+\_\+module\+\_\+t}}\label{mpool__gpusm_8h_a7c8103f6dc002d8f7152e75a123cf7c2}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__gpusm_8h_a934ac7ba524f05663915e1a3fe81a6c3}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C {\bfseries O\+B\+J\+\_\+\+C\+L\+A\+S\+S\+\_\+\+D\+E\+C\+L\+A\+R\+A\+T\+I\+O\+N} (\hyperlink{structmca__mpool__gpusm__registration__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+registration\+\_\+t})}\label{mpool__gpusm_8h_a934ac7ba524f05663915e1a3fe81a6c3}

\item 
\hypertarget{mpool__gpusm_8h_a5c2f2765cfc9c6d385ef99a4b2d60c00}{void {\bfseries mca\+\_\+mpool\+\_\+gpusm\+\_\+module\+\_\+init} (\hyperlink{structmca__mpool__gpusm__module__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__gpusm_8h_a5c2f2765cfc9c6d385ef99a4b2d60c00}

\item 
\hypertarget{mpool__gpusm_8h_a585b7e51663547b9293e9fbdd5914030}{int \hyperlink{mpool__gpusm_8h_a585b7e51663547b9293e9fbdd5914030}{mca\+\_\+mpool\+\_\+gpusm\+\_\+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__gpusm_8h_a585b7e51663547b9293e9fbdd5914030}

\begin{DoxyCompactList}\small\item\em register block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__gpusm_8h_ace38da24fec1a028dc3718f30271e03c}{int \hyperlink{mpool__gpusm_8h_ace38da24fec1a028dc3718f30271e03c}{mca\+\_\+mpool\+\_\+gpusm\+\_\+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__gpusm_8h_ace38da24fec1a028dc3718f30271e03c}

\begin{DoxyCompactList}\small\item\em deregister memory \end{DoxyCompactList}\item 
int \hyperlink{mpool__gpusm_8h_a162a295e64185482504e5ff9dd3f61aa}{mca\+\_\+mpool\+\_\+gpusm\+\_\+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)
\begin{DoxyCompactList}\small\item\em find registration for a given block of memory \end{DoxyCompactList}\item 
void \hyperlink{mpool__gpusm_8h_ad18bb731a8d0fcef8a04f308946c3352}{mca\+\_\+mpool\+\_\+gpusm\+\_\+finalize} (struct \hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool)
\begin{DoxyCompactList}\small\item\em finalize mpool \end{DoxyCompactList}\item 
int \hyperlink{mpool__gpusm_8h_a68acd912c5ca70450779cdc156e5064c}{mca\+\_\+mpool\+\_\+gpusm\+\_\+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__gpusm_8h_a321f157713c199a3df27ef5f873438b7}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{structmca__mpool__gpusm__component__t}{mca\+\_\+mpool\+\_\+gpusm\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+gpusm\+\_\+component}}\label{mpool__gpusm_8h_a321f157713c199a3df27ef5f873438b7}

\end{DoxyCompactItemize}


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


finalize mpool 

finalize mpool 

References O\+B\+J\+\_\+\+D\+E\+S\+T\+R\+U\+C\+T.

\hypertarget{mpool__gpusm_8h_a162a295e64185482504e5ff9dd3f61aa}{\index{mpool\+\_\+gpusm.\+h@{mpool\+\_\+gpusm.\+h}!mca\+\_\+mpool\+\_\+gpusm\+\_\+find@{mca\+\_\+mpool\+\_\+gpusm\+\_\+find}}
\index{mca\+\_\+mpool\+\_\+gpusm\+\_\+find@{mca\+\_\+mpool\+\_\+gpusm\+\_\+find}!mpool\+\_\+gpusm.\+h@{mpool\+\_\+gpusm.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+gpusm\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}int mca\+\_\+mpool\+\_\+gpusm\+\_\+find (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$}]{mpool, }
\item[{void $\ast$}]{addr, }
\item[{size\+\_\+t}]{size, }
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$}]{reg}
\end{DoxyParamCaption}
)}}\label{mpool__gpusm_8h_a162a295e64185482504e5ff9dd3f61aa}


find registration for a given block of memory 

find registration for a given block of memory

The find and register functions are the same thing for this memory pool. 

References mca\+\_\+mpool\+\_\+gpusm\+\_\+register().

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


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}
