mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
ftrL3IACoherency, ftrGpGpuMidBatchPreempt, ftrGpGpuThreadGroupLevelPreempt from configureHardwareCustom to setupFeatureAndWorkaroundTable Related-To: NEO-2755 Change-Id: I508ad321c60bfd88eef3654b3f418343fc5b6b31 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
28 lines
564 B
C++
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
|