mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
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:
committed by
sys_ocldev
parent
277786d433
commit
382bc8547d
26
runtime/gen11/linux/hw_info_config_ehl.inl
Normal file
26
runtime/gen11/linux/hw_info_config_ehl.inl
Normal 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
|
||||
@@ -14,3 +14,6 @@
|
||||
#ifdef SUPPORT_LKF
|
||||
#include "hw_info_config_lkf.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_EHL
|
||||
#include "hw_info_config_ehl.inl"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user