mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Set L0::Device as specializedDevice in level zero
Related-To: NEO-3938 Change-Id: I1459610544ca4eda6da49103788faa0f2a2d22e0 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
4d045a613d
commit
3133d55b3b
@@ -527,6 +527,7 @@ Device *Device::create(DriverHandle *driverHandle, NEO::Device *neoDevice) {
|
||||
UNRECOVERABLE_IF(device == nullptr);
|
||||
|
||||
device->setDriverHandle(driverHandle);
|
||||
neoDevice->setSpecializedDevice(device);
|
||||
|
||||
device->neoDevice = neoDevice;
|
||||
neoDevice->incRefInternal();
|
||||
|
||||
Reference in New Issue
Block a user