Add EHL device IDs

Change-Id: Ic65fab67d0943023caecfc07b63e2853fb58d0c4
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
Related-To: NEO-3321, NEO-3221
This commit is contained in:
Koska, Andrzej
2019-06-27 10:28:03 +02:00
committed by sys_ocldev
parent 277786d433
commit 382bc8547d
24 changed files with 721 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/helpers/hw_info.h"
#include "runtime/os_interface/hw_info_config.h"
namespace NEO {
template <>
int HwInfoConfigHw<IGFX_ELKHARTLAKE>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
if (nullptr == osIface) {
return 0;
}
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
gtSystemInfo->SliceCount = 1;
return 0;
}
template class HwInfoConfigHw<IGFX_ELKHARTLAKE>;
} // namespace NEO

View File

@@ -14,3 +14,6 @@
#ifdef SUPPORT_LKF
#include "hw_info_config_lkf.inl"
#endif
#ifdef SUPPORT_EHL
#include "hw_info_config_ehl.inl"
#endif