SWDEV-523137 - function ptrs should match across all devices (#171)
This commit is contained in:
committato da
GitHub
parent
3fd7650fe3
commit
5fe080fd67
@@ -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;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user