mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix typo
-engineGroupTyp to engineGroupType -remove gap between commits to use same desc.ordinal in createCommandQueue Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
f26164776e
commit
8ff34fea29
@ -1007,8 +1007,8 @@ void CommandQueue::processProperties(const cl_queue_properties *properties) {
|
||||
const HardwareInfo &hwInfo = getDevice().getHardwareInfo();
|
||||
const HwHelper &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
|
||||
|
||||
auto engineGroupTyp = hwHelper.getEngineGroupType(static_cast<aub_stream::EngineType>(nodeOrdinal), EngineUsage::Regular, hwInfo);
|
||||
selectedQueueFamilyIndex = static_cast<cl_uint>(getDevice().getEngineGroupIndexFromEngineGroupType(engineGroupTyp));
|
||||
auto engineGroupType = hwHelper.getEngineGroupType(static_cast<aub_stream::EngineType>(nodeOrdinal), EngineUsage::Regular, hwInfo);
|
||||
selectedQueueFamilyIndex = static_cast<cl_uint>(getDevice().getEngineGroupIndexFromEngineGroupType(engineGroupType));
|
||||
const auto &engines = getDevice().getRegularEngineGroups()[selectedQueueFamilyIndex].engines;
|
||||
for (const auto &engine : engines) {
|
||||
if (engine.getEngineType() == static_cast<aub_stream::EngineType>(nodeOrdinal)) {
|
||||
|
Reference in New Issue
Block a user