SWDEV-396617 - updating test (#280)

Change-Id: Ibfe2a57cc04e100a75d9754d96ceb63c52c90417
This commit is contained in:
ROCm CI Service Account
2023-06-22 05:10:29 +05:30
committed by GitHub
orang tua 5f4af7cde4
melakukan 8ac31a8c97
@@ -189,8 +189,8 @@ TEST_CASE("Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Negative_Parameters")
HIP_CHECK(hipSetDevice(1));
LinearAllocGuard<int> new_var(LinearAllocs::hipMalloc, sizeof(int));
HIP_CHECK_ERROR(hipGraphExecMemcpyNodeSetParamsFromSymbol(
graph_exec, node, new_var.ptr(), SYMBOL(int_device_var),
sizeof(*new_var.ptr()), 0, static_cast<hipMemcpyKind>(-1)),
graph_exec, node, new_var.ptr(), SYMBOL(int_device_var),
sizeof(*new_var.ptr()), 0, hipMemcpyDeviceToDevice),
hipErrorInvalidValue);
}
}