mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +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>
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen9/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_BXT
|
|
static EnableGfxProductHw<IGFX_BROXTON> enableGfxProductHwBXT;
|
|
static EnableCompilerHwInfoConfig<IGFX_BROXTON> enableCompilerHwInfoConfigBXT;
|
|
#endif
|
|
#ifdef SUPPORT_CFL
|
|
static EnableGfxProductHw<IGFX_COFFEELAKE> enableGfxProductHwCFL;
|
|
static EnableCompilerHwInfoConfig<IGFX_COFFEELAKE> enableCompilerHwInfoConfigCFL;
|
|
#endif
|
|
#ifdef SUPPORT_GLK
|
|
static EnableGfxProductHw<IGFX_GEMINILAKE> enableGfxProductHwGLK;
|
|
static EnableCompilerHwInfoConfig<IGFX_GEMINILAKE> enableCompilerHwInfoConfigGLK;
|
|
#endif
|
|
#ifdef SUPPORT_KBL
|
|
static EnableGfxProductHw<IGFX_KABYLAKE> enableGfxProductHwKBL;
|
|
static EnableCompilerHwInfoConfig<IGFX_KABYLAKE> enableCompilerHwInfoConfigKBL;
|
|
#endif
|
|
#ifdef SUPPORT_SKL
|
|
static EnableGfxProductHw<IGFX_SKYLAKE> enableGfxProductHwSKL;
|
|
static EnableCompilerHwInfoConfig<IGFX_SKYLAKE> enableCompilerHwInfoConfigSKL;
|
|
#endif
|
|
|
|
} // namespace NEO
|