mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
refactor: remove not used multi context per engine code
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
01c36a38c6
commit
e88127dcc3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user