SWDEV-389530 - [ABI Break]Match error with cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com> Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9
This commit is contained in:
@@ -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