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
Этот коммит содержится в:
German Andryeyev
2020-03-02 11:39:13 -05:00
родитель 9106a7dff4
Коммит 0fc433e076
3 изменённых файлов: 32 добавлений и 6 удалений
+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),