SWDEV-231579 - [hipclang-vdi-rocm][perf]

- HIPPerfDispatchSpeed disparity between HIP/HCC vs HIP/VDI
Insert a wait marker command in the default stream only when
HIP has pending operations on other async streams

Change-Id: I68660a54867fab7571ba57eb1df5feb1bca1c61a
This commit is contained in:
German Andryeyev
2020-04-17 10:42:46 -04:00
parent 2eb8cc8e90
commit db70fc66b7
7 changed files with 72 additions and 25 deletions
-2
View File
@@ -432,8 +432,6 @@ hipError_t hipDeviceSetSharedMemConfig ( hipSharedMemConfig config ) {
hipError_t hipDeviceSynchronize ( void ) {
HIP_INIT_API(hipDeviceSynchronize);
hip::syncStreams();
amd::HostQueue* queue = hip::getNullStream();
if (!queue) {