mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Improve engine helper methods
Change-Id: Iac614c3da23119f2000a21e720d5144da0459528 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
26d30b18fe
commit
7b4d6fc278
@@ -292,7 +292,7 @@ bool CommandQueue::setPerfCountersEnabled() {
|
||||
DEBUG_BREAK_IF(device == nullptr);
|
||||
|
||||
auto perfCounters = device->getPerformanceCounters();
|
||||
bool isCcsEngine = isCcs(getGpgpuEngine().osContext->getEngineType());
|
||||
bool isCcsEngine = EngineHelpers::isCcs(getGpgpuEngine().osContext->getEngineType());
|
||||
|
||||
perfCountersEnabled = perfCounters->enable(isCcsEngine);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user