mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
enable instrumentation when available
use of instrumentation will be enabled: - runtime capability set to True - static library available during compilation - device reports capability Change-Id: I43286ebf1135f3a2ec6af924e27ece03042ac0ca
This commit is contained in:
committed by
sys_ocldev
parent
ed5e2c2da8
commit
63732513bb
@@ -84,7 +84,7 @@ bool DeviceFactory::getDevices(HardwareInfo **pHWInfos, size_t &numDevices) {
|
||||
static_cast<bool>(adapterInfo->SkuTable.FtrGpGpuMidBatchPreempt));
|
||||
|
||||
// Instrumentation
|
||||
tempHwInfos[devNum].capabilityTable.instrumentationEnabled = false; // Intentionally disable, after enabling use adapterInfo->Caps.InstrumentationIsEnabled
|
||||
tempHwInfos[devNum].capabilityTable.instrumentationEnabled &= haveInstrumentation && (adapterInfo->Caps.InstrumentationIsEnabled != 0);
|
||||
|
||||
tempHwInfos[devNum].capabilityTable.enableKmdNotify = DebugManager.flags.OverrideEnableKmdNotify.get() >= 0
|
||||
? !!DebugManager.flags.OverrideEnableKmdNotify.get()
|
||||
|
||||
Reference in New Issue
Block a user