mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Enable signal all packets
Related-To: NEO-7490 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c4759884d8
commit
e8b0024b5c
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user