Revert "SWDEV-389530 - [ABI Break]Match error with cuda"

This reverts commit c7d8557eee.

Change-Id: I07aac68c76b3bc42b595330fdbbb04646b35a814
此提交包含在:
Maneesh Gupta committed 2023-07-31 21:41:54 -04:00
1 父節點 8c89d16572
當前提交 76a4bd1d7f
1 file changed
+1 -1
+1 -1
查看文件
@@ -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 hipErrorInvalidConfiguration;
return hipErrorInvalidValue;
}
const amd::Device* device = g_devices[deviceId]->devices()[0];