Skip to content

Commit a656cfa

Browse files
Revert "performance: Do not prefer blit enqueue on PTL"
This reverts commit 62f2a86. Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com> Source: 9ca238a
1 parent bed42a4 commit a656cfa

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,4 @@ bool ProductHelperHw<gfxProduct>::isStagingBuffersEnabled() const {
4444
return true;
4545
}
4646

47-
template <>
48-
bool ProductHelperHw<gfxProduct>::blitEnqueuePreferred(bool isWriteToImageFromBuffer) const {
49-
return isWriteToImageFromBuffer;
50-
}
51-
5247
} // namespace NEO

shared/test/unit_test/xe3_core/ptl/excludes_xe3_core_ptl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
#include "shared/test/common/test_macros/hw_test_base.h"
99

1010
HWTEST_EXCLUDE_PRODUCT(ProductHelperTest, whenGettingPreferredAllocationMethodThenNoPreferenceIsReturned, IGFX_PTL);
11-
HWTEST_EXCLUDE_PRODUCT(ProductHelperTest, givenProductHelperWhenCheckBlitEnqueuePreferredThenReturnTrue, IGFX_PTL);

shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ PTLTEST_F(PtlProductHelper, givenResolveDependenciesByPipeControllsNotSupportedW
124124
EXPECT_FALSE(productHelper->isResolveDependenciesByPipeControlsSupported(pInHwInfo, false, 2, csrRelaxed));
125125
}
126126

127-
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckBlitEnqueuePreferredThenReturnCorrectValue) {
128-
EXPECT_TRUE(productHelper->blitEnqueuePreferred(true));
129-
EXPECT_FALSE(productHelper->blitEnqueuePreferred(false));
130-
}
131-
132127
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAllocatorSupportedThenCorrectValueIsReturned) {
133128
{
134129
VariableBackup<ApiSpecificConfig::ApiType> backup(&apiTypeForUlts, ApiSpecificConfig::OCL);

0 commit comments

Comments
 (0)