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

~45% to 50% of Performance drop on rocBLAS_int8 test

Add support for active waits without blocking the host thread.

Change-Id: Ie7bb48dcafcb4c93d448bf74749b829b626c3578
This commit is contained in:
German Andryeyev
2020-03-02 11:39:13 -05:00
parent 9106a7dff4
commit 0fc433e076
3 changed files with 32 additions and 6 deletions
+6
View File
@@ -69,6 +69,11 @@ extern void DeviceUnload();
namespace device {
extern const char* BlitSourceCode;
bool VirtualDevice::ActiveWait() const {
return device_().ActiveWait();
}
}
namespace amd {
@@ -223,6 +228,7 @@ void Device::tearDown() {
Device::Device()
: settings_(nullptr),
online_(true),
activeWait_(false),
blitProgram_(nullptr),
hwDebugMgr_(nullptr),
vaCacheAccess_(nullptr),