cubecl_hip_sys

Function hipExtLaunchMultiKernelMultiDevice

Source
pub unsafe extern "C" fn hipExtLaunchMultiKernelMultiDevice(
    launchParamsList: *mut hipLaunchParams,
    numDevices: c_int,
    flags: c_uint,
) -> hipError_t
Expand description

@brief Launches kernels on multiple devices and guarantees all specified kernels are dispatched on respective streams before enqueuing any other work on the specified streams from any other threads

@param [in] launchParamsList List of launch parameters, one per device. @param [in] numDevices Size of the launchParamsList array. @param [in] flags Flags to control launch behavior.

@returns #hipSuccess, #hipErrorNotInitialized, #hipErrorInvalidValue