Classes | Namespaces | Functions
memory.h File Reference

Runtime memory management. More...

#include <cstdlib>
#include <utility>
#include <type_traits>
#include "object.h"
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  mxnet::runtime::ObjAllocatorBase< Derived >
 Base class of object allocators that implements make. Use curiously recurring template pattern. More...
class  mxnet::runtime::SimpleObjAllocator
class  mxnet::runtime::SimpleObjAllocator::Handler< T >
class  mxnet::runtime::SimpleObjAllocator::ArrayHandler< ArrayType, ElemType >


 namespace of mxnet


template<typename T , typename... Args>
ObjectPtr< T > mxnet::runtime::make_object (Args &&...args)
 Allocate an object using default allocator. More...
template<typename ArrayType , typename ElemType , typename... Args>
ObjectPtr< ArrayType > mxnet::runtime::make_inplace_array_object (size_t num_elems, Args &&...args)

Detailed Description

Runtime memory management.