mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Related-To: NEO-7003 Add L1CachePolicyHelper struct. This struct is resposible for L1 cache policy in build option, Surface State and stateless caching. Currently default option for all platforms is WBP (write by-pass) Signed-off-by: Szymon Morek <szymon.morek@intel.com>
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen11/hw_cmds.h"
|
|
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
|
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
|
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
|
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
|
#include "shared/source/helpers/enable_product.inl"
|
|
#include "shared/source/os_interface/hw_info_config.h"
|
|
|
|
namespace NEO {
|
|
|
|
#ifdef SUPPORT_ICLLP
|
|
static EnableGfxProductHw<IGFX_ICELAKE_LP> enableGfxProductHwICLLP;
|
|
static EnableCompilerHwInfoConfig<IGFX_ICELAKE_LP> enableCompilerHwInfoConfigICLLP;
|
|
#endif
|
|
#ifdef SUPPORT_LKF
|
|
static EnableGfxProductHw<IGFX_LAKEFIELD> enableGfxProductHwLKF;
|
|
static EnableCompilerHwInfoConfig<IGFX_LAKEFIELD> enableCompilerHwInfoConfigLKF;
|
|
#endif
|
|
#ifdef SUPPORT_EHL
|
|
static EnableGfxProductHw<IGFX_ELKHARTLAKE> enableGfxProductHwEHL;
|
|
static EnableCompilerHwInfoConfig<IGFX_ELKHARTLAKE> enableCompilerHwInfoConfigEHL;
|
|
#endif
|
|
|
|
} // namespace NEO
|