feature: use global bindless allocator in L0 on MTL

Related-To: NEO-7063, NEO-11533
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwoliński 2024-08-09 15:12:57 +00:00 committed by Compute-Runtime-Automation
parent c832a37bac
commit 959626376e
4 changed files with 12 additions and 0 deletions

View File

@ -48,6 +48,11 @@ inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
return false;
}
template <>
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
return true;
}
} // namespace NEO
#include "shared/source/release_helper/release_helper_common_xe_lpg.inl"

View File

@ -48,6 +48,11 @@ inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
return false;
}
template <>
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
return true;
}
} // namespace NEO
#include "shared/source/release_helper/release_helper_common_xe_lpg.inl"

View File

@ -38,6 +38,7 @@ TEST_F(ReleaseHelper1270Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isAuxSurfaceModeOverrideRequired());
EXPECT_FALSE(releaseHelper->isRcsExposureDisabled());
EXPECT_FALSE(releaseHelper->isBindlessAddressingDisabled());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
EXPECT_EQ(8u, releaseHelper->getNumThreadsPerEu());
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
}

View File

@ -38,6 +38,7 @@ TEST_F(ReleaseHelper1271Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_TRUE(releaseHelper->isAuxSurfaceModeOverrideRequired());
EXPECT_FALSE(releaseHelper->isRcsExposureDisabled());
EXPECT_FALSE(releaseHelper->isBindlessAddressingDisabled());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
EXPECT_EQ(8u, releaseHelper->getNumThreadsPerEu());
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
}