Rename DeviceHelper's method getDevicesCount- > getSubDevicesCount

Related-To: NEO-3691

Change-Id: Ifc7956aa284f88647fab1423f9d5ebc4f5183d07
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2019-10-22 17:12:44 +02:00
committed by sys_ocldev
parent caedea28f8
commit 472b1627a2
5 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ Device *RootDevice::getDeviceById(uint32_t deviceId) const {
RootDevice::RootDevice(ExecutionEnvironment *executionEnvironment, uint32_t deviceIndex) : Device(executionEnvironment, deviceIndex) {}
bool RootDevice::createDeviceImpl() {
auto numSubDevices = DeviceHelper::getDevicesCount(&getHardwareInfo());
auto numSubDevices = DeviceHelper::getSubDevicesCount(&getHardwareInfo());
if (numSubDevices == 1) {
numSubDevices = 0;
}