pub type CUlaunchConfig = CUlaunchConfig_st;Expand description
CUDA extensible launch configuration.
Aliased Type§
#[repr(C)]pub 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: u32Width of grid in blocks
gridDimY: u32Height of grid in blocks
gridDimZ: u32Depth of grid in blocks
blockDimX: u32X dimension of each thread block
blockDimY: u32Y dimension of each thread block
blockDimZ: u32Z dimension of each thread block
Dynamic shared-memory size per thread block in bytes
hStream: *mut CUstream_stStream identifier
attrs: *mut CUlaunchAttribute_stList of attributes; nullable if ::CUlaunchConfig::numAttrs == 0
numAttrs: u32Number of attributes populated in ::CUlaunchConfig::attrs