cubecl_hip_sys

Function __hipPushCallConfiguration

Source
pub unsafe extern "C" fn __hipPushCallConfiguration(
    gridDim: dim3,
    blockDim: dim3,
    sharedMem: usize,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Push configuration of a kernel launch.

@param [in] gridDim grid dimension specified as multiple of blockDim. @param [in] blockDim block dimensions specified in work-items @param [in] sharedMem Amount of dynamic shared memory to allocate for this kernel. The HIP-Clang compiler provides support for extern shared declarations. @param [in] stream Stream where the kernel should be dispatched. May be 0, in which case the default stream is used with associated synchronization rules.

Please note, HIP does not support kernel launch with total work items defined in dimension with size gridDim x blockDim >= 2^32.

@returns #hipSuccess, #hipErrorNotInitialized, #hipErrorInvalidValue