| 1 |
/* |
| 2 |
* Copyright (C) 2019-2024 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 |
|
| 12 |
TEST_F(DeviceIdTests, GivenTgllpSupportedDeviceIdThenHardwareInfoIsCorrect) { |
| 13 |
std::array<DeviceDescriptor, 7> expectedDescriptors = {{ |
| 14 |
{0x9A49, &TgllpHw1x6x16::hwInfo, &TgllpHw1x6x16::setupHardwareInfo}, |
| 15 |
{0x9A40, &TgllpHw1x6x16::hwInfo, &TgllpHw1x6x16::setupHardwareInfo}, |
| 16 |
{0x9A59, &TgllpHw1x6x16::hwInfo, &TgllpHw1x6x16::setupHardwareInfo}, |
| 17 |
{0x9A60, &TgllpHw1x2x16::hwInfo, &TgllpHw1x2x16::setupHardwareInfo}, |
| 18 |
{0x9A68, &TgllpHw1x2x16::hwInfo, &TgllpHw1x2x16::setupHardwareInfo}, |
| 19 |
{0x9A70, &TgllpHw1x2x16::hwInfo, &TgllpHw1x2x16::setupHardwareInfo}, |
| 20 |
{0x9A78, &TgllpHw1x2x16::hwInfo, &TgllpHw1x2x16::setupHardwareInfo}, |
| 21 |
}}; |
| 22 |
|
| 23 |
testImpl(expectedDescriptors); |
| 24 |
} |