Skip to content

Commit 2d83aba

Browse files
shadidashmizrakesroy
authored andcommitted
SWDEV-389530 - [ABI Break]Match error with cuda
Signed-off-by: sdashmiz <[email protected]> Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9
1 parent d78aef7 commit 2d83aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hipamd/src/hip_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ hipError_t ihipLaunchKernel_validate(hipFunction_t f, uint32_t globalWorkSizeX,
220220
}
221221
if (globalWorkSizeX == 0 || globalWorkSizeY == 0 || globalWorkSizeZ == 0 || blockDimX == 0 ||
222222
blockDimY == 0 || blockDimZ == 0) {
223-
return hipErrorInvalidValue;
223+
return hipErrorInvalidConfiguration;
224224
}
225225

226226
const amd::Device* device = g_devices[deviceId]->devices()[0];

0 commit comments

Comments
 (0)