Type Alias CUDA_LAUNCH_PARAMS

Source
pub type CUDA_LAUNCH_PARAMS = CUDA_LAUNCH_PARAMS_v1;
Expand description

Kernel launch parameters

Aliased Type§

#[repr(C)]
pub struct CUDA_LAUNCH_PARAMS { pub function: *mut CUfunc_st, 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 kernelParams: *mut *mut c_void, }

Fields§

§function: *mut CUfunc_st

< Kernel to launch

§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

§kernelParams: *mut *mut c_void

< Array of pointers to kernel parameters