fix: Add additional ADL-N device ids

Related-To: NEO-10610

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
This commit is contained in:
Aleksander Czerwionka 2024-03-12 14:30:22 +00:00 committed by Compute-Runtime-Automation
parent adae21b103
commit f7342ff910
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -14,10 +14,12 @@
using namespace NEO;
TEST(AdlnDeviceIdTest, GivenSupportedDeviceIdThenHardwareInfoIsCorrect) {
std::array<DeviceDescriptor, 3> expectedDescriptors = {{
std::array<DeviceDescriptor, 5> expectedDescriptors = {{
{0x46D0, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
{0x46D1, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
{0x46D2, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
{0x46D3, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
{0x46D4, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
}};
auto compareStructs = [](const DeviceDescriptor *first, const DeviceDescriptor *second) {

View File

@ -126,6 +126,8 @@ NAMEDDEVICE(0xA78B, AdlsHwConfig, "Intel(R) UHD Graphics")
NAMEDDEVICE(0x46D0, AdlnHwConfig, "Intel(R) UHD Graphics")
NAMEDDEVICE(0x46D1, AdlnHwConfig, "Intel(R) UHD Graphics")
NAMEDDEVICE(0x46D2, AdlnHwConfig, "Intel(R) UHD Graphics")
NAMEDDEVICE(0x46D3, AdlnHwConfig, "Intel(R) Graphics")
NAMEDDEVICE(0x46D4, AdlnHwConfig, "Intel(R) Graphics")
#endif
#ifdef SUPPORT_ADLP

View File

@ -10,5 +10,5 @@
#include <vector>
namespace NEO {
const std::vector<unsigned short> adlnDeviceIds{0x46D0, 0x46D1, 0x46D2};
const std::vector<unsigned short> adlnDeviceIds{0x46D0, 0x46D1, 0x46D2, 0x46D3, 0x46D4};
} // namespace NEO