mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Allow Device creating multiple CSRs [1/n]
Change-Id: Ie5d8d89aa388c608d5464919059c28a054ac9b1e Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
c4239dcd3d
commit
af46d88fc1
@@ -307,7 +307,7 @@ GraphicsAllocation *MemoryManager::allocateGraphicsMemory(const AllocationData &
|
||||
}
|
||||
CommandStreamReceiver *MemoryManager::getCommandStreamReceiver(uint32_t contextId) {
|
||||
UNRECOVERABLE_IF(executionEnvironment.commandStreamReceivers.size() < 1);
|
||||
return executionEnvironment.commandStreamReceivers[contextId].get();
|
||||
return executionEnvironment.commandStreamReceivers[contextId][0].get();
|
||||
}
|
||||
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user