mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Create Sysman Frequency API handles based on available subdevice/device
Change-Id: I2049515150004551c3f61647d20f1df7b375f587 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
d0a6b8aece
commit
e904a1f0b4
@@ -621,7 +621,7 @@ Device *Device::create(DriverHandle *driverHandle, NEO::Device *neoDevice, uint3
|
||||
device->getSourceLevelDebugger()
|
||||
->notifyNewDevice(osInterface ? osInterface->getDeviceHandle() : 0);
|
||||
}
|
||||
if (static_cast<DriverHandleImp *>(driverHandle)->enableSysman) {
|
||||
if (static_cast<DriverHandleImp *>(driverHandle)->enableSysman && !device->isSubdevice) {
|
||||
device->setSysmanHandle(L0::SysmanDeviceHandleContext::init(device->toHandle()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user