Rename getDevices functions

getDevices -> prepareDeviceEnvironments

Change-Id: Ie5bbc0e9f1fe9b1c34ba012249ffa33c4d2ebd05
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-03-23 09:13:25 +01:00
committed by sys_ocldev
parent 38f53cab8a
commit 688c95ce3c
24 changed files with 90 additions and 91 deletions

View File

@@ -49,11 +49,11 @@ CommandStreamReceiver *createCommandStreamImpl(ExecutionEnvironment &executionEn
return commandStreamReceiver;
}
bool getDevicesImpl(ExecutionEnvironment &executionEnvironment) {
bool prepareDeviceEnvironmentsImpl(ExecutionEnvironment &executionEnvironment) {
if (DeviceFactory::isHwModeSelected()) {
return DeviceFactory::getDevices(executionEnvironment);
return DeviceFactory::prepareDeviceEnvironments(executionEnvironment);
}
return DeviceFactory::getDevicesForProductFamilyOverride(executionEnvironment);
return DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(executionEnvironment);
}
} // namespace NEO