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 committed 2022-05-19 09:10:08 -04:00
1 parent c5495a181c
commit 0ecf22bb53
10 files changed
+47 -79

No files matched your search

@@ -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);