#include <cuda_mem_pool.hh>
Public Member Functions | |
virtual bool | init (unsigned long maxsize) |
virtual void | destroy () |
class cuda_mem_pool
memory pool for device memory.
void cuda_mem_pool::destroy | ( | ) | [virtual] |
bool cuda_mem_pool::init | ( | unsigned long | maxsize | ) | [virtual] |
Allocate the pool buffer in the device memory.
maxsize | Total amount of buffer for the pool. |
Implements mem_pool.