mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
refactor: rename global debug manager to debugManager
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f2ede40d2e
commit
c9664e6bad
@@ -58,7 +58,7 @@ bool prepareDeviceEnvironments(ExecutionEnvironment &executionEnvironment) {
|
||||
}
|
||||
|
||||
if (ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc) {
|
||||
uint32_t numRootDevices = DebugManager.flags.CreateMultipleRootDevices.get() != 0 ? DebugManager.flags.CreateMultipleRootDevices.get() : 1u;
|
||||
uint32_t numRootDevices = debugManager.flags.CreateMultipleRootDevices.get() != 0 ? debugManager.flags.CreateMultipleRootDevices.get() : 1u;
|
||||
UltDeviceFactory::prepareDeviceEnvironments(executionEnvironment, numRootDevices);
|
||||
retVal = ultHwConfig.mockedPrepareDeviceEnvironmentsFuncResult;
|
||||
} else {
|
||||
@@ -80,7 +80,7 @@ bool prepareDeviceEnvironment(ExecutionEnvironment &executionEnvironment, std::s
|
||||
executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->setHwInfoAndInitHelpers(defaultHwInfo.get());
|
||||
}
|
||||
if (ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc) {
|
||||
uint32_t numRootDevices = DebugManager.flags.CreateMultipleRootDevices.get() != 0 ? DebugManager.flags.CreateMultipleRootDevices.get() : 1u;
|
||||
uint32_t numRootDevices = debugManager.flags.CreateMultipleRootDevices.get() != 0 ? debugManager.flags.CreateMultipleRootDevices.get() : 1u;
|
||||
UltDeviceFactory::prepareDeviceEnvironments(executionEnvironment, numRootDevices);
|
||||
retVal = ultHwConfig.mockedPrepareDeviceEnvironmentsFuncResult;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user