\doxysection{gko::\+Cpu\+Allocator Class Reference}
\hypertarget{classgko_1_1CpuAllocator}{}\label{classgko_1_1CpuAllocator}\index{gko::CpuAllocator@{gko::CpuAllocator}}


\doxylink{classgko_1_1Allocator}{Allocator} using new/\+delete.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+memory.\+hpp$>$}



Inheritance diagram for gko::\+Cpu\+Allocator:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{classgko_1_1CpuAllocator__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for gko::\+Cpu\+Allocator:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{classgko_1_1CpuAllocator__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1CpuAllocator_afcac19f275fa3ae09b0615a4a6e377c5}{allocate}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} num\+\_\+bytes) override
\item 
void \doxymbox{\hyperlink{classgko_1_1CpuAllocator_a1db55ec97223b6c5c3c3da9c17f9b2f0}{deallocate}} (void \texorpdfstring{$\ast$}{*}ptr) override
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\doxylink{classgko_1_1Allocator}{Allocator} using new/\+delete. 

\label{doc-func-members}
\Hypertarget{classgko_1_1CpuAllocator_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1CpuAllocator_afcac19f275fa3ae09b0615a4a6e377c5}\index{gko::CpuAllocator@{gko::CpuAllocator}!allocate@{allocate}}
\index{allocate@{allocate}!gko::CpuAllocator@{gko::CpuAllocator}}
\doxysubsubsection{\texorpdfstring{allocate()}{allocate()}}
{\footnotesize\ttfamily \label{classgko_1_1CpuAllocator_afcac19f275fa3ae09b0615a4a6e377c5} 
void \texorpdfstring{$\ast$}{*} gko::\+\+Cpu\+Allocator::\+allocate (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{num\+\_\+bytes}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Implements \doxymbox{\hyperlink{classgko_1_1Allocator}{gko::\+\+Allocator}}.

\Hypertarget{classgko_1_1CpuAllocator_a1db55ec97223b6c5c3c3da9c17f9b2f0}\index{gko::CpuAllocator@{gko::CpuAllocator}!deallocate@{deallocate}}
\index{deallocate@{deallocate}!gko::CpuAllocator@{gko::CpuAllocator}}
\doxysubsubsection{\texorpdfstring{deallocate()}{deallocate()}}
{\footnotesize\ttfamily \label{classgko_1_1CpuAllocator_a1db55ec97223b6c5c3c3da9c17f9b2f0} 
void gko::\+\+Cpu\+Allocator::\+deallocate (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}}]{ptr}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Implements \doxymbox{\hyperlink{classgko_1_1Allocator}{gko::\+\+Allocator}}.



The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+memory.\+hpp\end{DoxyCompactItemize}
