SWDEV-337331 - Windows initial graph tests (#2739)

Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01


[ROCm/hip commit: ac1d594ef1]
This commit is contained in:
ROCm CI Service Account
2022-06-15 22:08:21 +05:30
committed by GitHub
parent 77615d54b2
commit 403a40b6c9
5 changed files with 6 additions and 33 deletions
@@ -273,6 +273,7 @@ void hipGraphAddMemcpyNodeFromSymbol_GlobalMemory(bool device_ctxchg = false,
// Instantiate and launch the graph
HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0));
HIP_CHECK(hipGraphLaunch(graphExec, 0));
HIP_CHECK(hipStreamSynchronize(0));
// Validating the result
for (int i = 0; i < SIZE; i++) {
@@ -419,6 +420,7 @@ TEST_CASE("Unit_hipGraphAddMemcpyNodeFromSymbol_GlobalMemoryWithKernel") {
// Instantiate and launch the graph
HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0));
HIP_CHECK(hipGraphLaunch(graphExec, 0));
HIP_CHECK(hipStreamSynchronize(0));
// Validating the result
for (int i = 0; i < SIZE; i++) {