SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)

Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf

[ROCm/hip-tests commit: 82339b5234]
Этот коммит содержится в:
ROCm CI Service Account
2023-03-01 10:14:34 +05:30
коммит произвёл GitHub
родитель ef21b502d4
Коммит 74b04d86af
+1
Просмотреть файл
@@ -233,6 +233,7 @@ void hipGraphMemcpyNodeSetParamsToSymbol_GlobalMem(bool useConstDeviceVar) {
// 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++) {