hipDeviceSynchronize needs to sync NonBlocking streams as well

SWDEV-237167

Change-Id: Ie916d8f03ce91e8ef05a2b4edc580a7021520f6f


[ROCm/hip commit: f7ed87b02b]
This commit is contained in:
Christophe Paquot authored and Christophe Paquot committed 2020-05-26 17:59:22 -04:00
1 parent 906404ef81
commit 3f6aa846a4
3 files changed
+19 -4

No files matched your search

@@ -442,6 +442,9 @@ hipError_t hipDeviceSynchronize ( void ) {
}
queue->finish();
hip::Stream::syncNonBlockingStreams();
HIP_RETURN(hipSuccess);
}