From aaecd3e058ae7a61dbd6a396265dc45f6765f4af Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Mon, 27 Jan 2025 14:00:24 +0000 Subject: [PATCH] SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5 [ROCm/hip-tests commit: 22946cd158488dc68f8ae32efd4ca1426e3ab5af] --- projects/hip-tests/catch/unit/stream/hipStreamBatchMemOp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip-tests/catch/unit/stream/hipStreamBatchMemOp.cc b/projects/hip-tests/catch/unit/stream/hipStreamBatchMemOp.cc index 6d0d88c9b7..0e483cb6ec 100644 --- a/projects/hip-tests/catch/unit/stream/hipStreamBatchMemOp.cc +++ b/projects/hip-tests/catch/unit/stream/hipStreamBatchMemOp.cc @@ -71,7 +71,7 @@ TEST_CASE("Unit_hipStreamBatchMemOp_Negative_Tests") { SECTION("Stream as a nullptr") { HIP_CHECK_ERROR(hipStreamBatchMemOp(nullptr, totalOps, paramArray, 0), - hipSuccess); + hipErrorInvalidValue); } SECTION("Invalid Stream") { @@ -96,7 +96,7 @@ TEST_CASE("Unit_hipStreamBatchMemOp_Negative_Tests") { } SECTION("Total Operations Zero") { HIP_CHECK_ERROR(hipStreamBatchMemOp(stream, 0, paramArray, 0), - hipSuccess); + hipErrorInvalidValue); } SECTION("Flag value not Zero") {