mxnet
|
Additional memory hanlding utilities. More...
#include <vector>
#include <memory>
#include <utility>
#include "./base.h"
#include "./logging.h"
#include "./thread_local.h"
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 | |
Additional memory hanlding utilities.
Copyright (c) 2015 by Contributors