Darc Library
2012.11
|
#include <ma_cuda.h>
Public Member Functions | |
IMemory () | |
virtual | ~IMemory () |
virtual UInt | init (UInt _size) |
virtual UInt | destroy () |
virtual CUdeviceptr * | getCUDAPointerAddress ()=0 |
UInt | getSize () const |
Protected Attributes | |
UInt | m_size |
darc::math::MA_CUDA::IMemory::IMemory | ( | ) | [inline] |
virtual darc::math::MA_CUDA::IMemory::~IMemory | ( | ) | [inline, virtual] |
virtual UInt darc::math::MA_CUDA::IMemory::destroy | ( | ) | [inline, virtual] |
Reimplemented in darc::math::MA_CUDA::HostMemory, and darc::math::MA_CUDA::DeviceMemory.
virtual CUdeviceptr* darc::math::MA_CUDA::IMemory::getCUDAPointerAddress | ( | ) | [pure virtual] |
Implemented in darc::math::MA_CUDA::DeviceMemory.
UInt darc::math::MA_CUDA::IMemory::getSize | ( | ) | const [inline] |
virtual UInt darc::math::MA_CUDA::IMemory::init | ( | UInt | _size | ) | [inline, virtual] |
Reimplemented in darc::math::MA_CUDA::HostMemory, and darc::math::MA_CUDA::DeviceMemory.
UInt darc::math::MA_CUDA::IMemory::m_size [protected] |