SWDEV-336024 - Clear device heap to 0

This reverts commit 8624574866.

Reason for revert: Fix regressions

Change-Id: I7d883e1c3cbd27bb64b581ec800243ad7dfe24fd


[ROCm/clr commit: 07c1b9a998]
This commit is contained in:
German Andryeyev
2022-05-18 12:57:55 -04:00
parent c5495a181c
commit 0ecf22bb53
10 changed files with 47 additions and 79 deletions
@@ -284,7 +284,7 @@ bool DeviceQueue::create() {
const bool defaultDeviceQueue = properties().test(CL_QUEUE_ON_DEVICE_DEFAULT);
bool result = false;
virtualDevice_ = device().CreateDeviceQueue(this);
virtualDevice_ = device().createVirtualDevice(this);
if (virtualDevice_ != NULL) {
result = true;
context().addDeviceQueue(device(), this, defaultDeviceQueue);