SWDEV-389530 - [ABI Break]Match error with cuda
- match error for invalid params
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I2faf1191f665d8bd06d6ba315f440e87b1a5b8ab
[ROCm/clr commit: c7d8557eee]
This commit is contained in:
committed by
Shadi Dashmiz
orang tua
5a35c345d1
melakukan
2b78a9c443
@@ -220,7 +220,7 @@ hipError_t ihipLaunchKernel_validate(hipFunction_t f, uint32_t globalWorkSizeX,
|
||||
}
|
||||
if (globalWorkSizeX == 0 || globalWorkSizeY == 0 || globalWorkSizeZ == 0 || blockDimX == 0 ||
|
||||
blockDimY == 0 || blockDimZ == 0) {
|
||||
return hipErrorInvalidValue;
|
||||
return hipErrorInvalidConfiguration;
|
||||
}
|
||||
|
||||
const amd::Device* device = g_devices[deviceId]->devices()[0];
|
||||
|
||||
Reference in New Issue
Block a user