SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests
Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5
[ROCm/hip-tests commit: 22946cd158]
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user