cubecl_hip_sys

Function hipConfigureCall

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

ยง@} / /**


@defgroup Clang Launch API to support the triple-chevron syntax @{ This section describes the API to support the triple-chevron syntax. / /** @brief Configure 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