Files
compute-runtime/opencl/source/gen12lp/linux/hw_info_config_rkl.inl
Koska 354720743b Enabling MTP on Gen12LP
Change-Id: I0ca08ea8dba3f34b5404ea598a16541d0128b37a
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-4785
2020-09-03 13:47:34 +02:00

27 lines
616 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/hw_info_config.h"
namespace NEO {
template <>
int HwInfoConfigHw<IGFX_ROCKETLAKE>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
if (nullptr == osIface) {
return 0;
}
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
gtSystemInfo->SliceCount = 1;
hwInfo->featureTable.ftrGpGpuMidThreadLevelPreempt = false;
return 0;
}
template class HwInfoConfigHw<IGFX_ROCKETLAKE>;
} // namespace NEO