Enable signal all packets

Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-01-11 15:57:09 +00:00
committed by Compute-Runtime-Automation
parent c4759884d8
commit e8b0024b5c
2 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ bool L0GfxCoreHelper::useSignalAllEventPackets(const NEO::HardwareInfo &hwInfo)
if (NEO::DebugManager.flags.SignalAllEventPackets.get() != -1) {
return !!NEO::DebugManager.flags.SignalAllEventPackets.get();
}
return false;
return true;
}
} // namespace L0

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -787,10 +787,10 @@ HWTEST2_F(L0GfxCoreHelperEventMultiKernelDisabledL3FlushCompactEnabledTest,
EXPECT_EQ(expectedPacket, l0GfxCoreHelper.getEventBaseMaxPacketCount(hwInfo));
}
TEST_F(L0GfxCoreHelperTest, givenL0GfxCoreHelperWhenGettingDefaultValueForSignalAllEventPacketThenReturnFalse) {
TEST_F(L0GfxCoreHelperTest, givenL0GfxCoreHelperWhenGettingDefaultValueForSignalAllEventPacketThenReturnTrue) {
auto hwInfo = *NEO::defaultHwInfo.get();
bool defaultValue = L0::L0GfxCoreHelper::useSignalAllEventPackets(hwInfo);
EXPECT_FALSE(defaultValue);
EXPECT_TRUE(defaultValue);
}
} // namespace ult