Skip to content

Commit 1028295

Browse files
Move per thread data to shared directory
Signed-off-by: Zbigniew Zdanowicz <[email protected]>
1 parent b786099 commit 1028295

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed

opencl/source/helpers/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ set(RUNTIME_SRCS_HELPERS_BASE
3939
${CMAKE_CURRENT_SOURCE_DIR}/memory_properties_helpers_base.inl
4040
${CMAKE_CURRENT_SOURCE_DIR}/mipmap.cpp
4141
${CMAKE_CURRENT_SOURCE_DIR}/mipmap.h
42-
${CMAKE_CURRENT_SOURCE_DIR}/per_thread_data.cpp
43-
${CMAKE_CURRENT_SOURCE_DIR}/per_thread_data.h
4442
${CMAKE_CURRENT_SOURCE_DIR}/properties_helper.h
4543
${CMAKE_CURRENT_SOURCE_DIR}/properties_helper.cpp
4644
${CMAKE_CURRENT_SOURCE_DIR}/queue_helpers.h

opencl/source/helpers/hardware_commands_helper.h

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

88
#pragma once
99
#include "shared/source/built_ins/built_ins.h"
10+
#include "shared/source/helpers/per_thread_data.h"
1011

11-
#include "opencl/source/helpers/per_thread_data.h"
1212
#include "opencl/source/kernel/kernel.h"
1313

1414
#include <algorithm>

opencl/source/kernel/kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "shared/source/helpers/get_info.h"
2020
#include "shared/source/helpers/hw_helper.h"
2121
#include "shared/source/helpers/kernel_helpers.h"
22+
#include "shared/source/helpers/per_thread_data.h"
2223
#include "shared/source/helpers/ptr_math.h"
2324
#include "shared/source/kernel/kernel_arg_descriptor_extended_device_side_enqueue.h"
2425
#include "shared/source/kernel/kernel_arg_descriptor_extended_vme.h"
@@ -40,7 +41,6 @@
4041
#include "opencl/source/helpers/cl_hw_helper.h"
4142
#include "opencl/source/helpers/dispatch_info.h"
4243
#include "opencl/source/helpers/get_info_status_mapper.h"
43-
#include "opencl/source/helpers/per_thread_data.h"
4444
#include "opencl/source/helpers/sampler_helpers.h"
4545
#include "opencl/source/helpers/surface_formats.h"
4646
#include "opencl/source/kernel/image_transformer.h"

opencl/test/unit_test/execution_model/enqueue_execution_model_kernel_tests.cpp

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

88
#include "shared/source/helpers/engine_node_helper.h"
99
#include "shared/source/helpers/local_id_gen.h"
10+
#include "shared/source/helpers/per_thread_data.h"
1011
#include "shared/test/common/cmd_parse/hw_parse.h"
1112
#include "shared/test/common/helpers/debug_manager_state_restore.h"
1213
#include "shared/test/unit_test/utilities/base_object_utils.h"
@@ -16,7 +17,6 @@
1617
#include "opencl/source/command_queue/gpgpu_walker.h"
1718
#include "opencl/source/device_queue/device_queue_hw.h"
1819
#include "opencl/source/event/user_event.h"
19-
#include "opencl/source/helpers/per_thread_data.h"
2020
#include "opencl/source/kernel/kernel.h"
2121
#include "opencl/test/unit_test/fixtures/device_host_queue_fixture.h"
2222
#include "opencl/test/unit_test/fixtures/execution_model_fixture.h"

opencl/test/unit_test/helpers/per_thread_data_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
#include "shared/source/command_stream/linear_stream.h"
99
#include "shared/source/helpers/aligned_memory.h"
1010
#include "shared/source/helpers/local_id_gen.h"
11+
#include "shared/source/helpers/per_thread_data.h"
1112
#include "shared/source/program/kernel_info.h"
1213
#include "shared/test/common/mocks/mock_graphics_allocation.h"
1314

14-
#include "opencl/source/helpers/per_thread_data.h"
1515
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
1616
#include "opencl/test/unit_test/mocks/mock_kernel.h"
1717
#include "test.h"

shared/source/helpers/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ set(NEO_CORE_HELPERS
8181
${CMAKE_CURRENT_SOURCE_DIR}/non_copyable_or_moveable.h
8282
${CMAKE_CURRENT_SOURCE_DIR}/options.h
8383
${CMAKE_CURRENT_SOURCE_DIR}/pause_on_gpu_properties.h
84+
${CMAKE_CURRENT_SOURCE_DIR}/per_thread_data.cpp
85+
${CMAKE_CURRENT_SOURCE_DIR}/per_thread_data.h
8486
${CMAKE_CURRENT_SOURCE_DIR}/pipeline_select_args.h
8587
${CMAKE_CURRENT_SOURCE_DIR}/pipeline_select_helper.h
8688
${CMAKE_CURRENT_SOURCE_DIR}/populate_factory.h

opencl/source/helpers/per_thread_data.cpp renamed to shared/source/helpers/per_thread_data.cpp

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

8-
#include "opencl/source/helpers/per_thread_data.h"
8+
#include "shared/source/helpers/per_thread_data.h"
99

1010
#include "shared/source/command_stream/linear_stream.h"
1111
#include "shared/source/helpers/debug_helpers.h"
File renamed without changes.

0 commit comments

Comments
 (0)