Darc Library
2012.11
|
#include <ma_cuda.h>
Classes | |
class | DeviceMemory |
class | Function |
class | HostMemory |
class | IMemory |
Public Member Functions | |
MA_CUDA () | |
virtual | ~MA_CUDA () |
DCR | init () |
DCR | reset () |
DCR | destroy () |
DCR | compileModule (const string &_sCU, const string &_sCubin) |
DCR | pushModule (const string _sCubin) |
Loads a CUBIN module from file and adds it to the module list. | |
DCR | pushFunction (UInt _mID, const string &_sName, const Vector3DUI &_gridDim, const Vector3DUI &_blockDim) |
Extracts function by name from previously added module and stores the dimension for execution. | |
DCR | pushArgument (UInt _fID, IMemory *_memExtern) |
DCR | launch (UInt _fID) |
darc::math::MA_CUDA::MA_CUDA | ( | ) | [inline] |
virtual darc::math::MA_CUDA::~MA_CUDA | ( | ) | [inline, virtual] |
DCR darc::math::MA_CUDA::compileModule | ( | const string & | _sCU, |
const string & | _sCubin | ||
) |
DCR darc::math::MA_CUDA::destroy | ( | ) | [inline] |
DCR darc::math::MA_CUDA::launch | ( | UInt | _fID | ) |
DCR darc::math::MA_CUDA::pushArgument | ( | UInt | _fID, |
IMemory * | _memExtern | ||
) |
darc::DCR darc::math::MA_CUDA::pushFunction | ( | UInt | _mID, |
const string & | _sName, | ||
const Vector3DUI & | _gridDim, | ||
const Vector3DUI & | _blockDim | ||
) |
Extracts function by name from previously added module and stores the dimension for execution.
DCR darc::math::MA_CUDA::pushModule | ( | const string | _sCubin | ) |
Loads a CUBIN module from file and adds it to the module list.
DCR darc::math::MA_CUDA::reset | ( | ) | [inline] |