feature: enable global bindless allocator on xe2hpg

Related-To: NEO-7063, NEO-11533

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe 2024-10-17 16:10:08 +00:00 committed by Compute-Runtime-Automation
parent d7a4dab4ca
commit c72ebb263d
3 changed files with 7 additions and 0 deletions

View File

@ -28,4 +28,9 @@ const std::string ReleaseHelperHw<release>::getDeviceConfigString(uint32_t tileC
return configString;
}
template <>
bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
return true;
}
} // namespace NEO

View File

@ -41,6 +41,7 @@ TEST_F(ReleaseHelper2001Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_FALSE(releaseHelper->isDisablingMsaaRequired());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
}
}

View File

@ -42,6 +42,7 @@ TEST_F(ReleaseHelper2004Tests, whenGettingCapabilitiesThenCorrectPropertiesAreRe
EXPECT_EQ(0u, releaseHelper->getStackSizePerRay());
EXPECT_TRUE(releaseHelper->isRayTracingSupported());
EXPECT_FALSE(releaseHelper->isDisablingMsaaRequired());
EXPECT_TRUE(releaseHelper->isGlobalBindlessAllocatorEnabled());
}
}