mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +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
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -61,7 +61,7 @@ void appendExtensionsToInternalOptions(const HardwareInfo &hwInfo, const std::st
|
||||
}
|
||||
OpenClCFeaturesContainer openclCFeatures;
|
||||
if (requiresOpenClCFeatures(options)) {
|
||||
getOpenclCFeaturesList(hwInfo, openclCFeatures, *compilerProductHelper.get());
|
||||
getOpenclCFeaturesList(hwInfo, openclCFeatures, *compilerProductHelper.get(), releaseHelper.get());
|
||||
}
|
||||
|
||||
auto compilerExtensions = convertEnabledExtensionsToCompilerInternalOptions(extensionsList.c_str(), openclCFeatures);
|
||||
|
||||
Reference in New Issue
Block a user