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


[ROCm/clr commit: 0fc433e076]
Αυτή η υποβολή περιλαμβάνεται σε:
German Andryeyev
2020-03-02 11:39:13 -05:00
γονέας 123f91240d
υποβολή 35dee1ac53
3 αρχεία άλλαξαν με 32 προσθήκες και 6 διαγραφές
@@ -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),