mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Rename getDevices functions
getDevices -> prepareDeviceEnvironments Change-Id: Ie5bbc0e9f1fe9b1c34ba012249ffa33c4d2ebd05 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
38f53cab8a
commit
688c95ce3c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user