mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: remove incorrectly reported extensions
Related-To: NEO-8349 Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8a0c425495
commit
b630f58861
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
* Copyright (C) 2022-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -19,7 +19,6 @@ using PvcClDeviceCapsTests = Test<ClDeviceFixture>;
|
||||
PVCTEST_F(PvcClDeviceCapsTests, givenPvcProductWhenDeviceCapsInitializedThenAddPvcExtensions) {
|
||||
const auto &dInfo = pClDevice->getDeviceInfo();
|
||||
EXPECT_TRUE(hasSubstr(dInfo.deviceExtensions, std::string("cl_intel_create_buffer_with_properties")));
|
||||
EXPECT_TRUE(hasSubstr(dInfo.deviceExtensions, std::string("cl_intel_dot_accumulate")));
|
||||
EXPECT_TRUE(hasSubstr(dInfo.deviceExtensions, std::string("cl_intel_subgroup_local_block_io")));
|
||||
EXPECT_TRUE(hasSubstr(dInfo.deviceExtensions, std::string("cl_intel_subgroup_matrix_multiply_accumulate")));
|
||||
EXPECT_TRUE(hasSubstr(dInfo.deviceExtensions, std::string("cl_khr_subgroup_named_barrier")));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
* Copyright (C) 2022-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -33,7 +33,6 @@ XE_HPG_CORETEST_F(XeHpgCoreClDeviceCaps, giveDeviceExtensionsWhenDeviceCapsIniti
|
||||
auto releaseHelper = pClDevice->getDevice().getReleaseHelper();
|
||||
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_create_buffer_with_properties")));
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_dot_accumulate")));
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_subgroup_local_block_io")));
|
||||
|
||||
bool expectMatrixMultiplyAccumulateExtensions = compilerProductHelper.isMatrixMultiplyAccumulateSupported(releaseHelper);
|
||||
|
||||
@@ -173,10 +173,6 @@ std::string CompilerProductHelperHw<gfxProduct>::getDeviceExtensions(const Hardw
|
||||
extensions += "cl_intel_create_buffer_with_properties ";
|
||||
}
|
||||
|
||||
if (isDotAccumulateSupported()) {
|
||||
extensions += "cl_intel_dot_accumulate ";
|
||||
}
|
||||
|
||||
if (isSubgroupLocalBlockIoSupported()) {
|
||||
extensions += "cl_intel_subgroup_local_block_io ";
|
||||
}
|
||||
|
||||
@@ -34,11 +34,6 @@ bool ReleaseHelperHw<release>::isPipeControlPriorToPipelineSelectWaRequired() co
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isSplitMatrixMultiplyAccumulateSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionSupported() const {
|
||||
return true;
|
||||
|
||||
@@ -30,7 +30,7 @@ TEST_F(ReleaseHelper1274Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
|
||||
EXPECT_TRUE(releaseHelper->isPipeControlPriorToPipelineSelectWaRequired());
|
||||
EXPECT_FALSE(releaseHelper->isProgramAllStateComputeCommandFieldsWARequired());
|
||||
EXPECT_FALSE(releaseHelper->isPrefetchDisablingRequired());
|
||||
EXPECT_TRUE(releaseHelper->isSplitMatrixMultiplyAccumulateSupported());
|
||||
EXPECT_FALSE(releaseHelper->isSplitMatrixMultiplyAccumulateSupported());
|
||||
EXPECT_TRUE(releaseHelper->isBFloat16ConversionSupported());
|
||||
EXPECT_TRUE(releaseHelper->isResolvingSubDeviceIDNeeded());
|
||||
EXPECT_TRUE(releaseHelper->isDirectSubmissionSupported());
|
||||
|
||||
Reference in New Issue
Block a user