mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: correct naming of enum class constants 2/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5eda5f2488
commit
beafea9b39
@@ -41,7 +41,7 @@ bool BcsSplit::setupDevice(uint32_t productFamily, bool internalUsage, const ze_
|
||||
for (uint32_t i = 0; i < NEO::bcsInfoMaskSize; i++) {
|
||||
if (this->engines.test(i)) {
|
||||
auto engineType = (i == 0u ? aub_stream::EngineType::ENGINE_BCS : aub_stream::EngineType::ENGINE_BCS1 + i - 1);
|
||||
auto engine = this->device.getNEODevice()->getNearestGenericSubDevice(0u)->tryGetEngine(static_cast<aub_stream::EngineType>(engineType), NEO::EngineUsage::Regular);
|
||||
auto engine = this->device.getNEODevice()->getNearestGenericSubDevice(0u)->tryGetEngine(static_cast<aub_stream::EngineType>(engineType), NEO::EngineUsage::regular);
|
||||
if (!engine) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ void DeviceImp::adjustCommandQueueDesc(uint32_t &ordinal, uint32_t &index) {
|
||||
const NEO::GfxCoreHelper &gfxCoreHelper = neoDevice->getGfxCoreHelper();
|
||||
auto &engineGroups = getActiveDevice()->getRegularEngineGroups();
|
||||
|
||||
auto engineGroupType = gfxCoreHelper.getEngineGroupType(static_cast<aub_stream::EngineType>(nodeOrdinal), NEO::EngineUsage::Regular, hwInfo);
|
||||
auto engineGroupType = gfxCoreHelper.getEngineGroupType(static_cast<aub_stream::EngineType>(nodeOrdinal), NEO::EngineUsage::regular, hwInfo);
|
||||
uint32_t currentEngineIndex = 0u;
|
||||
for (const auto &engine : engineGroups) {
|
||||
if (engine.engineGroupType == engineGroupType) {
|
||||
|
||||
Reference in New Issue
Block a user