performance: Enable direct submission on DG2 Windows

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek 2024-10-07 14:21:54 +00:00 committed by Compute-Runtime-Automation
parent 6d6c4267b3
commit b520c64775
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace NEO {
template <>
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
return false;
return true;
}
template <>

View File

@ -15,3 +15,7 @@ using Dg2ProductHelperWindows = ProductHelperTestWindows;
HWTEST2_F(Dg2ProductHelperWindows, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned, IsDG2) {
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
}
HWTEST2_F(Dg2ProductHelperWindows, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned, IsDG2) {
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(nullptr));
}