\doxysubsection{SVM processor memory}
\hypertarget{group__memoryprocessors}{}\label{group__memoryprocessors}\index{SVM processor memory@{SVM processor memory}}


This module contains API functions to handle SVM processor memory.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga613f7430f76ab41fd47f6a386c370828}{SVM\+\_\+\+Value\+\_\+\+Pointer}} \mbox{\hyperlink{group__memoryprocessors_gabaefd153bd12e617caf3772289ee13bd}{svm\+\_\+processor\+\_\+get\+\_\+currentpointer}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function extracts the current memory pointer of a processor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoryprocessors_ga4942a6f3b6e3626f697fde8afa73b162}{svm\+\_\+processor\+\_\+set\+\_\+currentpointer}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_ga613f7430f76ab41fd47f6a386c370828}{SVM\+\_\+\+Value\+\_\+\+Pointer}} pointer)
\begin{DoxyCompactList}\small\item\em This function modifies the current memory pointer of a processor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This module contains API functions to handle SVM processor memory. 



\doxysubsubsection{Function Documentation}
\Hypertarget{group__memoryprocessors_gabaefd153bd12e617caf3772289ee13bd}\label{group__memoryprocessors_gabaefd153bd12e617caf3772289ee13bd} 
\index{SVM processor memory@{SVM processor memory}!svm\_processor\_get\_currentpointer@{svm\_processor\_get\_currentpointer}}
\index{svm\_processor\_get\_currentpointer@{svm\_processor\_get\_currentpointer}!SVM processor memory@{SVM processor memory}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_get\_currentpointer()}{svm\_processor\_get\_currentpointer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga613f7430f76ab41fd47f6a386c370828}{SVM\+\_\+\+Value\+\_\+\+Pointer}} svm\+\_\+processor\+\_\+get\+\_\+currentpointer (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function extracts the current memory pointer of a processor. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current pointer value.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoryprocessors_ga4942a6f3b6e3626f697fde8afa73b162}\label{group__memoryprocessors_ga4942a6f3b6e3626f697fde8afa73b162} 
\index{SVM processor memory@{SVM processor memory}!svm\_processor\_set\_currentpointer@{svm\_processor\_set\_currentpointer}}
\index{svm\_processor\_set\_currentpointer@{svm\_processor\_set\_currentpointer}!SVM processor memory@{SVM processor memory}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_set\_currentpointer()}{svm\_processor\_set\_currentpointer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+processor\+\_\+set\+\_\+currentpointer (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_ga613f7430f76ab41fd47f6a386c370828}{SVM\+\_\+\+Value\+\_\+\+Pointer}}}]{pointer }\end{DoxyParamCaption})}



This function modifies the current memory pointer of a processor. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em pointer} & The new value of the current memory pointer.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
