mxnet
Classes | Namespaces
memory.h File Reference

Additional memory hanlding utilities. More...

#include <vector>
#include <memory>
#include <utility>
#include "./base.h"
#include "./logging.h"
#include "./thread_local.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.

Classes

class  dmlc::MemoryPool< size, align >
 A memory pool that allocate memory of fixed size and alignment. More...
 
class  dmlc::ThreadlocalAllocator< T >
 A thread local allocator that get memory from a threadlocal memory pool. This is suitable to allocate objects that do not cross thread. More...
 
struct  dmlc::ThreadlocalSharedPtr< T >
 a shared pointer like type that allocate object from a threadlocal object pool. This object is not thread-safe but can be faster than shared_ptr in certain usecases. More...
 

Namespaces

 dmlc
 namespace for dmlc
 

Detailed Description

Additional memory hanlding utilities.

Copyright (c) 2015 by Contributors