mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:39:51 +08:00
refactor: refactor logic for querying atomic FP capabilities
- Move logic from product helper to compiler product helper - Add method for adjusting fp16 and extra capabilities using release helper (if present). Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bcaa62bed3
commit
35ca2bbea9
@@ -23,6 +23,8 @@ set(CLOC_LIB_SRCS_LIB
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/create_main.cpp
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/oclc_extensions.cpp
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/oclc_extensions.h
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface${BRANCH_DIR_SUFFIX}oclc_extensions_extra.cpp
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/oclc_extensions_extra.h
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/igc_platform_helper.h
|
||||
${NEO_SHARED_DIRECTORY}/compiler_interface/igc_platform_helper.cpp
|
||||
${NEO_SHARED_DIRECTORY}/device_binary_format/ar/ar.h
|
||||
|
||||
@@ -177,7 +177,7 @@ std::vector<NameVersionPair> OfflineCompiler::getOpenCLCFeatures(ConstStringRef
|
||||
}
|
||||
|
||||
OpenClCFeaturesContainer availableFeatures;
|
||||
NEO::getOpenclCFeaturesList(compiler->getHardwareInfo(), availableFeatures, *compiler->compilerProductHelper);
|
||||
NEO::getOpenclCFeaturesList(compiler->getHardwareInfo(), availableFeatures, *compiler->compilerProductHelper, compiler->releaseHelper.get());
|
||||
|
||||
std::vector<NameVersionPair> allSupportedFeatures;
|
||||
for (auto &feature : availableFeatures) {
|
||||
|
||||
Reference in New Issue
Block a user