Launcher

cuda kernel function launcher with runtime numbers of blocks/threads

Members

Functions

kernelParams
auto kernelParams(T args)

create kernel function as voidArgs.length

launch
void launch(uint[3] grid, uint[3] block, uint sharedMemBytes, CUstream stream)

detailed launch function

launch
void launch(uint n, uint sharedMemBytes, CUstream stream)

convinient launch function

Manifest constants

CUDA_NUM_THREADS
enum CUDA_NUM_THREADS;
Undocumented in source.

Static functions

getBlocks
getBlocks(uint n)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

args
Args args;
Undocumented in source.
cuFunction
CUfunction cuFunction;
Undocumented in source.

Meta