mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c4bfe4e487
commit
48fbf4c1d3
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user