mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +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
@@ -1938,7 +1938,7 @@ TEST_F(OfflineCompilerTests, givenVariousClStdValuesWhenCompilingSourceThenCorre
|
||||
|
||||
OpenClCFeaturesContainer openclCFeatures;
|
||||
auto compilerProductHelper = CompilerProductHelper::create(mockOfflineCompiler->hwInfo.platform.eProductFamily);
|
||||
getOpenclCFeaturesList(mockOfflineCompiler->hwInfo, openclCFeatures, *compilerProductHelper.get());
|
||||
getOpenclCFeaturesList(mockOfflineCompiler->hwInfo, openclCFeatures, *compilerProductHelper.get(), nullptr);
|
||||
for (auto &feature : openclCFeatures) {
|
||||
if (clStdOptionValue == "-cl-std=CL3.0") {
|
||||
EXPECT_TRUE(hasSubstr(internalOptions, std::string{feature.name}));
|
||||
|
||||
Reference in New Issue
Block a user