mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add new CSR to ExecutionEnvironment
Change-Id: I5d6b58b5c185bf283ae529ebb21a4cbc8e9f198c Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
7f98db617c
commit
ba681035f8
@@ -19,7 +19,7 @@ HardwareContextController::HardwareContextController(aub_stream::AubManager &aub
|
||||
|
||||
HardwareContextController::HardwareContextController(aub_stream::AubManager &aubManager, OsContext &osContext,
|
||||
uint32_t engineIndex, uint32_t flags) {
|
||||
UNRECOVERABLE_IF(osContext.getNumDevicesSupported() < 2);
|
||||
DEBUG_BREAK_IF(osContext.getNumDevicesSupported() < 2);
|
||||
for (uint32_t deviceIndex = 0; deviceIndex < osContext.getNumDevicesSupported(); deviceIndex++) {
|
||||
hardwareContexts.emplace_back(aubManager.createHardwareContext(deviceIndex, engineIndex, flags));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user