mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Parse AffinityMAsk in ULTs DeviceFactory
- enable testing of affinity mask configuration Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2e9574c656
commit
6c7f500649
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2021 Intel Corporation
|
* Copyright (C) 2020-2022 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -61,6 +61,7 @@ void UltDeviceFactory::prepareDeviceEnvironments(ExecutionEnvironment &execution
|
|||||||
executionEnvironment.rootDeviceEnvironments[i]->setHwInfo(defaultHwInfo.get());
|
executionEnvironment.rootDeviceEnvironments[i]->setHwInfo(defaultHwInfo.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
executionEnvironment.parseAffinityMask();
|
||||||
executionEnvironment.calculateMaxOsContextCount();
|
executionEnvironment.calculateMaxOsContextCount();
|
||||||
DeviceFactory::createMemoryManagerFunc(executionEnvironment);
|
DeviceFactory::createMemoryManagerFunc(executionEnvironment);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user