Skip to content

Commit 566b845

Browse files
Move state_base_address to core
Change-Id: I2b64fff4eed31054ae29b7b14ecb9f147914049a Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
1 parent baeac08 commit 566b845

12 files changed

+16
-16
lines changed

core/helpers/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ set(NEO_CORE_HELPERS
4141
${CMAKE_CURRENT_SOURCE_DIR}/ptr_math.h
4242
${CMAKE_CURRENT_SOURCE_DIR}/register_offsets.h
4343
${CMAKE_CURRENT_SOURCE_DIR}/simd_helper.h
44+
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address.h
45+
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address_base.inl
46+
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address_bdw_plus.inl
4447
${CMAKE_CURRENT_SOURCE_DIR}/stdio.h
4548
${CMAKE_CURRENT_SOURCE_DIR}/string.h
4649
${CMAKE_CURRENT_SOURCE_DIR}/vec.h
File renamed without changes.

runtime/helpers/state_base_address_base.inl renamed to core/helpers/state_base_address_base.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#include "core/gmm_helper/gmm_helper.h"
99
#include "core/helpers/cache_policy.h"
1010
#include "core/helpers/hw_cmds.h"
11+
#include "core/helpers/state_base_address.h"
1112
#include "core/indirect_heap/indirect_heap.h"
1213
#include "core/memory_manager/memory_constants.h"
13-
#include "runtime/helpers/state_base_address.h"
1414

1515
namespace NEO {
1616
template <typename GfxFamily>

runtime/helpers/state_base_address_bdw_plus.inl renamed to core/helpers/state_base_address_bdw_plus.inl

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

8-
#include "runtime/helpers/state_base_address_base.inl"
8+
#include "core/helpers/state_base_address_base.inl"
99

1010
namespace NEO {
1111

runtime/command_stream/command_stream_receiver_hw_base.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "core/helpers/hw_helper.h"
1212
#include "core/helpers/preamble.h"
1313
#include "core/helpers/ptr_math.h"
14+
#include "core/helpers/state_base_address.h"
1415
#include "core/indirect_heap/indirect_heap.h"
1516
#include "runtime/command_queue/gpgpu_walker.h"
1617
#include "runtime/command_stream/command_stream_receiver_hw.h"
@@ -23,7 +24,6 @@
2324
#include "runtime/helpers/flat_batch_buffer_helper_hw.h"
2425
#include "runtime/helpers/flush_stamp.h"
2526
#include "runtime/helpers/options.h"
26-
#include "runtime/helpers/state_base_address.h"
2727
#include "runtime/helpers/state_compute_mode_helper.h"
2828
#include "runtime/helpers/timestamp_packet.h"
2929
#include "runtime/memory_manager/internal_allocation_storage.h"

runtime/gen11/state_base_address_gen11.cpp

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

8-
#include "runtime/helpers/state_base_address.h"
9-
#include "runtime/helpers/state_base_address_bdw_plus.inl"
8+
#include "core/helpers/state_base_address.h"
9+
#include "core/helpers/state_base_address_bdw_plus.inl"
1010

1111
namespace NEO {
1212
template struct StateBaseAddressHelper<ICLFamily>;

runtime/gen12lp/state_base_address_gen12lp.cpp

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

8-
#include "runtime/helpers/state_base_address.h"
9-
#include "runtime/helpers/state_base_address_bdw_plus.inl"
8+
#include "core/helpers/state_base_address.h"
9+
#include "core/helpers/state_base_address_bdw_plus.inl"
1010

1111
namespace NEO {
1212
template struct StateBaseAddressHelper<TGLLPFamily>;

runtime/gen8/state_base_address_gen8.cpp

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

8-
#include "runtime/helpers/state_base_address.h"
9-
#include "runtime/helpers/state_base_address_bdw_plus.inl"
8+
#include "core/helpers/state_base_address.h"
9+
#include "core/helpers/state_base_address_bdw_plus.inl"
1010

1111
namespace NEO {
1212
template struct StateBaseAddressHelper<BDWFamily>;

runtime/gen9/state_base_address_gen9.cpp

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

8-
#include "runtime/helpers/state_base_address.h"
9-
#include "runtime/helpers/state_base_address_bdw_plus.inl"
8+
#include "core/helpers/state_base_address.h"
9+
#include "core/helpers/state_base_address_bdw_plus.inl"
1010

1111
namespace NEO {
1212
template struct StateBaseAddressHelper<SKLFamily>;

runtime/helpers/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ set(RUNTIME_SRCS_HELPERS_BASE
6161
${CMAKE_CURRENT_SOURCE_DIR}/queue_helpers.h
6262
${CMAKE_CURRENT_SOURCE_DIR}/registered_method_dispatcher.h
6363
${CMAKE_CURRENT_SOURCE_DIR}/sampler_helpers.h
64-
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address.h
65-
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address_base.inl
66-
${CMAKE_CURRENT_SOURCE_DIR}/state_base_address_bdw_plus.inl
6764
${CMAKE_CURRENT_SOURCE_DIR}/state_compute_mode_helper.h
6865
${CMAKE_CURRENT_SOURCE_DIR}/string_helpers.h
6966
${CMAKE_CURRENT_SOURCE_DIR}/surface_formats.cpp

0 commit comments

Comments
 (0)