mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Extend bindDrmContext function
move implementation to drm_neo.cpp respect multiple CCS and BCS engines Related-To: NEO-6591 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6d96ac9deb
commit
2e32bcb2e1
@@ -181,5 +181,8 @@ aub_stream::EngineType selectLinkCopyEngine(const HardwareInfo &hwInfo, const De
|
||||
return isBcsEnabled(hwInfo, engine1) ? engine1 : engine2;
|
||||
}
|
||||
}
|
||||
aub_stream::EngineType mapCcsIndexToEngineType(uint32_t index) {
|
||||
return static_cast<aub_stream::EngineType>(index + static_cast<uint32_t>(aub_stream::ENGINE_CCS));
|
||||
}
|
||||
|
||||
} // namespace NEO::EngineHelpers
|
||||
|
||||
Reference in New Issue
Block a user