hipDeviceSynchronize needs to sync NonBlocking streams as well

SWDEV-237167

Change-Id: Ie916d8f03ce91e8ef05a2b4edc580a7021520f6f


[ROCm/clr commit: 9611b5a8b4]
This commit is contained in:
Christophe Paquot
2020-05-26 12:54:27 -07:00
committed by Christophe Paquot
parent 80ed6bc187
commit 20dadcac1e
3 changed files with 19 additions and 4 deletions
@@ -442,6 +442,9 @@ hipError_t hipDeviceSynchronize ( void ) {
}
queue->finish();
hip::Stream::syncNonBlockingStreams();
HIP_RETURN(hipSuccess);
}