Go to the source code of this file.
Functions |
int BT_GPU_PREF() | iDivUp (int a, int b) |
void BT_GPU_PREF() | computeGridSize (int n, int blockSize, int &numBlocks, int &numThreads) |
void BT_GPU_PREF() | allocateArray (void **devPtr, unsigned int size) |
void BT_GPU_PREF() | freeArray (void *devPtr) |
void BT_GPU_PREF() | copyArrayFromDevice (void *host, const void *device, unsigned int size) |
void BT_GPU_PREF() | copyArrayToDevice (void *device, const void *host, unsigned int size) |
void | BT_GPU_PREF (registerGLBufferObject(unsigned int vbo)) |
void * | BT_GPU_PREF (mapGLBufferObject(unsigned int vbo)) |
void | BT_GPU_PREF (unmapGLBufferObject(unsigned int vbo)) |
Function Documentation
void BT_GPU_PREF() allocateArray |
( |
void ** |
devPtr, |
|
|
unsigned int |
size | |
|
) |
| | |
void* BT_GPU_PREF |
( |
mapGLBufferObject(unsigned int vbo) |
|
) |
|
void BT_GPU_PREF |
( |
unmapGLBufferObject(unsigned int vbo) |
|
) |
|
void BT_GPU_PREF |
( |
registerGLBufferObject(unsigned int vbo) |
|
) |
|
void BT_GPU_PREF() computeGridSize |
( |
int |
n, |
|
|
int |
blockSize, |
|
|
int & |
numBlocks, |
|
|
int & |
numThreads | |
|
) |
| | |
void BT_GPU_PREF() copyArrayFromDevice |
( |
void * |
host, |
|
|
const void * |
device, |
|
|
unsigned int |
size | |
|
) |
| | |
void BT_GPU_PREF() copyArrayToDevice |
( |
void * |
device, |
|
|
const void * |
host, |
|
|
unsigned int |
size | |
|
) |
| | |
void BT_GPU_PREF() freeArray |
( |
void * |
devPtr |
) |
|
int BT_GPU_PREF() iDivUp |
( |
int |
a, |
|
|
int |
b | |
|
) |
| | |