mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
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:
committed by
sys_ocldev
parent
caedea28f8
commit
472b1627a2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user