Skip to main content

CUlaunchConfig

Type Alias CUlaunchConfig 

Source
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: 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

§sharedMemBytes: u32

Dynamic shared-memory size per thread block in bytes

§hStream: *mut CUstream_st

Stream identifier

§attrs: *mut CUlaunchAttribute_st

List of attributes; nullable if ::CUlaunchConfig::numAttrs == 0

§numAttrs: u32

Number of attributes populated in ::CUlaunchConfig::attrs