cubecl_hip_sys

Type Alias hipFunctionLaunchParams

Source
pub type hipFunctionLaunchParams = hipFunctionLaunchParams_t;
Expand description

struct hipFunctionLaunchParams_t

Aliased Type§

struct hipFunctionLaunchParams {
    pub function: *mut ihipModuleSymbol_t,
    pub gridDimX: u32,
    pub gridDimY: u32,
    pub gridDimZ: u32,
    pub blockDimX: u32,
    pub blockDimY: u32,
    pub blockDimZ: u32,
    pub sharedMemBytes: u32,
    pub hStream: *mut ihipStream_t,
    pub kernelParams: *mut *mut c_void,
}

Fields§

§function: *mut ihipModuleSymbol_t

< Kernel to launch

§gridDimX: u32

< Width(X) of grid in blocks

§gridDimY: u32

< Height(Y) of grid in blocks

§gridDimZ: u32

< Depth(Z) 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

< Shared memory

§hStream: *mut ihipStream_t

< Stream identifier

§kernelParams: *mut *mut c_void

< Kernel parameters