SWDEV-460098 - Fix error codes for hipLaunchKernel APIs to match cuda (#206)

Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>
This commit is contained in:
Manocha, Rahul
2025-05-29 00:50:49 -07:00
committed by GitHub
parent 355d97fec4
commit ea8a7e1e54
5 changed files with 29 additions and 26 deletions
@@ -205,7 +205,7 @@ TEST_CASE("Unit_hipModuleLaunchCooperativeKernel_Negative_Parameters") {
HIP_CHECK(hipStreamCreate(&stream));
HIP_CHECK(hipStreamDestroy(stream));
HIP_CHECK_ERROR(hipModuleLaunchCooperativeKernel(f, 1, 1, 1, 1, 1, 1, 0, stream, nullptr),
hipErrorInvalidValue);
hipErrorContextIsDestroyed);
}
#endif
}