\hypertarget{memory__pool_8h}{}\doxysection{tensor/memory\+\_\+pool.h File Reference}
\label{memory__pool_8h}\index{tensor/memory\_pool.h@{tensor/memory\_pool.h}}


This is Memory Pool Class.  


{\ttfamily \#include $<$functional$>$}\newline
{\ttfamily \#include $<$memory$>$}\newline
{\ttfamily \#include $<$vector$>$}\newline
{\ttfamily \#include $<$memory\+\_\+data.\+h$>$}\newline
{\ttfamily \#include $<$memory\+\_\+planner.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+wrap\+\_\+specs.\+h$>$}\newline
Include dependency graph for memory\+\_\+pool.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{memory__pool_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{memory__pool_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classnntrainer_1_1MemoryPool}{nntrainer\+::\+Memory\+Pool}}
\begin{DoxyCompactList}\small\item\em Memory Pool provides a common pool for all the tensor memory. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is Memory Pool Class. 

Copyright (C) 2021 Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}}

\begin{DoxyDate}{Date}
10 August 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000212}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}
\begin{DoxyRefDesc}{Todo}
\item[\mbox{\hyperlink{todo__todo000114}{Todo}}]Support an external allocator for different backends and alignment 

Support release\+Memory(token) -\/ this need not release actual memory until deallocate 

Support maximum memory size for the memory pool as an argument 

support late memory request without optimization \end{DoxyRefDesc}
