2
0

SWDEV-541623 - cuda parity hipLaunchCooperativeKernelMultiDevice and hipExtLaunchMultiKernelMultiDevice (#415)

* SWDEV-541623 - cuda parity hipLaunchCooperativeKernelMultiDevice and hipExtLaunchMultiKernelMultiDevice

numDevices does not match the system devices

* SWDEV-541623 -  enable Unit_hipExtLaunchMultiKernelMultiDevice_Negative_MultiKernelSameDevice

---------

Co-authored-by: agunashe <ajay.gunashekar@amd.com>
Este cometimento está contido em:
systems-assistant[bot]
2025-09-17 08:33:59 -07:00
cometido por GitHub
ascendente e655bb37a7
cometimento 0018a4e70c
2 ficheiros modificados com 4 adições e 2 eliminações
+4 -1
Ver ficheiro
@@ -912,9 +912,12 @@ hipError_t hipLaunchCooperativeKernel_spt(const void* f, dim3 gridDim, dim3 bloc
hipError_t ihipLaunchCooperativeKernelMultiDevice(hipLaunchParams* launchParamsList, int numDevices,
unsigned int flags, uint32_t extFlags) {
if (launchParamsList == nullptr || numDevices > g_devices.size()) {
if (launchParamsList == nullptr) {
return hipErrorInvalidValue;
}
if (numDevices > g_devices.size()) {
return hipErrorInvalidDevice;
}
std::vector<hipFunctionLaunchParams> functionLaunchParamsList(numDevices);
// Convert hipLaunchParams to hipFunctionLaunchParams
@@ -100,7 +100,6 @@
"SWDEV-442583: Below tests failing in stress test on 12/01/24 ===",
"Unit_hipLaunchCooperativeKernelMultiDevice_Negative_Parameters",
"Unit_hipLaunchCooperativeKernelMultiDevice_Negative_MultiKernelSameDevice",
"Unit_hipExtLaunchMultiKernelMultiDevice_Negative_MultiKernelSameDevice",
"=== Below tests are failing PSDB ===",
"Unit_hipLaunchCooperativeKernel_Negative_Parameters",
"Unit_hipLaunchKernel_Negative_Parameters",