mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
ULT: remove numPlatformDevices
Change-Id: I23c2a22e7df2451c16ed3736690fddc9a334391e Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
12141154f6
commit
bbb8332e2e
@@ -41,7 +41,7 @@ bool getDevices(size_t &numDevicesReturned, ExecutionEnvironment &executionEnvir
|
||||
executionEnvironment.setHwInfo(platformDevices[0]);
|
||||
}
|
||||
if (ultHwConfig.useMockedGetDevicesFunc) {
|
||||
numDevicesReturned = numPlatformDevices;
|
||||
numDevicesReturned = DebugManager.flags.CreateMultipleRootDevices.get() != 0 ? DebugManager.flags.CreateMultipleRootDevices.get() : 1u;
|
||||
executionEnvironment.prepareRootDeviceEnvironments(static_cast<uint32_t>(numDevicesReturned));
|
||||
executionEnvironment.calculateMaxOsContextCount();
|
||||
executionEnvironment.initializeMemoryManager();
|
||||
|
||||
Reference in New Issue
Block a user