Skip to content

Commit 279181a

Browse files
Remove not needed include header
Signed-off-by: Zbigniew Zdanowicz <[email protected]>
1 parent cfc673b commit 279181a

File tree

8 files changed

+5
-15
lines changed

8 files changed

+5
-15
lines changed

level_zero/core/source/device/device_imp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
#include "shared/source/utilities/debug_settings_reader_creator.h"
3131

3232
#include "opencl/source/mem_obj/mem_obj.h"
33-
#include "opencl/source/os_interface/ocl_reg_path.h"
34-
#include "opencl/source/program/program.h"
3533

3634
#include "level_zero/core/source/builtin/builtin_functions_lib.h"
3735
#include "level_zero/core/source/cache/cache_reservation.h"

opencl/source/kernel/kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "shared/source/helpers/kernel_helpers.h"
2222
#include "shared/source/helpers/per_thread_data.h"
2323
#include "shared/source/helpers/ptr_math.h"
24+
#include "shared/source/helpers/surface_format_info.h"
2425
#include "shared/source/kernel/kernel_arg_descriptor_extended_device_side_enqueue.h"
2526
#include "shared/source/kernel/kernel_arg_descriptor_extended_vme.h"
2627
#include "shared/source/memory_manager/memory_manager.h"
@@ -42,7 +43,6 @@
4243
#include "opencl/source/helpers/dispatch_info.h"
4344
#include "opencl/source/helpers/get_info_status_mapper.h"
4445
#include "opencl/source/helpers/sampler_helpers.h"
45-
#include "opencl/source/helpers/surface_formats.h"
4646
#include "opencl/source/kernel/image_transformer.h"
4747
#include "opencl/source/kernel/kernel.inl"
4848
#include "opencl/source/kernel/kernel_info_cl.h"

opencl/test/unit_test/kernel/kernel_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "shared/source/gmm_helper/gmm_helper.h"
1111
#include "shared/source/helpers/flush_stamp.h"
1212
#include "shared/source/helpers/hw_helper.h"
13+
#include "shared/source/helpers/surface_format_info.h"
1314
#include "shared/source/memory_manager/allocations_list.h"
1415
#include "shared/source/memory_manager/os_agnostic_memory_manager.h"
1516
#include "shared/source/memory_manager/unified_memory_manager.h"
@@ -24,7 +25,6 @@
2425
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
2526
#include "opencl/source/helpers/cl_hw_helper.h"
2627
#include "opencl/source/helpers/memory_properties_helpers.h"
27-
#include "opencl/source/helpers/surface_formats.h"
2828
#include "opencl/source/kernel/kernel.h"
2929
#include "opencl/source/mem_obj/image.h"
3030
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
@@ -3421,4 +3421,4 @@ TEST_F(KernelImplicitArgsTest, givenKernelWithoutImplicitArgsWhenSettingKernelPa
34213421
kernel.setNumWorkGroupsValues(3, 2, 1);
34223422

34233423
EXPECT_EQ(nullptr, kernel.getImplicitArgs());
3424-
}
3424+
}

opencl/test/unit_test/mocks/mock_gmm_resource_info.h

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

88
#pragma once
99
#include "shared/source/gmm_helper/resource_info.h"
10-
11-
#include "opencl/source/helpers/surface_formats.h"
10+
#include "shared/source/helpers/surface_format_info.h"
1211

1312
#include "gmock/gmock.h"
1413

shared/source/helpers/blit_commands_helper_xehp_and_later.inl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include "shared/source/gmm_helper/gmm_helper.h"
1313
#include "shared/source/helpers/blit_commands_helper_base.inl"
1414

15-
#include "opencl/source/helpers/hardware_commands_helper.h"
16-
1715
namespace NEO {
1816

1917
template <typename GfxFamily>

shared/source/helpers/cache_flush.inl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
#include "shared/source/helpers/l3_range.h"
1111
#include "shared/source/utilities/range.h"
1212

13-
#include "opencl/source/helpers/hardware_commands_helper.h"
14-
#include "opencl/source/kernel/kernel.h"
15-
1613
#include "hw_cmds.h"
1714

1815
namespace NEO {

shared/source/os_interface/windows/page_table_manager_functions.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include "shared/source/gmm_helper/gmm_helper.h"
1010
#include "shared/source/gmm_helper/page_table_mngr.h"
1111

12-
#include "opencl/source/platform/platform.h"
13-
1412
namespace NEO {
1513
GmmPageTableMngr::GmmPageTableMngr(GmmClientContext *gmmClientContext, unsigned int translationTableFlags, GMM_TRANSLATIONTABLE_CALLBACKS *translationTableCb) : clientContext(gmmClientContext->getHandle()) {
1614
pageTableManager = clientContext->CreatePageTblMgrObject(translationTableCb, translationTableFlags);

shared/test/common/mocks/mock_memory_manager.cpp

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

1010
#include "shared/source/command_stream/command_stream_receiver.h"
1111
#include "shared/source/gmm_helper/gmm.h"
12+
#include "shared/source/helpers/surface_format_info.h"
1213
#include "shared/source/memory_manager/deferred_deleter.h"
1314

14-
#include "opencl/source/helpers/surface_formats.h"
1515
#include "opencl/test/unit_test/mocks/mock_allocation_properties.h"
1616

1717
#include <cstring>

0 commit comments

Comments
 (0)