6.11. CUDA_LAUNCH_PARAMS Struct Reference

[Data types used by CUDA driver]

Kernel launch parameters

Public Variables

unsigned int  blockDimX
unsigned int  blockDimY
unsigned int  blockDimZ
CUfunction function
unsigned int  gridDimX
unsigned int  gridDimY
unsigned int  gridDimZ
CUstream hStream
kernelParams
unsigned int  sharedMemBytes

Variables

unsigned int CUDA_LAUNCH_PARAMS::blockDimX [inherited]

X dimension of each thread block

unsigned int CUDA_LAUNCH_PARAMS::blockDimY [inherited]

Y dimension of each thread block

unsigned int CUDA_LAUNCH_PARAMS::blockDimZ [inherited]

Z dimension of each thread block

CUfunctionCUDA_LAUNCH_PARAMS::function [inherited]

Kernel to launch

unsigned int CUDA_LAUNCH_PARAMS::gridDimX [inherited]

Width of grid in blocks

unsigned int CUDA_LAUNCH_PARAMS::gridDimY [inherited]

Height of grid in blocks

unsigned int CUDA_LAUNCH_PARAMS::gridDimZ [inherited]

Depth of grid in blocks

CUstreamCUDA_LAUNCH_PARAMS::hStream [inherited]

Stream identifier

* CUDA_LAUNCH_PARAMS::kernelParams [inherited]

Array of pointers to kernel parameters

unsigned int CUDA_LAUNCH_PARAMS::sharedMemBytes [inherited]

Dynamic shared-memory size per thread block in bytes