mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Move methods from DeviceHelper to HwHelper
- getSubDevicesCount() - getEnginesCount() Change-Id: I59e2d5e8552db5d30767edf8382b846b5ca683d8 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
142a38ea9d
commit
42858acb32
@@ -16,7 +16,6 @@
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "runtime/device/device.h"
|
||||
#include "runtime/execution_environment/execution_environment.h"
|
||||
#include "runtime/helpers/device_helpers.h"
|
||||
#include "runtime/memory_manager/os_agnostic_memory_manager.h"
|
||||
#include "runtime/os_interface/os_interface.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
@@ -226,7 +225,7 @@ TEST(ExecutionEnvironment, whenCalculateMaxOsContexCountThenGlobalVariableHasPro
|
||||
uint32_t numRootDevices = 17u;
|
||||
auto &hwHelper = HwHelper::get(executionEnvironment.getHardwareInfo()->platform.eRenderCoreFamily);
|
||||
auto osContextCount = hwHelper.getGpgpuEngineInstances().size();
|
||||
auto subDevicesCount = DeviceHelper::getSubDevicesCount(executionEnvironment.getHardwareInfo());
|
||||
auto subDevicesCount = HwHelper::getSubDevicesCount(executionEnvironment.getHardwareInfo());
|
||||
bool hasRootCsr = subDevicesCount > 1;
|
||||
|
||||
executionEnvironment.prepareRootDeviceEnvironments(numRootDevices);
|
||||
|
||||
Reference in New Issue
Block a user