SWDEV-336024 - Clear device heap to 0
The heap must be cleared once per device, but ROCclr doesn't create a queue per device in HIP. Hence, the clear operation will be performed during the first queue creation. Change-Id: I52ceb06d67d11cde6d019c5ab510059f426a9bfb
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -284,7 +284,7 @@ bool DeviceQueue::create() {
|
||||
const bool defaultDeviceQueue = properties().test(CL_QUEUE_ON_DEVICE_DEFAULT);
|
||||
bool result = false;
|
||||
|
||||
virtualDevice_ = device().createVirtualDevice(this);
|
||||
virtualDevice_ = device().CreateDeviceQueue(this);
|
||||
if (virtualDevice_ != NULL) {
|
||||
result = true;
|
||||
context().addDeviceQueue(device(), this, defaultDeviceQueue);
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user