All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Proteced Methods | Protected Members | List of all members
mgpu::CudaAlloc Class Referenceabstract

Detailed description

Definition at line 21 of file mgpualloc.h.

#include <mgpualloc.h>

Inheritance diagram for mgpu::CudaAlloc:
mgpu::CudaBase mgpu::noncopyable mgpu::CudaAllocBuckets mgpu::CudaAllocSimple

Public Methods

virtual cudaError_t Malloc (size_t size, void **p)=0
virtual bool Free (void *p)=0
virtual void Clear ()=0
virtual ~CudaAlloc ()
CudaDeviceDevice ()
- Public Methods inherited from mgpu::CudaBase
 CudaBase ()
virtual ~CudaBase ()
virtual long AddRef ()
virtual void Release ()

Proteced Methods

 CudaAlloc (CudaDevice &device)

Protected Members


Constructor & Destructor Documentation

virtual mgpu::CudaAlloc::~CudaAlloc ( )

Definition at line 27 of file mgpualloc.h.

mgpu::CudaAlloc::CudaAlloc ( CudaDevice device)

Definition at line 32 of file mgpualloc.h.

Member Function Documentation

virtual void mgpu::CudaAlloc::Clear ( )
pure virtual
CudaDevice& mgpu::CudaAlloc::Device ( )

Definition at line 29 of file mgpualloc.h.

virtual bool mgpu::CudaAlloc::Free ( void *  p)
pure virtual
virtual cudaError_t mgpu::CudaAlloc::Malloc ( size_t  size,
void **  p 
pure virtual

Member Data Documentation

CudaDevice& mgpu::CudaAlloc::_device

Definition at line 33 of file mgpualloc.h.

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