refactor: remove not used multi context per engine code

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-06-06 10:19:23 +00:00
committed by Compute-Runtime-Automation
parent 01c36a38c6
commit e88127dcc3
10 changed files with 9 additions and 334 deletions

View File

@@ -1706,9 +1706,7 @@ ze_result_t DeviceImp::getCsrForOrdinalAndIndex(NEO::CommandStreamReceiver **csr
auto &osContext = (*csr)->getOsContext();
if (neoDevice->isMultiRegularContextSelectionAllowed(osContext.getEngineType(), osContext.getEngineUsage())) {
*csr = neoDevice->getNextEngineForMultiRegularContextMode(osContext.getEngineType()).commandStreamReceiver;
} else if (secondaryContextsEnabled) {
if (secondaryContextsEnabled) {
tryAssignSecondaryContext(osContext.getEngineType(), NEO::EngineUsage::regular, csr);
}
} else {