\doxysubsection{SVM memory scope}
\hypertarget{group__memoriesscope}{}\label{group__memoriesscope}\index{SVM memory scope@{SVM memory scope}}


This module contains API functions to handle SVM memory scope.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local}} (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 changes the scope of a memory zone. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_gaff1e6359629f45e8889368b87a2ee0ed}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global}} (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 changes the scope of a memory zone. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_gaad9a6959c8c54153b954fc4a7a21b01c}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a string value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_ga1a450f15cdf8e948d16fe74beb5b7381}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+string}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_ga2eeb326a981a8fb125dd21ad31f1f246}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+raw}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const char \texorpdfstring{$\ast$}{*}alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a C nul-\/terminated string. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_gac4aab1ef861a58ba3c9bff0f969f37c5}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a string value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_gad28fb5138a5d8d6ca15ed72ab33d3889}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+string}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__memoriesscope_ga9c5e1e05f9eeb721841495f65a256323}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+raw}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const char \texorpdfstring{$\ast$}{*}alias)
\begin{DoxyCompactList}\small\item\em This function changes the scope of a memory alias from a C nul-\/terminated string. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

A memory scope corresponds to the life time of memory addresses.

\begin{DoxySeeAlso}{See also}
\doxylink{group__kernels}{SVM kernels} 
\end{DoxySeeAlso}


\doxysubsubsection{Function Documentation}
\Hypertarget{group__memoriesscope_gaff1e6359629f45e8889368b87a2ee0ed}\label{group__memoriesscope_gaff1e6359629f45e8889368b87a2ee0ed} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_global@{svm\_memory\_scope\_set\_global}}
\index{svm\_memory\_scope\_set\_global@{svm\_memory\_scope\_set\_global}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_global()}{svm\_memory\_scope\_set\_global()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global (\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 changes the scope of a memory zone. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em pointer} & The pointer locating the memory zone.\\
\hline
\end{DoxyParams}
The targeted addresses are removed from the processor current state and will not be freed at the end of the SVM function.

This API function allows delegation of memory liberation at the end of the current function.


\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.)\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__memoriesscope_gac4aab1ef861a58ba3c9bff0f969f37c5}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias} 

\doxylink{group__memoriesscope_gad28fb5138a5d8d6ca15ed72ab33d3889}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+string} 

\doxylink{group__memoriesscope_ga9c5e1e05f9eeb721841495f65a256323}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+raw} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_gac4aab1ef861a58ba3c9bff0f969f37c5}\label{group__memoriesscope_gac4aab1ef861a58ba3c9bff0f969f37c5} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_global\_alias@{svm\_memory\_scope\_set\_global\_alias}}
\index{svm\_memory\_scope\_set\_global\_alias@{svm\_memory\_scope\_set\_global\_alias}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_global\_alias()}{svm\_memory\_scope\_set\_global\_alias()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias (\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_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a string value. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is removed from the processor current state and will not be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_ga9c5e1e05f9eeb721841495f65a256323}\label{group__memoriesscope_ga9c5e1e05f9eeb721841495f65a256323} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_global\_alias\_\_raw@{svm\_memory\_scope\_set\_global\_alias\_\_raw}}
\index{svm\_memory\_scope\_set\_global\_alias\_\_raw@{svm\_memory\_scope\_set\_global\_alias\_\_raw}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_global\_alias\_\_raw()}{svm\_memory\_scope\_set\_global\_alias\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a C nul-\/terminated string. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is removed from the processor current state and will not be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_gad28fb5138a5d8d6ca15ed72ab33d3889}\label{group__memoriesscope_gad28fb5138a5d8d6ca15ed72ab33d3889} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_global\_alias\_\_string@{svm\_memory\_scope\_set\_global\_alias\_\_string}}
\index{svm\_memory\_scope\_set\_global\_alias\_\_string@{svm\_memory\_scope\_set\_global\_alias\_\_string}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_global\_alias\_\_string()}{svm\_memory\_scope\_set\_global\_alias\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+global\+\_\+alias\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String}. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is removed from the processor current state and will not be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}\label{group__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_local@{svm\_memory\_scope\_set\_local}}
\index{svm\_memory\_scope\_set\_local@{svm\_memory\_scope\_set\_local}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_local()}{svm\_memory\_scope\_set\_local()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local (\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 changes the scope of a memory zone. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em pointer} & The pointer locating the memory zone.\\
\hline
\end{DoxyParams}
The targeted addresses are put in the processor current state and will be freed at the end of the SVM function.

This API function allows delegation of memory liberation at the end of the current function.


\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.)\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__memoriesscope_gaad9a6959c8c54153b954fc4a7a21b01c}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias} 

\doxylink{group__memoriesscope_ga1a450f15cdf8e948d16fe74beb5b7381}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+string} 

\doxylink{group__memoriesscope_ga2eeb326a981a8fb125dd21ad31f1f246}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+raw} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_gaad9a6959c8c54153b954fc4a7a21b01c}\label{group__memoriesscope_gaad9a6959c8c54153b954fc4a7a21b01c} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_local\_alias@{svm\_memory\_scope\_set\_local\_alias}}
\index{svm\_memory\_scope\_set\_local\_alias@{svm\_memory\_scope\_set\_local\_alias}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_local\_alias()}{svm\_memory\_scope\_set\_local\_alias()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias (\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_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a string value. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is put in the processor current state and will be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_ga2eeb326a981a8fb125dd21ad31f1f246}\label{group__memoriesscope_ga2eeb326a981a8fb125dd21ad31f1f246} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_local\_alias\_\_raw@{svm\_memory\_scope\_set\_local\_alias\_\_raw}}
\index{svm\_memory\_scope\_set\_local\_alias\_\_raw@{svm\_memory\_scope\_set\_local\_alias\_\_raw}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_local\_alias\_\_raw()}{svm\_memory\_scope\_set\_local\_alias\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a C nul-\/terminated string. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is put in the processor current state and will be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__memoriesscope_ga1a450f15cdf8e948d16fe74beb5b7381}\label{group__memoriesscope_ga1a450f15cdf8e948d16fe74beb5b7381} 
\index{SVM memory scope@{SVM memory scope}!svm\_memory\_scope\_set\_local\_alias\_\_string@{svm\_memory\_scope\_set\_local\_alias\_\_string}}
\index{svm\_memory\_scope\_set\_local\_alias\_\_string@{svm\_memory\_scope\_set\_local\_alias\_\_string}!SVM memory scope@{SVM memory scope}}
\doxysubsubsubsection{\texorpdfstring{svm\_memory\_scope\_set\_local\_alias\_\_string()}{svm\_memory\_scope\_set\_local\_alias\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local\+\_\+alias\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{alias }\end{DoxyParamCaption})}



This function changes the scope of a memory alias from a \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String}. 


\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 memory is. \\
\hline
\mbox{\texttt{ in}}  & {\em alias} & The alias to change.\\
\hline
\end{DoxyParams}
The targeted alias is put in the processor current state and will be freed at the end of the SVM function.


\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__memoriesscope_ga3b42f589fe7b6fe25eb081af853fde57}{svm\+\_\+memory\+\_\+scope\+\_\+set\+\_\+local} 

\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

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