From 9def133275376181aca2aae13fd458fda2461907 Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras <38722728+iassiour@users.noreply.github.com> Date: Fri, 19 Sep 2025 15:10:33 +0100 Subject: [PATCH] SWDEV-555798 - Added sync after graphLaunch for Unit_hipGetProcAddress_GraphAPIs tests (#1052) --- .../catch/unit/graph/hipGetProcAddressGraphApis.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/projects/hip-tests/catch/unit/graph/hipGetProcAddressGraphApis.cc b/projects/hip-tests/catch/unit/graph/hipGetProcAddressGraphApis.cc index 6dc5898ed9..331d9a810e 100644 --- a/projects/hip-tests/catch/unit/graph/hipGetProcAddressGraphApis.cc +++ b/projects/hip-tests/catch/unit/graph/hipGetProcAddressGraphApis.cc @@ -233,9 +233,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_AddMemcpy1DKernelNodes") { hipGraphExec_t graphExec; HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateHostArray(hostMem, N, 101) == true); @@ -536,9 +534,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_SetGetParamsMemsetMemcpy") { hipGraphExec_t graphExec; HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateArrayT(hostMemDst1, N, 100) == true); REQUIRE(validateArrayT(hostMemDst2, N, 120) == true); @@ -761,9 +757,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_KernelNodeSetGetAttribute") { hipGraphExec_t graphExec; HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif HIP_CHECK(hipGraphExecDestroy(graphExec)); HIP_CHECK(hipGraphDestroy(graph)); @@ -1063,9 +1057,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_Memcpy1DSetParams") { hipGraphExec_t graphExec; HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateDeviceArray(devMem_1, N, 10) == true); REQUIRE(validateDeviceArray(devMem_2, N, 20) == true); @@ -1103,9 +1095,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_Memcpy1DSetParams") { Nbytes, hipMemcpyHostToDevice)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateDeviceArray(devMem_1, N, 10) == true); REQUIRE(validateDeviceArray(devMem_2, N, 20) == true); @@ -1257,9 +1247,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_MemAllocAndFree") { HIP_CHECK(hipGraphInstantiate(&graphExec, graph, nullptr, nullptr, 0)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateHostArray(hostMem, N, 20) == true); @@ -1384,9 +1372,7 @@ TEST_CASE("Unit_hipGetProcAddress_GraphAPIs_ExecMemsetMemcpySetParams") { HIP_CHECK(dyn_hipGraphExecMemcpyNodeSetParams_ptr(graphExec, memcpyNode, &newMemcpyParms)); HIP_CHECK(hipGraphLaunch(graphExec, 0)); -#ifdef _WIN32 HIP_CHECK(hipStreamSynchronize(0)); -#endif REQUIRE(validateArrayT(hostMemDst1, N, 100) == true); REQUIRE(validateArrayT(hostMemDst2, N, 120) == true);