Remove low priority and internal engine index variables

Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2020-09-15 17:29:02 +02:00
committed by sys_ocldev
parent e6a4aa1216
commit 5b31b31734
45 changed files with 145 additions and 143 deletions

View File

@@ -212,7 +212,7 @@ bool MetricsLibrary::createContext() {
// Check if compute command streamer is used.
auto asyncComputeEngine = std::find_if(asyncComputeEngines.begin(), asyncComputeEngines.end(), [&](const auto &engine) {
return engine == aub_stream::ENGINE_CCS;
return engine.first == aub_stream::ENGINE_CCS;
});
const auto &deviceImp = *static_cast<DeviceImp *>(&device);