SWDEV-523137 - function ptrs should match across all devices (#171)

[ROCm/clr commit: 5fe080fd67]
Tento commit je obsažen v:
Arandjelovic, Marko
2025-04-16 10:35:48 +02:00
odevzdal GitHub
rodič a9df586812
revize 963de868ae
+5
Zobrazit soubor
@@ -877,6 +877,11 @@ hipError_t ihipLaunchCooperativeKernelMultiDevice(hipLaunchParams* launchParamsL
return hipErrorInvalidDeviceFunction;
}
// functions should match across all devices
if (i > 0 && launch.func != launchParamsList[i - 1].func) {
return hipErrorInvalidValue;
}
functionLaunchParamsList[i].function = func;
functionLaunchParamsList[i].gridDimX = launch.gridDim.x;
functionLaunchParamsList[i].gridDimY = launch.gridDim.y;