Darc Library
2012.11
|
#include <ma_cuda.h>
Public Member Functions | |
virtual | ~Function () |
DCR | destroy () |
UInt | init (CUmodule &_module, const string &_sName, const Vector3DUI &_gridDim, const Vector3DUI &_blockDim) |
Extracts a function from module by its name and stores dimensions for execution. | |
DCR | pushArgument (IMemory *_memory) |
Adds a function argument to the argument list. This must match the function definition. | |
DCR | launch () |
virtual darc::math::MA_CUDA::Function::~Function | ( | ) | [inline, virtual] |
DCR darc::math::MA_CUDA::Function::destroy | ( | ) | [inline] |
darc::UInt darc::math::MA_CUDA::Function::init | ( | CUmodule & | _module, |
const string & | _sName, | ||
const Vector3DUI & | _gridDim, | ||
const Vector3DUI & | _blockDim | ||
) |
Extracts a function from module by its name and stores dimensions for execution.
DCR darc::math::MA_CUDA::Function::pushArgument | ( | IMemory * | _memory | ) |
Adds a function argument to the argument list. This must match the function definition.