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:
parent
c832a37bac
commit
959626376e
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue