SWDEV-336024 - Clear device heap to 0
This reverts commit8624574866. Reason for revert: Fix regressions Change-Id: I7d883e1c3cbd27bb64b581ec800243ad7dfe24fd [ROCm/clr commit:07c1b9a998]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user