Add new CSR to ExecutionEnvironment

Change-Id: I5d6b58b5c185bf283ae529ebb21a4cbc8e9f198c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-02-15 09:25:08 +01:00
committed by sys_ocldev
parent 7f98db617c
commit ba681035f8
8 changed files with 43 additions and 13 deletions

View File

@@ -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));
}