feature: enable bindless mode and global bindless allocator in L0 on ARL

Related-To: NEO-14995
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
Jaroslaw Warchulski
2025-05-23 15:32:40 +00:00
committed by Compute-Runtime-Automation
parent c4bfe4e487
commit 48fbf4c1d3
3 changed files with 13 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ components:
dest_dir: kernels_bin dest_dir: kernels_bin
type: git type: git
branch: kernels_bin branch: kernels_bin
revision: 3415-4258 revision: 3415-4262
kmdaf: kmdaf:
branch: kmdaf branch: kmdaf
dest_dir: kmdaf dest_dir: kmdaf

View File

@@ -49,6 +49,16 @@ bool ReleaseHelperHw<release>::isBlitImageAllowedForDepthFormat() const {
return false; return false;
} }
template <>
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
return false;
}
template <>
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
return true;
}
template <> template <>
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const { const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE; using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;

View File

@@ -35,7 +35,8 @@ TEST_F(ReleaseHelper1274Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isDirectSubmissionSupported()); EXPECT_TRUE(releaseHelper->isDirectSubmissionSupported());
EXPECT_FALSE(releaseHelper->isAuxSurfaceModeOverrideRequired()); EXPECT_FALSE(releaseHelper->isAuxSurfaceModeOverrideRequired());
EXPECT_FALSE(releaseHelper->isRcsExposureDisabled()); EXPECT_FALSE(releaseHelper->isRcsExposureDisabled());
EXPECT_TRUE(releaseHelper->isBindlessAddressingDisabled()); EXPECT_FALSE(releaseHelper->isBindlessAddressingDisabled());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
EXPECT_EQ(8u, releaseHelper->getNumThreadsPerEu()); EXPECT_EQ(8u, releaseHelper->getNumThreadsPerEu());
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay()); EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isRayTracingSupported()); EXPECT_TRUE(releaseHelper->isRayTracingSupported());