mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Ocloc will handle any new values that may be passed to the -device argument. Supported acronyms are available under cmd: ocloc compile --help Supported patterns: - device acronym - release acronym - family acronym - version (major.minor.revision) Fatbinary will no longer handle major.minor.revision variances, only acronyms allowed. Signed-off-by: Daria Hinz <daria.hinz@intel.com>
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen9/hw_cmds.h"
|
|
#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
|