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

Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>

[ROCm/hip-tests commit: ea8a7e1e54]
This commit is contained in:
Manocha, Rahul
2025-05-29 00:50:49 -07:00
committed by GitHub
parent 6854570285
commit 98c34321f1
5 changed files with 29 additions and 26 deletions
@@ -151,7 +151,7 @@ TEST_CASE("Unit_hipLaunchCooperativeKernelMultiDevice_Negative_MultiKernelSameDe
}
HIP_CHECK_ERROR(hipLaunchCooperativeKernelMultiDevice(params_list.data(), 2, 0u),
hipErrorInvalidValue);
hipErrorInvalidDevice);
for (const auto params : params_list) {
HIP_CHECK(hipStreamDestroy(params.stream));