SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)
Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf
[ROCm/hip-tests commit: 82339b5234]
This commit is contained in:
committed by
GitHub
parent
ef21b502d4
commit
74b04d86af
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user