mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Add device IDs for ADLN
0x46D1, 0x46D2 Signed-off-by: Neumann, Marta <marta.neumann@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
db58e50564
commit
7b2960f891
@ -14,8 +14,10 @@
|
||||
using namespace NEO;
|
||||
|
||||
TEST(AdlnDeviceIdTest, GivenSupportedDeviceIdThenHardwareInfoIsCorrect) {
|
||||
std::array<DeviceDescriptor, 1> expectedDescriptors = {{
|
||||
std::array<DeviceDescriptor, 3> expectedDescriptors = {{
|
||||
{0x46D0, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
|
||||
{0x46D1, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
|
||||
{0x46D2, &AdlnHwConfig::hwInfo, &AdlnHwConfig::setupHardwareInfo},
|
||||
}};
|
||||
|
||||
auto compareStructs = [](const DeviceDescriptor *first, const DeviceDescriptor *second) {
|
||||
|
@ -74,6 +74,8 @@ DEVICE( 0xA789, AdlsHwConfig )
|
||||
|
||||
#ifdef SUPPORT_ADLN
|
||||
DEVICE(0x46D0, AdlnHwConfig)
|
||||
DEVICE(0x46D1, AdlnHwConfig)
|
||||
DEVICE(0x46D2, AdlnHwConfig)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -10,5 +10,5 @@
|
||||
#include <vector>
|
||||
|
||||
namespace NEO {
|
||||
static const std::vector<unsigned short> adlnDeviceIds{0x46D0};
|
||||
static const std::vector<unsigned short> adlnDeviceIds{0x46D0, 0x46D1, 0x46D2};
|
||||
} // namespace NEO
|
||||
|
Reference in New Issue
Block a user