From 161e194eb8fab29aa9a756c85677e6e38ddc1b80 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Mon, 23 Sep 2024 10:43:46 -0700 Subject: [PATCH] [SYCL][NFC] Clenaup accessor.hpp includes --- sycl/include/sycl/accessor.hpp | 9 --------- sycl/test/include_deps/sycl_accessor.hpp.cpp | 13 ++++++------- sycl/test/include_deps/sycl_detail_core.hpp.cpp | 14 +++++++------- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/sycl/include/sycl/accessor.hpp b/sycl/include/sycl/accessor.hpp index 72f54f150ecfe..485753e2af549 100644 --- a/sycl/include/sycl/accessor.hpp +++ b/sycl/include/sycl/accessor.hpp @@ -9,8 +9,6 @@ #pragma once #include // for target, mode -#include // for float4, int4 -#include // for aspect #include // for atomic #include // for range #include // for accessor_iterator @@ -36,20 +34,13 @@ #include // for buffer, buffer... #include // for property_list #include // for range -#include // for addressing_mode -#include // for UR_RESULT_ERRO... #include // for size_t #include // for hash #include // for reverse_iterator #include // for numeric_limits #include // for shared_ptr -#include // for nullopt, optional -#include // for uint32_t -#include // for _Swallow_assign #include // for enable_if_t -#include // for type_info -#include // for hash /// \file accessor.hpp /// The file contains implementations of accessor class. diff --git a/sycl/test/include_deps/sycl_accessor.hpp.cpp b/sycl/test/include_deps/sycl_accessor.hpp.cpp index fd2628dfb6e1c..5e51278562b34 100644 --- a/sycl/test/include_deps/sycl_accessor.hpp.cpp +++ b/sycl/test/include_deps/sycl_accessor.hpp.cpp @@ -11,6 +11,12 @@ // CHECK-NEXT: CL/__spirv/spirv_types.hpp // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: CL/__spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp @@ -18,12 +24,6 @@ // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: CL/__spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/generic_type_lists.hpp // CHECK-NEXT: detail/type_list.hpp @@ -116,5 +116,4 @@ // CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/util.hpp // CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: sampler.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_detail_core.hpp.cpp b/sycl/test/include_deps/sycl_detail_core.hpp.cpp index 33dc01b8a4e74..ad97f74c140c2 100644 --- a/sycl/test/include_deps/sycl_detail_core.hpp.cpp +++ b/sycl/test/include_deps/sycl_detail_core.hpp.cpp @@ -12,6 +12,12 @@ // CHECK-NEXT: CL/__spirv/spirv_types.hpp // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: CL/__spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp @@ -19,12 +25,6 @@ // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: CL/__spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/generic_type_lists.hpp // CHECK-NEXT: detail/type_list.hpp @@ -117,7 +117,6 @@ // CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/util.hpp // CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: sampler.hpp // CHECK-NEXT: queue.hpp // CHECK-NEXT: detail/assert_happened.hpp // CHECK-NEXT: detail/cg_types.hpp @@ -159,5 +158,6 @@ // CHECK-NEXT: kernel.hpp // CHECK-NEXT: kernel_bundle.hpp // CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp +// CHECK-NEXT: sampler.hpp // CHECK-NEXT: feature_test.hpp // CHECK-EMPTY: