Type Alias CUDA_KERNEL_NODE_PARAMS

Source
pub type CUDA_KERNEL_NODE_PARAMS = CUDA_KERNEL_NODE_PARAMS_v2;
Expand description

GPU kernel node parameters

Aliased Type§

#[repr(C)]
pub struct CUDA_KERNEL_NODE_PARAMS { pub func: *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 kernelParams: *mut *mut c_void, pub extra: *mut *mut c_void, pub kern: *mut CUkern_st, pub ctx: *mut CUctx_st, }

Fields§

§func: *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

§kernelParams: *mut *mut c_void

< Array of pointers to kernel parameters

§extra: *mut *mut c_void

< Extra options

§kern: *mut CUkern_st

< Kernel to launch, will only be referenced if func is NULL

§ctx: *mut CUctx_st

< Context for the kernel task to run in. The value NULL will indicate the current context should be used by the api. This field is ignored if func is set.