SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests
Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5
这个提交包含在:
1 父节点
6c5468f802
当前提交
22946cd158
1 个文件已更改
+2
-2
@@ -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") {
|
||||
|
||||
在新工单中引用
屏蔽一个用户