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 ha cambiato i file con 72 aggiunte e 25 eliminazioni
+2
Vedi File
@@ -35,6 +35,8 @@ amd::HostQueue* Device::defaultStream() {
return nullptr;
}
}
// Wait for all active streams before executing commands on the default
iHipWaitActiveStreams(defaultStream_);
return defaultStream_;
}