SWDEV-336024 - Clear device heap to 0

This reverts commit 04bfd93569.

Reason for revert: Fix regressions

Change-Id: I7d883e1c3cbd27bb64b581ec800243ad7dfe24fd
This commit is contained in:
German Andryeyev
2022-05-18 12:57:55 -04:00
parent c7000b4f6f
commit 07c1b9a998
10 changed files with 47 additions and 79 deletions
+1 -1
View File
@@ -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);