1 /*
2 * Copyright (C) 2021 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #include "shared/test/common/fixtures/linux/device_id_fixture.h"
9
10 using namespace NEO;
11
TEST_F(DeviceIdTests,GivenDg2SupportedDeviceIdThenDeviceDescriptorTableExists)12 TEST_F(DeviceIdTests, GivenDg2SupportedDeviceIdThenDeviceDescriptorTableExists) {
13 std::array<DeviceDescriptor, 2> expectedDescriptors = {{
14 {0x4F80, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo, GTTYPE_GT4},
15 {0x4F87, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo, GTTYPE_GT4},
16 }};
17
18 testImpl(expectedDescriptors);
19 }
20