#include <CudaModule.hpp>
|
| | CudaModule (const void *cubin) |
| |
| | CudaModule (const String &cubinFile) |
| |
| | ~CudaModule (void) |
| |
| CUmodule | getHandle (void) |
| |
| bool | hasKernel (const String &name) |
| |
| CudaKernel | getKernel (const String &name) |
| |
| int | setParami (CUfunction kernel, int offset, S32 value) |
| |
| int | setParamf (CUfunction kernel, int offset, F32 value) |
| |
| int | setParamPtr (CUfunction kernel, int offset, CUdeviceptr value) |
| |
| Buffer & | getGlobal (const String &name) |
| |
| void | updateGlobals (bool async=false, CUstream stream=NULL) |
| |
| CUtexref | getTexRef (const String &name) |
| |
| void | setTexRefMode (CUtexref texRef, bool wrap=true, bool bilinear=true, bool normalizedCoords=true, bool readAsInt=false) |
| |
| void | setTexRef (const String &name, Buffer &buf, CUarray_format format, int numComponents) |
| |
| void | setTexRef (const String &name, CUdeviceptr ptr, S64 size, CUarray_format format, int numComponents) |
| |
| void | setTexRef (const String &name, CUarray cudaArray, bool wrap=true, bool bilinear=true, bool normalizedCoords=true, bool readAsInt=false) |
| |
| void | setTexRef (const String &name, const Image &image, bool wrap=true, bool bilinear=true, bool normalizedCoords=true, bool readAsInt=false) |
| |
| void | unsetTexRef (const String &name) |
| |
| void | updateTexRefs (CUfunction kernel) |
| |
| CUsurfref | getSurfRef (const String &name) |
| |
| void | setSurfRef (const String &name, CUarray cudaArray) |
| |
Definition at line 36 of file CudaModule.hpp.
| CudaModule::CudaModule |
( |
const void * |
cubin | ) |
|
| CudaModule::CudaModule |
( |
const String & |
cubinFile | ) |
|
| CudaModule::~CudaModule |
( |
void |
| ) |
|
| void CudaModule::checkError |
( |
const char * |
funcName, |
|
|
CUresult |
res |
|
) |
| |
|
static |
| const char * CudaModule::decodeError |
( |
CUresult |
res | ) |
|
|
static |
| int CudaModule::getComputeCapability |
( |
void |
| ) |
|
|
static |
| int CudaModule::getDeviceAttribute |
( |
CUdevice_attribute |
attrib | ) |
|
|
static |
| static CUdevice FW::CudaModule::getDeviceHandle |
( |
void |
| ) |
|
|
inlinestatic |
| int CudaModule::getDriverVersion |
( |
void |
| ) |
|
|
static |
| static CUevent FW::CudaModule::getEndEvent |
( |
void |
| ) |
|
|
inlinestatic |
| CUmodule FW::CudaModule::getHandle |
( |
void |
| ) |
|
|
inline |
| S64 CudaModule::getMemoryUsed |
( |
void |
| ) |
|
|
static |
| static CUevent FW::CudaModule::getStartEvent |
( |
void |
| ) |
|
|
inlinestatic |
| CUtexref CudaModule::getTexRef |
( |
const String & |
name | ) |
|
| bool CudaModule::hasKernel |
( |
const String & |
name | ) |
|
| static bool FW::CudaModule::isAvailable |
( |
void |
| ) |
|
|
inlinestatic |
| int CudaModule::setParamf |
( |
CUfunction |
kernel, |
|
|
int |
offset, |
|
|
F32 |
value |
|
) |
| |
| int CudaModule::setParami |
( |
CUfunction |
kernel, |
|
|
int |
offset, |
|
|
S32 |
value |
|
) |
| |
| int CudaModule::setParamPtr |
( |
CUfunction |
kernel, |
|
|
int |
offset, |
|
|
CUdeviceptr |
value |
|
) |
| |
| void CudaModule::setSurfRef |
( |
const String & |
name, |
|
|
CUarray |
cudaArray |
|
) |
| |
| void CudaModule::setTexRef |
( |
const String & |
name, |
|
|
Buffer & |
buf, |
|
|
CUarray_format |
format, |
|
|
int |
numComponents |
|
) |
| |
| void CudaModule::setTexRef |
( |
const String & |
name, |
|
|
CUdeviceptr |
ptr, |
|
|
S64 |
size, |
|
|
CUarray_format |
format, |
|
|
int |
numComponents |
|
) |
| |
| void CudaModule::setTexRef |
( |
const String & |
name, |
|
|
CUarray |
cudaArray, |
|
|
bool |
wrap = true, |
|
|
bool |
bilinear = true, |
|
|
bool |
normalizedCoords = true, |
|
|
bool |
readAsInt = false |
|
) |
| |
| void CudaModule::setTexRef |
( |
const String & |
name, |
|
|
const Image & |
image, |
|
|
bool |
wrap = true, |
|
|
bool |
bilinear = true, |
|
|
bool |
normalizedCoords = true, |
|
|
bool |
readAsInt = false |
|
) |
| |
| void CudaModule::setTexRefMode |
( |
CUtexref |
texRef, |
|
|
bool |
wrap = true, |
|
|
bool |
bilinear = true, |
|
|
bool |
normalizedCoords = true, |
|
|
bool |
readAsInt = false |
|
) |
| |
| void CudaModule::sync |
( |
bool |
yield = true | ) |
|
|
static |
| void CudaModule::unsetTexRef |
( |
const String & |
name | ) |
|
| void CudaModule::updateGlobals |
( |
bool |
async = false, |
|
|
CUstream |
stream = NULL |
|
) |
| |
| void CudaModule::updateTexRefs |
( |
CUfunction |
kernel | ) |
|
The documentation for this class was generated from the following files: