fix: remove spir support from xe2 and later

Related-To: NEO-15215

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
This commit is contained in:
Grochowski, Stanislaw
2025-09-17 14:25:45 +00:00
committed by Compute-Runtime-Automation
parent 4d64ec8aaa
commit bcfcd02a03
37 changed files with 76 additions and 59 deletions

View File

@@ -62,7 +62,9 @@ set(CLOC_LIB_SRCS_LIB
${NEO_SHARED_DIRECTORY}/helpers/compiler_product_helper_base.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_aot_config_tgllp_and_later.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_product_helper_before_xe_hpc.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_product_helper_before_xe2.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_product_helper_xe_hpc_and_later.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_product_helper_xe2_and_later.inl
${NEO_SHARED_DIRECTORY}/helpers/compiler_options_parser.cpp
${NEO_SHARED_DIRECTORY}/helpers/compiler_options_parser.h
${NEO_SHARED_DIRECTORY}/helpers/cache_policy.h

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"

View File

@@ -44,12 +44,14 @@ set(NEO_CORE_HELPERS
${CMAKE_CURRENT_SOURCE_DIR}/compiler_aot_config_tgllp_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_before_xe_hp.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_before_xe_hpc.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_before_xe2.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_disable_subgroup_local_block_io.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_enable_subgroup_local_block_io.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_product_config_default.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_tgllp_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_xe_hp_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_xe_hpc_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_product_helper_xe2_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/compiler_options_parser.cpp
${CMAKE_CURRENT_SOURCE_DIR}/compiler_options_parser.h
${CMAKE_CURRENT_SOURCE_DIR}/completion_stamp.h

View File

@@ -70,7 +70,7 @@ class CompilerProductHelper {
virtual bool isForceToStatelessRequired() const = 0;
virtual bool failBuildProgramWithStatefulAccessPreference() const = 0;
virtual bool isDotIntegerProductExtensionSupported() const = 0;
virtual bool isSpirSupported(const ReleaseHelper *releaseHelper) const = 0;
virtual bool isSpirSupported() const = 0;
virtual bool oclocEnforceZebinFormat() const = 0;
virtual void setProductConfigForHwInfo(HardwareInfo &hwInfo, HardwareIpVersion config) const = 0;
virtual const char *getCachingPolicyOptions(bool isDebuggerActive) const = 0;
@@ -126,7 +126,7 @@ class CompilerProductHelperHw : public CompilerProductHelper {
bool isForceToStatelessRequired() const override;
bool failBuildProgramWithStatefulAccessPreference() const override;
bool isDotIntegerProductExtensionSupported() const override;
bool isSpirSupported(const ReleaseHelper *releaseHelper) const override;
bool isSpirSupported() const override;
bool oclocEnforceZebinFormat() const override;
void setProductConfigForHwInfo(HardwareInfo &hwInfo, HardwareIpVersion config) const override;
const char *getCachingPolicyOptions(bool isDebuggerActive) const override;

View File

@@ -194,7 +194,7 @@ std::string CompilerProductHelperHw<gfxProduct>::getDeviceExtensions(const Hardw
if (isDotIntegerProductExtensionSupported()) {
extensions += "cl_khr_integer_dot_product ";
}
if (isSpirSupported(releaseHelper)) {
if (isSpirSupported()) {
extensions += "cl_khr_spir ";
}
@@ -260,15 +260,6 @@ bool CompilerProductHelperHw<gfxProduct>::isDotProductAccumulateSystolicSupporte
return false;
}
template <PRODUCT_FAMILY gfxProduct>
bool CompilerProductHelperHw<gfxProduct>::isSpirSupported(const ReleaseHelper *releaseHelper) const {
if (releaseHelper) {
return releaseHelper->isSpirSupported();
}
return true;
}
template <PRODUCT_FAMILY gfxProduct>
bool CompilerProductHelperHw<gfxProduct>::isSplitMatrixMultiplyAccumulateSupported(const ReleaseHelper *releaseHelper) const {
if (releaseHelper) {

View File

@@ -0,0 +1,16 @@
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/compiler_product_helper.h"
namespace NEO {
template <PRODUCT_FAMILY gfxProduct>
bool CompilerProductHelperHw<gfxProduct>::isSpirSupported() const {
return true;
}
} // namespace NEO

View File

@@ -0,0 +1,16 @@
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/compiler_product_helper.h"
namespace NEO {
template <PRODUCT_FAMILY gfxProduct>
bool CompilerProductHelperHw<gfxProduct>::isSpirSupported() const {
return false;
}
} // namespace NEO

View File

@@ -69,7 +69,6 @@ class ReleaseHelper {
virtual bool isPostImageWriteFlushRequired() const = 0;
virtual uint32_t adjustMaxThreadsPerEuCount(uint32_t maxThreadsPerEuCount, uint32_t grfCount) const = 0;
virtual bool shouldQueryPeerAccess() const = 0;
virtual bool isSpirSupported() const = 0;
protected:
ReleaseHelper(HardwareIpVersion hardwareIpVersion) : hardwareIpVersion(hardwareIpVersion) {}
@@ -118,7 +117,6 @@ class ReleaseHelperHw : public ReleaseHelper {
bool isPostImageWriteFlushRequired() const override;
uint32_t adjustMaxThreadsPerEuCount(uint32_t maxThreadsPerEuCount, uint32_t grfCount) const override;
bool shouldQueryPeerAccess() const override;
bool isSpirSupported() const override;
protected:
ReleaseHelperHw(HardwareIpVersion hardwareIpVersion) : ReleaseHelper(hardwareIpVersion) {}

View File

@@ -191,9 +191,4 @@ bool ReleaseHelperHw<releaseType>::shouldQueryPeerAccess() const {
return false;
}
template <ReleaseType releaseType>
bool ReleaseHelperHw<releaseType>::isSpirSupported() const {
return true;
}
} // namespace NEO

View File

@@ -10,6 +10,7 @@
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_mtl_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe2_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"

View File

@@ -10,6 +10,7 @@
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_mtl_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe2_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"

View File

@@ -10,6 +10,7 @@
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_mtl_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe2_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper_xe_hp_and_later.inl"

View File

@@ -8,6 +8,7 @@
#include "shared/source/helpers/compiler_aot_config_tgllp_and_later.inl"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_tgllp_and_later.inl"

View File

@@ -7,6 +7,7 @@
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/compiler_product_helper_base.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe2.inl"
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
#include "shared/source/helpers/compiler_product_helper_mtl_and_later.inl"

View File

@@ -55,7 +55,7 @@ class MockCompilerProductHelper : public CompilerProductHelper {
ADDMETHOD_CONST_NOBASE(getFinalizerLibraryName, const char *, nullptr, ());
ADDMETHOD_CONST_NOBASE(useIgcAsFcl, bool, false, ());
ADDMETHOD_CONST_NOBASE(getPreferredIntermediateRepresentation, IGC::CodeType::CodeType_t, IGC::CodeType::undefined, ());
ADDMETHOD_CONST_NOBASE(isSpirSupported, bool, true, (const ReleaseHelper *releaseHelper));
ADDMETHOD_CONST_NOBASE(isSpirSupported, bool, true, ());
};
class MockCompilerProductHelperHeapless : public MockCompilerProductHelper {

View File

@@ -47,7 +47,6 @@ class MockReleaseHelper : public ReleaseHelper {
ADDMETHOD_CONST_NOBASE(adjustMaxThreadsPerEuCount, uint32_t, 8u, (uint32_t maxThreadsPerEuCount, uint32_t grfCount));
ADDMETHOD_CONST_NOBASE_VOIDRETURN(adjustRTDispatchGlobals, (void *rtDispatchGlobals, uint32_t rtStacksPerDss, bool heaplessEnabled, uint32_t maxBvhLevels));
ADDMETHOD_CONST_NOBASE(shouldQueryPeerAccess, bool, false, ());
ADDMETHOD_CONST_NOBASE(isSpirSupported, bool, true, ());
const SizeToPreferredSlmValueArray &getSizeToPreferredSlmValue(bool isHeapless) const override {
static SizeToPreferredSlmValueArray sizeToPreferredSlmValue = {};

View File

@@ -77,6 +77,18 @@ HWTEST2_F(CompilerProductHelperFixture, GivenPreXeHpThenCreateBufferWithProperti
EXPECT_FALSE(compilerProductHelper.isCreateBufferWithPropertiesSupported());
}
HWTEST2_F(CompilerProductHelperFixture, GivenXe2AndLaterThenSpirIsNotSupported, IsAtLeastXe2HpgCore) {
auto &compilerProductHelper = pDevice->getCompilerProductHelper();
EXPECT_FALSE(compilerProductHelper.isSpirSupported());
}
HWTEST2_F(CompilerProductHelperFixture, GivenPreXe2ThenSpirIsSupported, IsAtMostXeCore) {
auto &compilerProductHelper = pDevice->getCompilerProductHelper();
EXPECT_TRUE(compilerProductHelper.isSpirSupported());
}
HWTEST2_F(CompilerProductHelperFixture, GivenXeHpcAndLaterThenSubgroupNamedBarrierIsSupported, IsAtLeastXeHpcCore) {
auto &compilerProductHelper = pDevice->getCompilerProductHelper();
@@ -207,42 +219,30 @@ HWTEST2_F(CompilerProductHelperFixture, GivenReleaseHelperThenSplitMatrixMultipl
}
}
TEST_F(CompilerProductHelperFixture, GivenReleaseHelperThenSpirIsSupportedBasedOnReleaseHelper) {
HWTEST2_F(CompilerProductHelperFixture, givenAtLeastXe2HpgCoreWhenQueryingExtensionsThenSpirIsNotReported, IsAtLeastXe2HpgCore) {
auto &compilerProductHelper = pDevice->getCompilerProductHelper();
auto releaseHelper = pDevice->getReleaseHelper();
if (releaseHelper) {
EXPECT_EQ(releaseHelper->isSpirSupported(), compilerProductHelper.isSpirSupported(releaseHelper));
} else {
EXPECT_TRUE(compilerProductHelper.isSpirSupported(releaseHelper));
auto *releaseHelper = getReleaseHelper();
auto hwInfo = *defaultHwInfo;
auto extensionString = compilerProductHelper.getDeviceExtensions(hwInfo, releaseHelper);
std::set<std::string> extensions;
std::istringstream iss(extensionString);
for (std::string extension; iss >> extension;) {
extensions.insert(extension);
}
EXPECT_TRUE(compilerProductHelper.isSpirSupported(nullptr));
EXPECT_FALSE(extensions.contains("cl_khr_spir"));
}
TEST_F(CompilerProductHelperFixture, GivenReleaseHelperThenSpirSupportIsReportedBasedOnReleaseHelper) {
HWTEST2_F(CompilerProductHelperFixture, givenAtMostXeHpgCoreWhenQueryingExtensionsThenSpirIsReported, IsAtMostXeHpgCore) {
auto &compilerProductHelper = pDevice->getCompilerProductHelper();
auto *releaseHelper = getReleaseHelper();
auto hwInfo = *defaultHwInfo;
auto releaseHelper = std::unique_ptr<MockReleaseHelper>(new MockReleaseHelper());
releaseHelper->isSpirSupportedResult = true;
auto extensionString = compilerProductHelper.getDeviceExtensions(hwInfo, releaseHelper.get());
auto extensionString = compilerProductHelper.getDeviceExtensions(hwInfo, releaseHelper);
std::set<std::string> extensions;
std::istringstream iss(extensionString);
for (std::string extension; iss >> extension;) {
extensions.insert(extension);
}
EXPECT_TRUE(extensions.contains("cl_khr_spir"));
releaseHelper->isSpirSupportedResult = false;
extensions.clear();
extensionString = compilerProductHelper.getDeviceExtensions(hwInfo, releaseHelper.get());
iss.clear();
iss.str(extensionString);
for (std::string extension; iss >> extension;) {
extensions.insert(extension);
}
EXPECT_FALSE(extensions.contains("cl_khr_spir"));
}
HWTEST2_F(CompilerProductHelperFixture, GivenReleaseHelperThenSplitMatrixMultiplyAccumulateIsNotSupported, IsXeHpcCore) {

View File

@@ -41,7 +41,6 @@ TEST_F(ReleaseHelper1255Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -41,7 +41,6 @@ TEST_F(ReleaseHelper1256Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -41,7 +41,6 @@ TEST_F(ReleaseHelper1257Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -38,7 +38,6 @@ TEST_F(ReleaseHelper1260Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -37,7 +37,6 @@ TEST_F(ReleaseHelper1261Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -43,7 +43,6 @@ TEST_F(ReleaseHelper1270Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isDirectSubmissionLightSupported());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -43,7 +43,6 @@ TEST_F(ReleaseHelper1271Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isDirectSubmissionLightSupported());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -42,7 +42,6 @@ TEST_F(ReleaseHelper1274Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isDirectSubmissionLightSupported());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -40,7 +40,6 @@ TEST_F(ReleaseHelper2001Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -40,7 +40,6 @@ TEST_F(ReleaseHelper2002Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -42,7 +42,6 @@ TEST_F(ReleaseHelper2004Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_FALSE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -40,7 +40,6 @@ TEST_F(ReleaseHelper3000Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(64u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_EQ(revision != 0, releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -40,7 +40,6 @@ TEST_F(ReleaseHelper3001Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(64u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_TRUE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}

View File

@@ -40,7 +40,6 @@ TEST_F(ReleaseHelper3003Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isNumRtStacksPerDssFixedValue());
EXPECT_TRUE(releaseHelper->getFtrXe2Compression());
EXPECT_TRUE(releaseHelper->isSpirSupported());
}
}