SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)
Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf
This commit is contained in:
committed by
GitHub
orang tua
f270b6c49a
melakukan
82339b5234
@@ -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