SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests

Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5


[ROCm/hip-tests commit: 22946cd158]
This commit is contained in:
Ioannis Assiouras
2025-01-27 14:00:24 +00:00
parent 08e2b6a15d
commit aaecd3e058
@@ -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") {