Skip to content

Commit 6cb44ae

Browse files
includes refactor
use gen specific hw_cmds instead of all-in-one Signed-off-by: Artur Harasimiuk <[email protected]>
1 parent ee27711 commit 6cb44ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+58
-35
lines changed

level_zero/core/source/gen12lp/cmdlist_gen12lp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include "level_zero/core/source/cmdlist/cmdlist_hw_base.inl"
1313
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.h"
1414
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.inl"
15+
#include "level_zero/core/source/gen12lp/definitions/cache_flush_gen12lp.inl"
1516

16-
#include "cache_flush_gen12lp.inl"
1717
#include "cmdlist_extended.inl"
1818

1919
namespace L0 {

level_zero/core/test/unit_tests/gen12lp/test_cache_flush.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/gen12lp/hw_cmds_base.h"
89
#include "shared/source/helpers/cache_flush.inl"
910
#include "shared/source/helpers/l3_range.h"
1011
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"

level_zero/core/test/unit_tests/gen12lp/test_events_gen12lp.cpp

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

8+
#include "shared/source/gen12lp/hw_cmds_base.h"
89
#include "shared/test/common/mocks/mock_timestamp_packet.h"
9-
#include "shared/test/common/test_macros/hw_test.h"
10+
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
1011

11-
#include "level_zero/core/source/driver/driver_handle_imp.h"
1212
#include "level_zero/core/source/event/event.h"
1313
#include "level_zero/core/test/unit_tests/fixtures/device_fixture.h"
1414
#include "level_zero/core/test/unit_tests/mocks/mock_event.h"

opencl/source/gen11/gtpin_setup_gen11.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/*
2-
* Copyright (C) 2019-2021 Intel Corporation
2+
* Copyright (C) 2019-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8+
#include "shared/source/gen11/hw_cmds_base.h"
9+
810
#include "opencl/source/gtpin/gtpin_hw_helper.h"
911
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1012
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"

opencl/source/gen12lp/gtpin_setup_gen12lp.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/*
2-
* Copyright (C) 2019-2021 Intel Corporation
2+
* Copyright (C) 2019-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8+
#include "shared/source/gen12lp/hw_cmds_base.h"
9+
810
#include "opencl/source/gtpin/gtpin_hw_helper.h"
911
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1012
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"

opencl/source/gen8/gtpin_setup_gen8.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/*
2-
* Copyright (C) 2018-2021 Intel Corporation
2+
* Copyright (C) 2018-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8+
#include "shared/source/gen8/hw_cmds_base.h"
9+
810
#include "opencl/source/gtpin/gtpin_hw_helper.h"
911
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1012
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"

opencl/source/gen9/gtpin_setup_gen9.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/*
2-
* Copyright (C) 2018-2021 Intel Corporation
2+
* Copyright (C) 2018-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8+
#include "shared/source/gen9/hw_cmds_base.h"
9+
810
#include "opencl/source/gtpin/gtpin_hw_helper.h"
911
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1012
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"

opencl/source/gtpin/gtpin_hw_helper.inl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include "opencl/source/gtpin/gtpin_hw_helper.h"
1111
#include "opencl/source/kernel/kernel.h"
1212

13-
#include "hw_cmds.h"
14-
1513
namespace NEO {
1614

1715
template <typename GfxFamily>

opencl/source/xe_hp_core/gtpin_setup_xe_hp_core.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/*
2-
* Copyright (C) 2021 Intel Corporation
2+
* Copyright (C) 2021-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8+
#include "shared/source/xe_hp_core/hw_cmds_base.h"
9+
810
#include "opencl/source/gtpin/gtpin_hw_helper.h"
911
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1012
#include "opencl/source/gtpin/gtpin_hw_helper_xehp_and_later.inl"

opencl/source/xe_hpc_core/gtpin_setup_xe_hpc_core.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
1010
#include "opencl/source/gtpin/gtpin_hw_helper_xehp_and_later.inl"
1111

12+
#include "hw_cmds_xe_hpc_core_base.h"
1213
#include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h"
1314

1415
namespace NEO {

0 commit comments

Comments
 (0)