\hypertarget{optimized__v3__planner_8cpp}{}\doxysection{tensor/optimized\+\_\+v3\+\_\+planner.cpp File Reference}
\label{optimized__v3__planner_8cpp}\index{tensor/optimized\_v3\_planner.cpp@{tensor/optimized\_v3\_planner.cpp}}


This is Optimized V3 Memory Planner.  


{\ttfamily \#include $<$algorithm$>$}\newline
{\ttfamily \#include $<$memory$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+error.\+h$>$}\newline
{\ttfamily \#include $<$stdexcept$>$}\newline
{\ttfamily \#include $<$vector$>$}\newline
{\ttfamily \#include $<$optimized\+\_\+v3\+\_\+planner.\+h$>$}\newline
Include dependency graph for optimized\+\_\+v3\+\_\+planner.\+cpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{optimized__v3__planner_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structnntrainer_1_1MemoryRequest}{nntrainer\+::\+Memory\+Request}}
\begin{DoxyCompactList}\small\item\em Memory Request data structure clubbing all the requests. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static size\+\_\+t \mbox{\hyperlink{namespacenntrainer_a1b34f5386daad474be8c71c3314a8e3d}{nntrainer\+::compute\+Space}} (unsigned int exec\+\_\+order, std\+::vector$<$ Memory\+Request $\ast$ $>$ \&sorted\+\_\+req, std\+::vector$<$ std\+::pair$<$ size\+\_\+t, size\+\_\+t $>$$>$ \&vacant)
\item 
static void \mbox{\hyperlink{namespacenntrainer_a99d0a8e20307190fb74ae352209f89e7}{nntrainer\+::validate\+Interval\+Overlap}} (const std\+::vector$<$ std\+::pair$<$ unsigned int, unsigned int $>$$>$ \&memory\+\_\+validity, const std\+::vector$<$ size\+\_\+t $>$ \&memory\+\_\+size, const std\+::vector$<$ size\+\_\+t $>$ \&memory\+\_\+offset, size\+\_\+t memory\+\_\+req)
\begin{DoxyCompactList}\small\item\em check if validate interval is overlapping in a very naive way. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is Optimized V3 Memory Planner. 

Copyright (C) 2023 Jijoong Moon \href{mailto:jijoong.moon@samsung.com}{\texttt{ jijoong.\+moon@samsung.\+com}}

\begin{DoxyDate}{Date}
2 January 2023 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jijoong Moon \href{mailto:jijoong.moon@samsung.com}{\texttt{ jijoong.\+moon@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000217}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}
