performance: Enable direct submission on DG2 Windows
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
parent
6d6c4267b3
commit
b520c64775
|
@ -23,7 +23,7 @@ namespace NEO {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
|
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
|
|
@ -14,4 +14,8 @@ using Dg2ProductHelperWindows = ProductHelperTestWindows;
|
||||||
|
|
||||||
HWTEST2_F(Dg2ProductHelperWindows, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned, IsDG2) {
|
HWTEST2_F(Dg2ProductHelperWindows, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned, IsDG2) {
|
||||||
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
||||||
|
}
|
||||||
|
|
||||||
|
HWTEST2_F(Dg2ProductHelperWindows, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned, IsDG2) {
|
||||||
|
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(nullptr));
|
||||||
}
|
}
|
Loading…
Reference in New Issue