Skip to content

Commit 2b9827a

Browse files
hw_cmds.h for XE refactor
Signed-off-by: Artur Harasimiuk <[email protected]>
1 parent cbe8b85 commit 2b9827a

Some content is hidden

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

42 files changed

+51
-44
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ else()
293293
add_definitions(-DPURGE_DEBUG_KEY_NAMES=0)
294294
endif()
295295

296+
set_property(GLOBAL PROPERTY NEO_INCLUDE_DIRECTORIES "")
297+
296298
if(NOT NEO_SKIP_UNIT_TESTS)
297299
if(NOT DEFINED GTEST_REPEAT)
298300
set(GTEST_REPEAT 1)
@@ -818,6 +820,9 @@ endif()
818820

819821
add_subdirectory_unique(shared)
820822

823+
get_property(NEO_INCLUDE_DIRECTORIES GLOBAL PROPERTY NEO_INCLUDE_DIRECTORIES)
824+
include_directories(${NEO_INCLUDE_DIRECTORIES})
825+
821826
if(NEO_BUILD_WITH_OCL)
822827
add_subdirectory_unique(opencl)
823828
else()

level_zero/core/source/xe_hpc_core/cmdlist_xe_hpc_core.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
*
66
*/
77

8-
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
9-
108
#include "level_zero/core/source/cmdlist/cmdlist_hw.h"
119
#include "level_zero/core/source/cmdlist/cmdlist_hw.inl"
1210
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.h"
1311
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.inl"
1412
#include "level_zero/core/source/cmdlist/cmdlist_hw_xehp_and_later.inl"
1513

1614
#include "cmdlist_extended.inl"
15+
#include "hw_cmds_xe_hpc_core_base.h"
1716

1817
namespace L0 {
1918
template <>

level_zero/core/source/xe_hpc_core/cmdlist_xe_hpc_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#pragma once
99
#include "shared/source/helpers/logical_state_helper.h"
10-
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
10+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
1111

1212
#include "level_zero/core/source/cmdlist/cmdlist_hw.h"
1313
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.h"

level_zero/core/source/xe_hpc_core/pvc/cmdlist_pvc.cpp

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

8-
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
8+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
99

1010
#include "level_zero/core/source/xe_hpc_core/cmdlist_xe_hpc_core.h"
1111

level_zero/core/source/xe_hpc_core/pvc/kernel_pvc.cpp

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

8-
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
8+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
99

1010
#include "level_zero/core/source/kernel/kernel_hw.h"
1111

level_zero/core/source/xe_hpg_core/cmdlist_xe_hpg_core.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
*
66
*/
77

8-
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
9-
108
#include "level_zero/core/source/cmdlist/cmdlist_hw.h"
119
#include "level_zero/core/source/cmdlist/cmdlist_hw.inl"
1210
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.h"
1311
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.inl"
1412
#include "level_zero/core/source/cmdlist/cmdlist_hw_xehp_and_later.inl"
1513

1614
#include "cmdlist_extended.inl"
15+
#include "hw_cmds_xe_hpg_core_base.h"
1716

1817
namespace L0 {
1918

level_zero/core/source/xe_hpg_core/cmdlist_xe_hpg_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#pragma once
99

1010
#include "shared/source/helpers/logical_state_helper.h"
11-
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
11+
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
1212

1313
#include "level_zero/core/source/cmdlist/cmdlist_hw.h"
1414
#include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.h"

level_zero/core/source/xe_hpg_core/dg2/kernel_dg2.cpp

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

8-
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
8+
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
99

1010
#include "level_zero/core/source/kernel/kernel_hw.h"
1111

opencl/source/xe_hpc_core/image_xe_hpc_core.cpp

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

8-
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
8+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
99

1010
#include "opencl/source/mem_obj/image.inl"
1111

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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_hpc_core/hw_cmds_base.h"
8+
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
99
using Family = NEO::XE_HPC_COREFamily;
1010
constexpr static auto gfxCore = IGFX_XE_HPC_CORE;
1111
#include "opencl/source/sampler/sampler_tgllp_and_later.inl"

0 commit comments

Comments
 (0)