All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
mgpu::CudaAllocSimple Class Reference

Detailed description

Definition at line 37 of file mgpualloc.h.

#include <mgpualloc.h>

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

Public Methods

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

Additional Inherited Members

- Proteced Methods inherited from mgpu::CudaAlloc
 CudaAlloc (CudaDevice &device)
- Protected Members inherited from mgpu::CudaAlloc

Constructor & Destructor Documentation

mgpu::CudaAllocSimple::CudaAllocSimple ( CudaDevice device)

Definition at line 39 of file mgpualloc.h.

virtual mgpu::CudaAllocSimple::~CudaAllocSimple ( )

Definition at line 44 of file mgpualloc.h.

Member Function Documentation

virtual void mgpu::CudaAllocSimple::Clear ( )

Implements mgpu::CudaAlloc.

Definition at line 43 of file mgpualloc.h.

virtual bool mgpu::CudaAllocSimple::Free ( void *  p)

Implements mgpu::CudaAlloc.

virtual cudaError_t mgpu::CudaAllocSimple::Malloc ( size_t  size,
void **  p 

Implements mgpu::CudaAlloc.

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