SWDEV-508973 - Fix the catch tests failures due to change in kernel validation error codes to match CUDA (#198)

[ROCm/hip-tests commit: 1be3aa8283]
Este commit está contenido en:
Dittakavi, Satyanvesh
2025-05-26 18:41:58 +05:30
cometido por GitHub
padre a59ada9e03
commit f3da3d39fe
Se han modificado 3 ficheros con 22 adiciones y 23 borrados
@@ -118,17 +118,17 @@ TEST_CASE("Unit_hipHccModuleLaunchKernel_NegTst") {
SECTION("-1 to localWorkSizeX(fifth argument)") {
HIP_CHECK_ERROR(hipHccModuleLaunchKernel(kernelFunc, width, 1, 1, -1, 1, 1,
0, 0, kernelArgs, nullptr, nullptr, nullptr),
hipErrorInvalidValue);
hipErrorInvalidConfiguration);
}
SECTION("-1 to localWorkSizeY(sixth argument)") {
HIP_CHECK_ERROR(hipHccModuleLaunchKernel(kernelFunc, width, 1, 1, width,
-1, 1, 0, 0, kernelArgs, nullptr, nullptr, nullptr),
hipErrorInvalidValue);
hipErrorInvalidConfiguration);
}
SECTION("-1 to localWorkSizeZ(seventh argument)") {
HIP_CHECK_ERROR(hipHccModuleLaunchKernel(kernelFunc, width, 1, 1, width, 1,
-1, 0, 0, kernelArgs, nullptr, nullptr, nullptr),
hipErrorInvalidValue);
hipErrorInvalidConfiguration);
}
SECTION("-1 to sharedMemBytes(eighth argument)") {
HIP_CHECK_ERROR(hipHccModuleLaunchKernel(kernelFunc, width, 1, 1, width, 1,