SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests

Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5


[ROCm/hip-tests commit: 22946cd158]
Cette révision appartient à :
Ioannis Assiouras
2025-01-27 14:00:24 +00:00
Parent 08e2b6a15d
révision aaecd3e058
+2 -2
Voir le fichier
@@ -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") {