Remove dead code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
parent
28f2ebdd9f
commit
30f0b1d9eb
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) 2020-2022 Intel Corporation
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
|
||||||
|
|
||||||
namespace NEO {
|
|
||||||
|
|
||||||
template <>
|
|
||||||
int ProductHelperHw<IGFX_ALDERLAKE_S>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
|
||||||
if (nullptr == osIface) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
||||||
gtSystemInfo->SliceCount = 1;
|
|
||||||
GfxCoreHelper &gfxCoreHelper = GfxCoreHelper::get(hwInfo.platform.eRenderCoreFamily);
|
|
||||||
hwInfo->featureTable.flags.ftrGpGpuMidThreadLevelPreempt = (hwInfo->platform.usRevId >= gfxCoreHelper.getHwRevIdFromStepping(REVISION_C, *hwInfo));
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template class ProductHelperHw<IGFX_ALDERLAKE_S>;
|
|
||||||
} // namespace NEO
|
|
Loading…
Reference in New Issue