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:
parent
b01ab1176d
commit
7ef85b5853
|
@ -49,6 +49,16 @@ bool ReleaseHelperHw<release>::isBlitImageAllowedForDepthFormat() const {
|
|||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
|
|
|
@ -35,7 +35,8 @@ TEST_F(ReleaseHelper1274Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
|
|||
EXPECT_TRUE(releaseHelper->isDirectSubmissionSupported());
|
||||
EXPECT_FALSE(releaseHelper->isAuxSurfaceModeOverrideRequired());
|
||||
EXPECT_FALSE(releaseHelper->isRcsExposureDisabled());
|
||||
EXPECT_TRUE(releaseHelper->isBindlessAddressingDisabled());
|
||||
EXPECT_FALSE(releaseHelper->isBindlessAddressingDisabled());
|
||||
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
|
||||
EXPECT_EQ(8u, releaseHelper->getNumThreadsPerEu());
|
||||
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
|
||||
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
|
||||
|
|
Loading…
Reference in New Issue