Revert "Enable update task count from wait on DG2"

This reverts commit 99c424b6ff.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-05-10 10:46:41 +02:00
committed by Compute-Runtime-Automation
parent 17aac9d1bf
commit 5507633d15
3 changed files with 5 additions and 11 deletions

View File

@@ -154,12 +154,6 @@ HWTEST2_F(HwHelperTestsDg2AndLater, givenXeHPGAndLaterPlatformWhenCheckingIfUnTy
EXPECT_TRUE(hwHelper.unTypedDataPortCacheFlushRequired());
}
HWTEST2_F(HwHelperTestsDg2AndLater, givenHwHelperWhenCheckIsUpdateTaskCountFromWaitSupportedThenReturnsTrue, IsAtLeastXeHpgCore) {
auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily);
EXPECT_TRUE(hwHelper.isUpdateTaskCountFromWaitSupported());
}
using HwInfoConfigTestDg2AndLater = ::testing::Test;
HWTEST2_F(HwInfoConfigTestDg2AndLater, givenDg2AndLaterPlatformWhenAskedIfHeapInLocalMemThenTrueIsReturned, IsAtLeastXeHpgCore) {

View File

@@ -52,11 +52,6 @@ void MemorySynchronizationCommands<GfxFamily>::setPipeControlWAFlags(PIPE_CONTRO
pipeControl.setUnTypedDataPortCacheFlush(true);
}
template <>
bool HwHelperHw<Family>::isUpdateTaskCountFromWaitSupported() const {
return true;
}
template <>
bool HwHelperHw<Family>::unTypedDataPortCacheFlushRequired() const {
return true;

View File

@@ -36,6 +36,11 @@ bool HwHelperHw<Family>::isCooperativeDispatchSupported(const EngineGroupType en
return true;
}
template <>
bool HwHelperHw<Family>::isUpdateTaskCountFromWaitSupported() const {
return true;
}
template <>
uint32_t HwHelperHw<Family>::adjustMaxWorkGroupCount(uint32_t maxWorkGroupCount, const EngineGroupType engineGroupType,
const HardwareInfo &hwInfo, bool isEngineInstanced) const {