Skip to content

Commit 738e62a

Browse files
Change tested devices scope of preamble tests
Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent c4950eb commit 738e62a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

level_zero/core/test/unit_tests/sources/debugger/test_source_level_debugger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace ult {
2727

2828
using CommandQueueDebugCommandsTest = Test<ActiveDebuggerFixture>;
2929

30-
HWTEST2_F(CommandQueueDebugCommandsTest, givenDebuggingEnabledWhenCommandListIsExecutedThenKernelDebugCommandsAreAdded, IsAtMostGen12lp) {
30+
HWTEST2_F(CommandQueueDebugCommandsTest, givenDebuggingEnabledWhenCommandListIsExecutedThenKernelDebugCommandsAreAdded, IsAtMostXeHpCore) {
3131
NEO::MockCompilerEnableGuard mock(true);
3232
ze_command_queue_desc_t queueDesc = {};
3333
ze_result_t returnValue;
@@ -74,7 +74,7 @@ HWTEST2_F(CommandQueueDebugCommandsTest, givenDebuggingEnabledWhenCommandListIsE
7474
commandQueue->destroy();
7575
}
7676

77-
HWTEST2_F(CommandQueueDebugCommandsTest, givenDebuggingEnabledWhenCommandListIsExecutedTwiceThenKernelDebugCommandsAreAddedOnlyOnce, IsAtMostGen12lp) {
77+
HWTEST2_F(CommandQueueDebugCommandsTest, givenDebuggingEnabledWhenCommandListIsExecutedTwiceThenKernelDebugCommandsAreAddedOnlyOnce, IsAtMostXeHpCore) {
7878
using MI_LOAD_REGISTER_IMM = typename FamilyType::MI_LOAD_REGISTER_IMM;
7979
using STATE_SIP = typename FamilyType::STATE_SIP;
8080

shared/test/common/test_macros/header/test.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ using IsAtMostGen12lp = IsAtMostGfxCore<IGFX_GEN12LP_CORE>;
11041104
using IsAtLeastGen12lp = IsAtLeastGfxCore<IGFX_GEN12LP_CORE>;
11051105

11061106
using IsAtLeastXeHpCore = IsAtLeastGfxCore<IGFX_XE_HP_CORE>;
1107+
using IsAtMostXeHpCore = IsAtMostGfxCore<IGFX_XE_HP_CORE>;
11071108

11081109
using IsADLS = IsProduct<IGFX_ALDERLAKE_S>;
11091110
using IsBXT = IsProduct<IGFX_BROXTON>;

shared/test/unit_test/preamble/preamble_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ HWTEST_F(PreambleTest, givenInactiveKernelDebuggingWhenPreambleKernelDebuggingCo
106106
EXPECT_EQ(0u, size);
107107
}
108108

109-
HWTEST2_F(PreambleTest, whenKernelDebuggingCommandsAreProgrammedThenCorrectCommandsArePlacedIntoStream, IsAtMostGen12lp) {
109+
HWTEST2_F(PreambleTest, whenKernelDebuggingCommandsAreProgrammedThenCorrectCommandsArePlacedIntoStream, IsAtMostXeHpCore) {
110110
typedef typename FamilyType::MI_LOAD_REGISTER_IMM MI_LOAD_REGISTER_IMM;
111111

112112
auto bufferSize = PreambleHelper<FamilyType>::getKernelDebuggingCommandsSize(true);

0 commit comments

Comments
 (0)