Files
compute-runtime/runtime/gen11/linux/hw_info_config_icllp.inl
Katarzyna Cencelewska a6aac141d1 Move setting of featureTable flags
ftrL3IACoherency, ftrGpGpuMidBatchPreempt, ftrGpGpuThreadGroupLevelPreempt
from configureHardwareCustom to setupFeatureAndWorkaroundTable

Related-To: NEO-2755

Change-Id: I508ad321c60bfd88eef3654b3f418343fc5b6b31
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-29 13:44:22 +02:00

28 lines
564 B
C++

/*
* 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_ICELAKE_LP>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
if (nullptr == osIface) {
return 0;
}
GT_SYSTEM_INFO *pSysInfo = const_cast<GT_SYSTEM_INFO *>(hwInfo->pSysInfo);
pSysInfo->SliceCount = 1;
return 0;
}
template class HwInfoConfigHw<IGFX_ICELAKE_LP>;
} // namespace NEO