2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2020-02-06 18:57:00 +01:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2019-02-27 11:39:32 +01:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2020-02-06 18:57:00 +01:00
|
|
|
#include "core/device/device.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
#include "test.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
#include "unit_tests/fixtures/platform_fixture.h"
|
|
|
|
|
|
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
using namespace NEO;
|
2017-12-21 00:45:38 +01:00
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
struct HwInfoConfigTest : public ::testing::Test,
|
|
|
|
|
public PlatformFixture {
|
|
|
|
|
void SetUp() override;
|
|
|
|
|
void TearDown() override;
|
|
|
|
|
|
2019-05-06 12:33:44 +02:00
|
|
|
HardwareInfo pInHwInfo;
|
2017-12-21 00:45:38 +01:00
|
|
|
HardwareInfo outHwInfo;
|
|
|
|
|
|
2019-05-06 12:33:44 +02:00
|
|
|
PLATFORM *testPlatform = nullptr;
|
|
|
|
|
FeatureTable *testSkuTable = nullptr;
|
|
|
|
|
WorkaroundTable *testWaTable = nullptr;
|
|
|
|
|
GT_SYSTEM_INFO *testSysInfo = nullptr;
|
2017-12-21 00:45:38 +01:00
|
|
|
};
|