Type Alias kn_cuda_sys::bindings::CUlaunchConfig
source · pub type CUlaunchConfig = CUlaunchConfig_st;Aliased Type§
struct CUlaunchConfig {
pub gridDimX: u32,
pub gridDimY: u32,
pub gridDimZ: u32,
pub blockDimX: u32,
pub blockDimY: u32,
pub blockDimZ: u32,
pub sharedMemBytes: u32,
pub hStream: *mut CUstream_st,
pub attrs: *mut CUlaunchAttribute_st,
pub numAttrs: u32,
}Fields§
§gridDimX: u32< Width of grid in blocks
gridDimY: u32< Height of grid in blocks
gridDimZ: u32< Depth of grid in blocks
blockDimX: u32< X dimension of each thread block
blockDimY: u32< Y dimension of each thread block
blockDimZ: u32< Z dimension of each thread block
< Dynamic shared-memory size per thread block in bytes
hStream: *mut CUstream_st< Stream identifier
attrs: *mut CUlaunchAttribute_st< nullable if numAttrs == 0
numAttrs: u32< number of attributes populated in attrs