mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Add support for queue groups (1/N)
Change-Id: If4763dcb749acc8a6fd68714119808286306410f Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
@@ -160,6 +160,20 @@ const HwHelper::EngineInstancesContainer HwHelperHw<Family>::getGpgpuEngineInsta
|
||||
return engines;
|
||||
};
|
||||
|
||||
template <>
|
||||
void HwHelperHw<Family>::addEngineToEngineGroup(std::vector<std::vector<EngineControl>> &engineGroups,
|
||||
EngineControl &engine, const HardwareInfo &hwInfo) const {
|
||||
if (engine.engineType == aub_stream::ENGINE_RCS) {
|
||||
engineGroups[static_cast<uint32_t>(EngineGroupType::RenderCompute)].push_back(engine);
|
||||
}
|
||||
if (engine.engineType == aub_stream::ENGINE_CCS) {
|
||||
engineGroups[static_cast<uint32_t>(EngineGroupType::Compute)].push_back(engine);
|
||||
}
|
||||
if (engine.engineType == aub_stream::ENGINE_BCS) {
|
||||
engineGroups[static_cast<uint32_t>(EngineGroupType::Copy)].push_back(engine);
|
||||
}
|
||||
}
|
||||
|
||||
template <>
|
||||
void MemorySynchronizationCommands<Family>::addPipeControlWA(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) {
|
||||
using PIPE_CONTROL = typename Family::PIPE_CONTROL;
|
||||
|
||||
Reference in New Issue
Block a user