Skip to content

Commit c648a94

Browse files
includes cleanup
Signed-off-by: Artur Harasimiuk <[email protected]>
1 parent 2438959 commit c648a94

File tree

11 files changed

+23
-15
lines changed

11 files changed

+23
-15
lines changed

shared/test/common/cmd_parse/cmd_parse_base.inl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
99

10+
#include "gtest/gtest.h"
11+
1012
// clang-format off
1113
using namespace NEO;
1214
using MI_ARB_CHECK = GenStruct::MI_ARB_CHECK;

shared/test/common/cmd_parse/gen_cmd_parse.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
*/
77

88
#pragma once
9-
#include "hw_cmds.h"
109

10+
#include <cstddef>
11+
#include <cstdint>
1112
#include <list>
1213
#include <vector>
1314

shared/test/common/gen11/cmd_parse_gen11.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
*
66
*/
77

8-
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
9-
10-
#include "gtest/gtest.h"
8+
#include "shared/source/gen11/hw_cmds_base.h"
119
using GenStruct = NEO::GEN11;
1210
using GenGfxFamily = NEO::ICLFamily;
11+
1312
#include "shared/test/common/cmd_parse/cmd_parse_base.inl"
1413
#include "shared/test/common/cmd_parse/cmd_parse_base_mi_arb.inl"
1514
#include "shared/test/common/cmd_parse/cmd_parse_gpgpu_walker.inl"
1615
#include "shared/test/common/cmd_parse/cmd_parse_sip.inl"
16+
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
1717
#include "shared/test/common/cmd_parse/hw_parse.h"
1818
#include "shared/test/common/cmd_parse/hw_parse.inl"
1919

shared/test/common/gen12lp/cmd_parse_gen12lp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
*
66
*/
77

8-
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
9-
10-
#include "gtest/gtest.h"
8+
#include "shared/source/gen12lp/hw_cmds_base.h"
119
using GenStruct = NEO::GEN12LP;
1210
using GenGfxFamily = NEO::TGLLPFamily;
11+
1312
#include "shared/test/common/cmd_parse/cmd_parse_base.inl"
1413
#include "shared/test/common/cmd_parse/cmd_parse_compute_mode.inl"
1514
#include "shared/test/common/cmd_parse/cmd_parse_gpgpu_walker.inl"
1615
#include "shared/test/common/cmd_parse/cmd_parse_l3_control.inl"
1716
#include "shared/test/common/cmd_parse/cmd_parse_mi_arb.inl"
1817
#include "shared/test/common/cmd_parse/cmd_parse_sip.inl"
18+
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
1919
#include "shared/test/common/cmd_parse/hw_parse.h"
2020
#include "shared/test/common/cmd_parse/hw_parse.inl"
2121

shared/test/common/gen8/cmd_parse_gen8.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
*
66
*/
77

8-
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
9-
10-
#include "gtest/gtest.h"
8+
#include "shared/source/gen8/hw_cmds_base.h"
119
using GenStruct = NEO::GEN8;
1210
using GenGfxFamily = NEO::BDWFamily;
11+
1312
#include "shared/test/common/cmd_parse/cmd_parse_base.inl"
1413
#include "shared/test/common/cmd_parse/cmd_parse_base_mi_arb.inl"
1514
#include "shared/test/common/cmd_parse/cmd_parse_gpgpu_walker.inl"
1615
#include "shared/test/common/cmd_parse/cmd_parse_sip.inl"
16+
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
1717
#include "shared/test/common/cmd_parse/hw_parse.h"
1818
#include "shared/test/common/cmd_parse/hw_parse.inl"
1919

shared/test/common/gen9/cmd_parse_gen9.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
*
66
*/
77

8-
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
9-
10-
#include "gtest/gtest.h"
8+
#include "shared/source/gen9/hw_cmds_base.h"
119
using GenStruct = NEO::GEN9;
1210
using GenGfxFamily = NEO::SKLFamily;
11+
1312
#include "shared/test/common/cmd_parse/cmd_parse_base.inl"
1413
#include "shared/test/common/cmd_parse/cmd_parse_base_mi_arb.inl"
1514
#include "shared/test/common/cmd_parse/cmd_parse_gpgpu_walker.inl"
1615
#include "shared/test/common/cmd_parse/cmd_parse_sip.inl"
16+
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
1717
#include "shared/test/common/cmd_parse/hw_parse.h"
1818
#include "shared/test/common/cmd_parse/hw_parse.inl"
1919

shared/test/common/xe_hp_core/unit_test_helper_xe_hp_core.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
*
66
*/
77

8+
#include "shared/source/xe_hp_core/hw_cmds_base.h"
89
#include "shared/source/xe_hp_core/hw_info.h"
910
#include "shared/test/common/helpers/unit_test_helper.h"
1011
#include "shared/test/common/helpers/unit_test_helper.inl"
1112
#include "shared/test/common/helpers/unit_test_helper_xehp_and_later.inl"
13+
1214
using Family = NEO::XeHpFamily;
1315

1416
namespace NEO {

shared/test/common/xe_hpc_core/cmd_parse_xe_hpc_core.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
#include "shared/source/xe_hpc_core/hw_cmds.h"
8+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
99
using GenStruct = NEO::XE_HPC_CORE;
1010
using GenGfxFamily = NEO::XE_HPC_COREFamily;
1111

@@ -111,4 +111,4 @@ const char *CmdParse<GenGfxFamily>::getAdditionalCommandName(void *cmd) {
111111

112112
#include "shared/test/common/cmd_parse/cmd_parse_pvc_and_later.inl"
113113

114-
template const typename GenGfxFamily::RENDER_SURFACE_STATE *NEO::HardwareParse::getSurfaceState<GenGfxFamily>(IndirectHeap *ssh, uint32_t index);
114+
template const typename GenGfxFamily::RENDER_SURFACE_STATE *NEO::HardwareParse::getSurfaceState<GenGfxFamily>(IndirectHeap *ssh, uint32_t index);

shared/test/common/xe_hpc_core/unit_test_helper_xe_hpc_core.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include "shared/source/os_interface/hw_info_config.h"
9+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
910
#include "shared/source/xe_hpc_core/hw_info.h"
1011
#include "shared/test/common/helpers/unit_test_helper.h"
1112
#include "shared/test/common/helpers/unit_test_helper.inl"

shared/test/common/xe_hpg_core/unit_test_helper_xe_hpg_core.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*
66
*/
77

8+
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
89
#include "shared/source/xe_hpg_core/hw_info.h"
910
#include "shared/test/common/helpers/unit_test_helper.h"
1011
#include "shared/test/common/helpers/unit_test_helper.inl"

0 commit comments

Comments
 (0)