Move Device helpers to namespace

Change-Id: Id7aa7b7e490c5ae87a517b3e0be16292a7de9a93
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-03-19 12:10:01 +01:00
committed by sys_ocldev
parent 01ff1accfa
commit a25cca2099
7 changed files with 22 additions and 12 deletions

View File

@@ -10,6 +10,7 @@
#include "runtime/aub_mem_dump/page_table_entry_bits.h"
#include "runtime/command_stream/aub_command_stream_receiver_hw.h"
#include "runtime/helpers/basic_math.h"
#include "runtime/helpers/device_helpers.h"
#include "test.h"
#include "unit_tests/fixtures/device_fixture.h"
#include "unit_tests/helpers/debug_manager_state_restore.h"
@@ -42,11 +43,11 @@ TEST(AubHelper, WhenCreateMultipleDevicesIsSetThenGetDevicesCountReturnedCorrect
HardwareInfo hwInfo{&platform, &skuTable, &waTable, &sysInfo, capTable};
DebugManager.flags.CreateMultipleDevices.set(2);
uint32_t devicesCount = AubHelper::getDevicesCount(&hwInfo);
uint32_t devicesCount = DeviceHelper::getDevicesCount(&hwInfo);
EXPECT_EQ(devicesCount, 2u);
DebugManager.flags.CreateMultipleDevices.set(0);
devicesCount = AubHelper::getDevicesCount(&hwInfo);
devicesCount = DeviceHelper::getDevicesCount(&hwInfo);
EXPECT_EQ(devicesCount, 1u);
}