mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add interface to enable state compute mode tracking per platform
Related-To: NEO-5019 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
55be825dda
commit
0270e0f8a5
@ -46,7 +46,6 @@ CommandQueueImp::CommandQueueImp(Device *device, NEO::CommandStreamReceiver *csr
|
||||
|
||||
frontEndStateTracking = L0HwHelper::enableFrontEndStateTracking();
|
||||
pipelineSelectStateTracking = L0HwHelper::enablePipelineSelectStateTracking();
|
||||
stateComputeModeTracking = L0HwHelper::enableStateComputeModeTracking();
|
||||
}
|
||||
|
||||
ze_result_t CommandQueueImp::destroy() {
|
||||
@ -73,6 +72,7 @@ ze_result_t CommandQueueImp::initialize(bool copyOnly, bool isInternal) {
|
||||
if (NEO::Debugger::isDebugEnabled(internalUsage) && device->getL0Debugger()) {
|
||||
device->getL0Debugger()->notifyCommandQueueCreated(device->getNEODevice());
|
||||
}
|
||||
this->stateComputeModeTracking = L0HwHelper::enableStateComputeModeTracking(device->getHwInfo());
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user