cubecl_hip_sys

Function hipModuleLaunchCooperativeKernelMultiDevice

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

@brief Launches kernels on multiple devices where thread blocks can cooperate and synchronize as they execute.

@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, #hipErrorDeinitialized, #hipErrorNotInitialized, #hipErrorInvalidContext, #hipErrorInvalidHandle, #hipErrorInvalidImage, #hipErrorInvalidValue, #hipErrorInvalidConfiguration, #hipErrorInvalidResourceHandle, #hipErrorLaunchFailure, #hipErrorLaunchOutOfResources, #hipErrorLaunchTimeOut, #hipErrorCooperativeLaunchTooLarge, #hipErrorSharedObjectInitFailed