Apache Singa
A General Distributed Deep Learning Library
Public Member Functions | Protected Attributes | List of all members
singa::DeviceMemPool Class Referenceabstract

Public Member Functions

virtual void Malloc (void **ptr, const size_t size)=0
 
virtual void Free (void *ptr)=0
 
virtual std::pair< size_t, size_t > GetMemUsage ()
 Return a pair for free and total memory managed by this pool.
 

Protected Attributes

size_t usage_
 

The documentation for this class was generated from the following file: