Skip to content

Commit ebe8d05

Browse files
Revert "Enable task count from wait on DG2 and later"
This reverts commit bd6c9a2. Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
1 parent 7b98d78 commit ebe8d05

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

opencl/test/unit_test/helpers/hw_helper_tests_dg2_and_later.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@ HWTEST2_F(HwHelperTestsDg2AndLater, givenXeHPGAndLaterPlatformWhenCheckingIfUnTy
154154
EXPECT_TRUE(hwHelper.unTypedDataPortCacheFlushRequired());
155155
}
156156

157-
HWTEST2_F(HwHelperTestsDg2AndLater, givenHwHelperWhenCheckIsUpdateTaskCountFromWaitSupportedThenReturnsTrue, IsAtLeastXeHpgCore) {
158-
auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily);
159-
160-
EXPECT_TRUE(hwHelper.isUpdateTaskCountFromWaitSupported());
161-
}
162-
163157
using HwInfoConfigTestDg2AndLater = ::testing::Test;
164158

165159
HWTEST2_F(HwInfoConfigTestDg2AndLater, givenDg2AndLaterPlatformWhenAskedIfHeapInLocalMemThenTrueIsReturned, IsAtLeastXeHpgCore) {

shared/source/helpers/hw_helper_dg2_and_later.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
namespace NEO {
1313

14-
template <>
15-
bool HwHelperHw<Family>::isUpdateTaskCountFromWaitSupported() const {
16-
return true;
17-
}
18-
1914
template <typename GfxFamily>
2015
inline void MemorySynchronizationCommands<GfxFamily>::setPipeControlExtraProperties(PIPE_CONTROL &pipeControl, PipeControlArgs &args) {
2116
pipeControl.setHdcPipelineFlush(args.hdcPipelineFlush);

shared/source/helpers/hw_helper_pvc_and_later.inl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ bool HwHelperHw<Family>::isCooperativeDispatchSupported(const EngineGroupType en
3636
return true;
3737
}
3838

39+
template <>
40+
bool HwHelperHw<Family>::isUpdateTaskCountFromWaitSupported() const {
41+
return true;
42+
}
43+
3944
template <>
4045
uint32_t HwHelperHw<Family>::adjustMaxWorkGroupCount(uint32_t maxWorkGroupCount, const EngineGroupType engineGroupType,
4146
const HardwareInfo &hwInfo, bool isEngineInstanced) const {

0 commit comments

Comments
 (0)