From 3311a7a030b57f24a069d64296220c2b7e5a11a3 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 27 May 2025 18:07:08 +0200 Subject: [PATCH 01/14] WIP --- sycl/include/sycl/define_vendors.hpp | 1 - .../sycl/detail/is_device_copyable.hpp | 5 - sycl/include/sycl/khr/includes/accessor | 14 ++ sycl/include/sycl/khr/includes/atomic | 15 ++ sycl/include/sycl/khr/includes/backend | 0 sycl/include/sycl/khr/includes/bit | 0 sycl/include/sycl/khr/includes/buffer | 14 ++ sycl/include/sycl/khr/includes/byte | 0 sycl/include/sycl/khr/includes/context | 14 ++ sycl/include/sycl/khr/includes/device | 15 ++ sycl/include/sycl/khr/includes/event | 0 sycl/include/sycl/khr/includes/exception | 15 ++ sycl/include/sycl/khr/includes/functional | 14 ++ sycl/include/sycl/khr/includes/groups | 17 ++ sycl/include/sycl/khr/includes/half | 14 ++ sycl/include/sycl/khr/includes/handler | 14 ++ .../khr/includes/hierarchical_parallelism | 0 sycl/include/sycl/khr/includes/image | 15 ++ sycl/include/sycl/khr/includes/index_space | 20 +++ sycl/include/sycl/khr/includes/interop_handle | 0 sycl/include/sycl/khr/includes/kernel_bundle | 15 ++ sycl/include/sycl/khr/includes/marray | 14 ++ sycl/include/sycl/khr/includes/math | 14 ++ sycl/include/sycl/khr/includes/multi_ptr | 14 ++ sycl/include/sycl/khr/includes/platform | 14 ++ sycl/include/sycl/khr/includes/property_list | 0 sycl/include/sycl/khr/includes/queue | 14 ++ sycl/include/sycl/khr/includes/reduction | 14 ++ sycl/include/sycl/khr/includes/span | 0 sycl/include/sycl/khr/includes/stream | 14 ++ sycl/include/sycl/khr/includes/type_traits | 14 ++ sycl/include/sycl/khr/includes/usm | 15 ++ sycl/include/sycl/khr/includes/vec | 14 ++ sycl/include/sycl/khr/includes/version | 38 +++++ sycl/include/sycl/sycl.hpp | 3 + .../include_deps/sycl_khr_includes_event.cpp | 8 + .../sycl_khr_includes_handler.cpp | 142 +++++++++++++++++ .../include_deps/sycl_khr_includes_queue.cpp | 147 ++++++++++++++++++ .../sycl_khr_includes_version.cpp | 10 ++ sycl/test/include_deps/update_test.sh | 6 + 40 files changed, 691 insertions(+), 6 deletions(-) create mode 100644 sycl/include/sycl/khr/includes/accessor create mode 100644 sycl/include/sycl/khr/includes/atomic create mode 100644 sycl/include/sycl/khr/includes/backend create mode 100644 sycl/include/sycl/khr/includes/bit create mode 100644 sycl/include/sycl/khr/includes/buffer create mode 100644 sycl/include/sycl/khr/includes/byte create mode 100644 sycl/include/sycl/khr/includes/context create mode 100644 sycl/include/sycl/khr/includes/device create mode 100644 sycl/include/sycl/khr/includes/event create mode 100644 sycl/include/sycl/khr/includes/exception create mode 100644 sycl/include/sycl/khr/includes/functional create mode 100644 sycl/include/sycl/khr/includes/groups create mode 100644 sycl/include/sycl/khr/includes/half create mode 100644 sycl/include/sycl/khr/includes/handler create mode 100644 sycl/include/sycl/khr/includes/hierarchical_parallelism create mode 100644 sycl/include/sycl/khr/includes/image create mode 100644 sycl/include/sycl/khr/includes/index_space create mode 100644 sycl/include/sycl/khr/includes/interop_handle create mode 100644 sycl/include/sycl/khr/includes/kernel_bundle create mode 100644 sycl/include/sycl/khr/includes/marray create mode 100644 sycl/include/sycl/khr/includes/math create mode 100644 sycl/include/sycl/khr/includes/multi_ptr create mode 100644 sycl/include/sycl/khr/includes/platform create mode 100644 sycl/include/sycl/khr/includes/property_list create mode 100644 sycl/include/sycl/khr/includes/queue create mode 100644 sycl/include/sycl/khr/includes/reduction create mode 100644 sycl/include/sycl/khr/includes/span create mode 100644 sycl/include/sycl/khr/includes/stream create mode 100644 sycl/include/sycl/khr/includes/type_traits create mode 100644 sycl/include/sycl/khr/includes/usm create mode 100644 sycl/include/sycl/khr/includes/vec create mode 100644 sycl/include/sycl/khr/includes/version create mode 100644 sycl/test/include_deps/sycl_khr_includes_event.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_handler.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_queue.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_version.cpp diff --git a/sycl/include/sycl/define_vendors.hpp b/sycl/include/sycl/define_vendors.hpp index ed32eccada025..d91e542870c4c 100644 --- a/sycl/include/sycl/define_vendors.hpp +++ b/sycl/include/sycl/define_vendors.hpp @@ -9,5 +9,4 @@ #pragma once #define SYCL_IMPLEMENTATION_ONEAPI -#define SYCL_FEATURE_SET_FULL #define SYCL_IMPLEMENTATION_INTEL diff --git a/sycl/include/sycl/detail/is_device_copyable.hpp b/sycl/include/sycl/detail/is_device_copyable.hpp index ea036779546a6..c7229055e3af9 100644 --- a/sycl/include/sycl/detail/is_device_copyable.hpp +++ b/sycl/include/sycl/detail/is_device_copyable.hpp @@ -14,11 +14,6 @@ #include #include -/// This macro must be defined to 1 when SYCL implementation allows user -/// applications to explicitly declare certain class types as device copyable -/// by adding specializations of is_device_copyable type trait class. -#define SYCL_DEVICE_COPYABLE 1 - namespace sycl { inline namespace _V1 { /// is_device_copyable is a user specializable class template to indicate diff --git a/sycl/include/sycl/khr/includes/accessor b/sycl/include/sycl/khr/includes/accessor new file mode 100644 index 0000000000000..77a4436142af1 --- /dev/null +++ b/sycl/include/sycl/khr/includes/accessor @@ -0,0 +1,14 @@ +//==-------- accessor --- SYCL accessor classes definition -----*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_ACCESSOR +#define __SYCL_KHR_INCLUDES_ACCESSOR + +#include + +#endif // __SYCL_KHR_INCLUDES_ACCESSOR diff --git a/sycl/include/sycl/khr/includes/atomic b/sycl/include/sycl/khr/includes/atomic new file mode 100644 index 0000000000000..9eb502a4e2794 --- /dev/null +++ b/sycl/include/sycl/khr/includes/atomic @@ -0,0 +1,15 @@ +//==---------- atomic --- SYCL atomic_ref class definition -----*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_ATOMIC +#define __SYCL_KHR_INCLUDES_ATOMIC + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_ATOMIC diff --git a/sycl/include/sycl/khr/includes/backend b/sycl/include/sycl/khr/includes/backend new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/bit b/sycl/include/sycl/khr/includes/bit new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/buffer b/sycl/include/sycl/khr/includes/buffer new file mode 100644 index 0000000000000..f68639fa2e30d --- /dev/null +++ b/sycl/include/sycl/khr/includes/buffer @@ -0,0 +1,14 @@ +//==------------- buffer --- SYCL buffer class definition ------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_BUFFER +#define __SYCL_KHR_INCLUDES_BUFFER + +#include + +#endif // __SYCL_KHR_INCLUDES_BUFFER diff --git a/sycl/include/sycl/khr/includes/byte b/sycl/include/sycl/khr/includes/byte new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/context b/sycl/include/sycl/khr/includes/context new file mode 100644 index 0000000000000..fc119cab312df --- /dev/null +++ b/sycl/include/sycl/khr/includes/context @@ -0,0 +1,14 @@ +//==---------------- context --- SYCL context class ------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_CONTEXT +#define __SYCL_KHR_INCLUDES_CONTEXT + +#include + +#endif // __SYCL_KHR_INCLUDES_CONTEXT diff --git a/sycl/include/sycl/khr/includes/device b/sycl/include/sycl/khr/includes/device new file mode 100644 index 0000000000000..f3a6fc76be224 --- /dev/null +++ b/sycl/include/sycl/khr/includes/device @@ -0,0 +1,15 @@ +//==------------------ device --- SYCL device class ------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_DEVICE +#define __SYCL_KHR_INCLUDES_DEVICE + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_DEVICE diff --git a/sycl/include/sycl/khr/includes/event b/sycl/include/sycl/khr/includes/event new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/exception b/sycl/include/sycl/khr/includes/exception new file mode 100644 index 0000000000000..1e5d06f872e2c --- /dev/null +++ b/sycl/include/sycl/khr/includes/exception @@ -0,0 +1,15 @@ +//==------------------ exception --- SYCL exceptions -----------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_EXCEPTION +#define __SYCL_KHR_INCLUDES_EXCEPTION + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_EXCEPTION diff --git a/sycl/include/sycl/khr/includes/functional b/sycl/include/sycl/khr/includes/functional new file mode 100644 index 0000000000000..6088ac6ee2c54 --- /dev/null +++ b/sycl/include/sycl/khr/includes/functional @@ -0,0 +1,14 @@ +//==-------------- functional --- SYCL function objects --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_FUNCTIONAL +#define __SYCL_KHR_INCLUDES_FUNCTIONAL + +#include + +#endif // __SYCL_KHR_INCLUDES_FUNCTIONAL diff --git a/sycl/include/sycl/khr/includes/groups b/sycl/include/sycl/khr/includes/groups new file mode 100644 index 0000000000000..0c53e4a0f7218 --- /dev/null +++ b/sycl/include/sycl/khr/includes/groups @@ -0,0 +1,17 @@ +//==----------------- groups --- SYCL group classes ------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_GROUPS +#define __SYCL_KHR_INCLUDES_GROUPS + +#include +#include +#include +#include + +#endif // __SYCL_KHR_INCLUDES_GROUPS diff --git a/sycl/include/sycl/khr/includes/half b/sycl/include/sycl/khr/includes/half new file mode 100644 index 0000000000000..fbe1ef7f1ca64 --- /dev/null +++ b/sycl/include/sycl/khr/includes/half @@ -0,0 +1,14 @@ +//==------------- half --- SYCL half data type definition ------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_HALF +#define __SYCL_KHR_INCLUDES_HALF + +#include + +#endif // __SYCL_KHR_INCLUDES_HALF diff --git a/sycl/include/sycl/khr/includes/handler b/sycl/include/sycl/khr/includes/handler new file mode 100644 index 0000000000000..56262823d459d --- /dev/null +++ b/sycl/include/sycl/khr/includes/handler @@ -0,0 +1,14 @@ +//==--------- handler --- SYCL handler class definition --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_HANDLER +#define __SYCL_KHR_INCLUDES_HANDLER + +#include + +#endif // __SYCL_KHR_INCLUDES_HANDLER diff --git a/sycl/include/sycl/khr/includes/hierarchical_parallelism b/sycl/include/sycl/khr/includes/hierarchical_parallelism new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/image b/sycl/include/sycl/khr/includes/image new file mode 100644 index 0000000000000..bbb3898934257 --- /dev/null +++ b/sycl/include/sycl/khr/includes/image @@ -0,0 +1,15 @@ +//==------------------ image --- SYCL images ------------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_IMAGE +#define __SYCL_KHR_INCLUDES_IMAGE + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_IMAGE diff --git a/sycl/include/sycl/khr/includes/index_space b/sycl/include/sycl/khr/includes/index_space new file mode 100644 index 0000000000000..488156766cd18 --- /dev/null +++ b/sycl/include/sycl/khr/includes/index_space @@ -0,0 +1,20 @@ +//==--------- index_space --- SYCL index space classes ---------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_INDEX_SPACE +#define __SYCL_KHR_INCLUDES_INDEX_SPACE + +#include +#include +#include +#include +#include + +#endif // __SYCL_KHR_INCLUDES_INDEX_SPACE + + diff --git a/sycl/include/sycl/khr/includes/interop_handle b/sycl/include/sycl/khr/includes/interop_handle new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/kernel_bundle b/sycl/include/sycl/khr/includes/kernel_bundle new file mode 100644 index 0000000000000..b682b00d822fb --- /dev/null +++ b/sycl/include/sycl/khr/includes/kernel_bundle @@ -0,0 +1,15 @@ +//==---------- kernel_bundle --- SYCL kernel bundles -----------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_KERNEL_BUNDLE +#define __SYCL_KHR_INCLUDES_KERNEL_BUNDLE + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_KERNEL_BUNDLE diff --git a/sycl/include/sycl/khr/includes/marray b/sycl/include/sycl/khr/includes/marray new file mode 100644 index 0000000000000..6746b0dc8c74b --- /dev/null +++ b/sycl/include/sycl/khr/includes/marray @@ -0,0 +1,14 @@ +//==------------ marray --- SYCL marray class definition -------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_MARRAY +#define __SYCL_KHR_INCLUDES_MARRAY + +#include + +#endif // __SYCL_KHR_INCLUDES_MARRAY diff --git a/sycl/include/sycl/khr/includes/math b/sycl/include/sycl/khr/includes/math new file mode 100644 index 0000000000000..30e0f4993a556 --- /dev/null +++ b/sycl/include/sycl/khr/includes/math @@ -0,0 +1,14 @@ +//==------------- math --- SYCL built-in math functions --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_MATH +#define __SYCL_KHR_INCLUDES_MATH + +#include + +#endif // __SYCL_KHR_INCLUDES_MATH diff --git a/sycl/include/sycl/khr/includes/multi_ptr b/sycl/include/sycl/khr/includes/multi_ptr new file mode 100644 index 0000000000000..6453f8c80ed7d --- /dev/null +++ b/sycl/include/sycl/khr/includes/multi_ptr @@ -0,0 +1,14 @@ +//==-------------- multi_ptr --- SYCL multi_ptr class ----------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_MULTI_PTR +#define __SYCL_KHR_INCLUDES_MULTI_PTR + +#include + +#endif // __SYCL_KHR_INCLUDES_MULTI_PTR diff --git a/sycl/include/sycl/khr/includes/platform b/sycl/include/sycl/khr/includes/platform new file mode 100644 index 0000000000000..f4c467741e48f --- /dev/null +++ b/sycl/include/sycl/khr/includes/platform @@ -0,0 +1,14 @@ +//==-------------- platform --- SYCL platform class ------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_PLATFORM +#define __SYCL_KHR_INCLUDES_PLATFORM + +#include + +#endif // __SYCL_KHR_INCLUDES_PLATFORM diff --git a/sycl/include/sycl/khr/includes/property_list b/sycl/include/sycl/khr/includes/property_list new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/queue b/sycl/include/sycl/khr/includes/queue new file mode 100644 index 0000000000000..44b396b4d66c5 --- /dev/null +++ b/sycl/include/sycl/khr/includes/queue @@ -0,0 +1,14 @@ +//==----------- queue --- SYCL queue class definition ----------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_QUEUE +#define __SYCL_KHR_INCLUDES_QUEUE + +#include + +#endif // __SYCL_KHR_INCLUDES_QUEUE diff --git a/sycl/include/sycl/khr/includes/reduction b/sycl/include/sycl/khr/includes/reduction new file mode 100644 index 0000000000000..6979f05ea0433 --- /dev/null +++ b/sycl/include/sycl/khr/includes/reduction @@ -0,0 +1,14 @@ +//==-------------- reduction --- SYCL reductions ---------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_REDUCTION +#define __SYCL_KHR_INCLUDES_REDUCTION + +#include + +#endif // __SYCL_KHR_INCLUDES_REDUCTION diff --git a/sycl/include/sycl/khr/includes/span b/sycl/include/sycl/khr/includes/span new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sycl/include/sycl/khr/includes/stream b/sycl/include/sycl/khr/includes/stream new file mode 100644 index 0000000000000..12accb8fddfc7 --- /dev/null +++ b/sycl/include/sycl/khr/includes/stream @@ -0,0 +1,14 @@ +//==--------------- stream --- SYCL stream class ---------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_STREAM +#define __SYCL_KHR_INCLUDES_STREAM + +#include + +#endif // __SYCL_KHR_INCLUDES_STREAM diff --git a/sycl/include/sycl/khr/includes/type_traits b/sycl/include/sycl/khr/includes/type_traits new file mode 100644 index 0000000000000..e575a015bffbd --- /dev/null +++ b/sycl/include/sycl/khr/includes/type_traits @@ -0,0 +1,14 @@ +//==------------- type_traits --- SYCL type traits -------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_TYPE_TRAITS +#define __SYCL_KHR_INCLUDES_TYPE_TRAITS + +#include + +#endif // __SYCL_KHR_INCLUDES_TYPE_TRAITS diff --git a/sycl/include/sycl/khr/includes/usm b/sycl/include/sycl/khr/includes/usm new file mode 100644 index 0000000000000..870c67696440d --- /dev/null +++ b/sycl/include/sycl/khr/includes/usm @@ -0,0 +1,15 @@ +//==------------------ usm --- SYCL USM functions --------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_USM +#define __SYCL_KHR_INCLUDES_USM + +#include +#include + +#endif // __SYCL_KHR_INCLUDES_USM diff --git a/sycl/include/sycl/khr/includes/vec b/sycl/include/sycl/khr/includes/vec new file mode 100644 index 0000000000000..cc1fd1cc260a4 --- /dev/null +++ b/sycl/include/sycl/khr/includes/vec @@ -0,0 +1,14 @@ +//==----------------- vec --- SYCL vec class definition --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_VEC +#define __SYCL_KHR_INCLUDES_VEC + +#include + +#endif // __SYCL_KHR_INCLUDES_VEC diff --git a/sycl/include/sycl/khr/includes/version b/sycl/include/sycl/khr/includes/version new file mode 100644 index 0000000000000..a15704c4fdfae --- /dev/null +++ b/sycl/include/sycl/khr/includes/version @@ -0,0 +1,38 @@ +//==-------- version --- SYCL preprocessor definitions ---------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_VERSION +#define __SYCL_KHR_INCLUDES_VERSION + +// SYCL_LANGUAGE_VERSION is currently defined by the compiler. If we ever change +// that, then it must be defined in this header (directly, or indirectly) +#ifndef SYCL_LANGUAGE_VERSION +// Can't build sycl-ls - it seems like it uses sycl.hpp with a 3rd-party +// compiler. +// Ideally, this should be set by the compiler, because it allows to specify +// a version. +// However, we may need to have some fallback here if someone includes SYCL +// headers into their host applications and use 3rd-party compilers. +// #error "SYCL_LANGUAGE_VERSION is not defined, please report this as a bug" +#endif + +/// We support everything from the specification +#define SYCL_FEATURE_SET_FULL 1 + +/// This macro must be defined to 1 when SYCL implementation allows user +/// applications to explicitly declare certain class types as device copyable +/// by adding specializations of is_device_copyable type trait class. +#define SYCL_DEVICE_COPYABLE 1 + +// SYCL_EXTERNAL definition +#include + +// Extension-provided macro +#include + +#endif // __SYCL_KHR_INCLUDES_VERSION diff --git a/sycl/include/sycl/sycl.hpp b/sycl/include/sycl/sycl.hpp index a09870dd77c30..ba113326529e8 100644 --- a/sycl/include/sycl/sycl.hpp +++ b/sycl/include/sycl/sycl.hpp @@ -32,6 +32,9 @@ can be disabled by setting SYCL_DISABLE_FSYCL_SYCLHPP_WARNING macro.") #undef __SYCL_TOSTRING #undef __SYCL_STRINGIFY +// All SYCL macro are provided through this header +#include + #include #include diff --git a/sycl/test/include_deps/sycl_khr_includes_event.cpp b/sycl/test/include_deps/sycl_khr_includes_event.cpp new file mode 100644 index 0000000000000..8a38c0f326baf --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_event.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/event | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/event +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_handler.cpp b/sycl/test/include_deps/sycl_khr_includes_handler.cpp new file mode 100644 index 0000000000000..9711713f8b250 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_handler.cpp @@ -0,0 +1,142 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/handler | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/handler +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.cpp new file mode 100644 index 0000000000000..8a9ce4b0a22fe --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_queue.cpp @@ -0,0 +1,147 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/queue | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/queue +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/assert_happened.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_version.cpp b/sycl/test/include_deps/sycl_khr_includes_version.cpp new file mode 100644 index 0000000000000..b74089cb9c6e1 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_version.cpp @@ -0,0 +1,10 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/version | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/version +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/update_test.sh b/sycl/test/include_deps/update_test.sh index cff4da0cb9a63..a21cc8308f733 100755 --- a/sycl/test/include_deps/update_test.sh +++ b/sycl/test/include_deps/update_test.sh @@ -6,6 +6,12 @@ HEADERS=( sycl/accessor.hpp sycl/detail/core.hpp + + sycl/khr/includes/version + sycl/khr/includes/queue + sycl/khr/includes/handler + sycl/khr/includes/event + sycl/khr/includes/index_space ) for x in ${HEADERS[@]} ; do From 0f3edf5466b3765ea2df9f6e7a0eb130e1c26a7f Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 27 May 2025 18:22:08 +0200 Subject: [PATCH 02/14] WIP --- sycl/include/sycl/khr/includes/kernel_bundle | 1 + sycl/include/sycl/khr/includes/queue | 1 + .../sycl_khr_includes_accessor.cpp | 92 +++++++++ .../include_deps/sycl_khr_includes_atomic.cpp | 61 ++++++ .../sycl_khr_includes_backend.cpp | 8 + .../include_deps/sycl_khr_includes_bit.cpp | 8 + .../include_deps/sycl_khr_includes_buffer.cpp | 42 ++++ .../include_deps/sycl_khr_includes_byte.cpp | 8 + .../sycl_khr_includes_context.cpp | 74 +++++++ .../include_deps/sycl_khr_includes_device.cpp | 68 +++++++ .../sycl_khr_includes_exception.cpp | 14 ++ .../sycl_khr_includes_functional.cpp | 9 + .../include_deps/sycl_khr_includes_groups.cpp | 72 +++++++ .../include_deps/sycl_khr_includes_half.cpp | 17 ++ ..._khr_includes_hierarchical_parallelism.cpp | 8 + .../include_deps/sycl_khr_includes_image.cpp | 105 ++++++++++ .../sycl_khr_includes_index_space.cpp | 45 +++++ .../sycl_khr_includes_interop_handle.cpp | 8 + .../sycl_khr_includes_kernel_bundle.cpp | 145 ++++++++++++++ .../include_deps/sycl_khr_includes_marray.cpp | 27 +++ .../include_deps/sycl_khr_includes_math.cpp | 51 +++++ .../sycl_khr_includes_multi_ptr.cpp | 24 +++ .../sycl_khr_includes_platform.cpp | 67 +++++++ .../sycl_khr_includes_property_list.cpp | 8 + .../include_deps/sycl_khr_includes_queue.cpp | 2 + .../sycl_khr_includes_reduction.cpp | 180 ++++++++++++++++++ .../include_deps/sycl_khr_includes_span.cpp | 8 + .../include_deps/sycl_khr_includes_stream.cpp | 159 ++++++++++++++++ .../sycl_khr_includes_type_traits.cpp | 15 ++ .../include_deps/sycl_khr_includes_usm.cpp | 166 ++++++++++++++++ .../include_deps/sycl_khr_includes_vec.cpp | 38 ++++ sycl/test/include_deps/update_test.sh | 33 +++- 32 files changed, 1561 insertions(+), 3 deletions(-) create mode 100644 sycl/test/include_deps/sycl_khr_includes_accessor.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_atomic.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_backend.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_bit.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_buffer.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_byte.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_context.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_device.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_exception.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_functional.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_groups.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_half.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_image.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_index_space.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_marray.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_math.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_platform.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_property_list.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_reduction.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_span.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_stream.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_type_traits.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_usm.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_vec.cpp diff --git a/sycl/include/sycl/khr/includes/kernel_bundle b/sycl/include/sycl/khr/includes/kernel_bundle index b682b00d822fb..8e079ebbd6d1d 100644 --- a/sycl/include/sycl/khr/includes/kernel_bundle +++ b/sycl/include/sycl/khr/includes/kernel_bundle @@ -11,5 +11,6 @@ #include #include +#include #endif // __SYCL_KHR_INCLUDES_KERNEL_BUNDLE diff --git a/sycl/include/sycl/khr/includes/queue b/sycl/include/sycl/khr/includes/queue index 44b396b4d66c5..e0c1c98e846d8 100644 --- a/sycl/include/sycl/khr/includes/queue +++ b/sycl/include/sycl/khr/includes/queue @@ -10,5 +10,6 @@ #define __SYCL_KHR_INCLUDES_QUEUE #include +#include #endif // __SYCL_KHR_INCLUDES_QUEUE diff --git a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp new file mode 100644 index 0000000000000..0f5a76713a245 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp @@ -0,0 +1,92 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/accessor | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/accessor +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __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: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp new file mode 100644 index 0000000000000..90208c8dc2a90 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -0,0 +1,61 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/atomic | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/atomic +// CHECK-NEXT: atomic_ref.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: atomic_fence.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_backend.cpp b/sycl/test/include_deps/sycl_khr_includes_backend.cpp new file mode 100644 index 0000000000000..b98c3f0826688 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_backend.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/backend | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/backend +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_bit.cpp b/sycl/test/include_deps/sycl_khr_includes_bit.cpp new file mode 100644 index 0000000000000..6cf5c158a7a42 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_bit.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/bit | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/bit +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_buffer.cpp b/sycl/test/include_deps/sycl_khr_includes_buffer.cpp new file mode 100644 index 0000000000000..69d9ad9f021d2 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_buffer.cpp @@ -0,0 +1,42 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/buffer | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/buffer +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_byte.cpp b/sycl/test/include_deps/sycl_khr_includes_byte.cpp new file mode 100644 index 0000000000000..96a9134cd6033 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_byte.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/byte | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/byte +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_context.cpp b/sycl/test/include_deps/sycl_khr_includes_context.cpp new file mode 100644 index 0000000000000..d98e2aa415048 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_context.cpp @@ -0,0 +1,74 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/context | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/context +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_device.cpp b/sycl/test/include_deps/sycl_khr_includes_device.cpp new file mode 100644 index 0000000000000..fea3dc9be8827 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_device.cpp @@ -0,0 +1,68 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/device | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/device +// CHECK-NEXT: device.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_exception.cpp b/sycl/test/include_deps/sycl_khr_includes_exception.cpp new file mode 100644 index 0000000000000..984f947afcdbb --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_exception.cpp @@ -0,0 +1,14 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/exception | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/exception +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_functional.cpp b/sycl/test/include_deps/sycl_khr_includes_functional.cpp new file mode 100644 index 0000000000000..5f3a09a859b02 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_functional.cpp @@ -0,0 +1,9 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/functional | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/functional +// CHECK-NEXT: functional.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp new file mode 100644 index 0000000000000..2655ae02bacd6 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_groups.cpp @@ -0,0 +1,72 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/groups | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/groups +// CHECK-NEXT: group.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: sub_group.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: group_algorithm.hpp +// CHECK-NEXT: functional.hpp +// CHECK-NEXT: known_identity.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: ext/oneapi/functional.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: group_barrier.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_half.cpp b/sycl/test/include_deps/sycl_khr_includes_half.cpp new file mode 100644 index 0000000000000..eca97d060a80f --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_half.cpp @@ -0,0 +1,17 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/half | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/half +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp new file mode 100644 index 0000000000000..e2381556726cc --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/hierarchical_parallelism | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/hierarchical_parallelism +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_image.cpp b/sycl/test/include_deps/sycl_khr_includes_image.cpp new file mode 100644 index 0000000000000..43db31a85ec95 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_image.cpp @@ -0,0 +1,105 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/image | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/image +// CHECK-NEXT: image.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/backend_traits.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: accessor_image.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/image_accessor_util.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: detail/image_ocl_types.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_index_space.cpp b/sycl/test/include_deps/sycl_khr_includes_index_space.cpp new file mode 100644 index 0000000000000..6131a1fdf110a --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_index_space.cpp @@ -0,0 +1,45 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/index_space | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/index_space +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp new file mode 100644 index 0000000000000..ceacda4fcd7a1 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/interop_handle | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/interop_handle +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp new file mode 100644 index 0000000000000..47989475fd230 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp @@ -0,0 +1,145 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/kernel_bundle | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/kernel_bundle +// CHECK-NEXT: kernel_bundle.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp +// CHECK-NEXT: specialization_id.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_marray.cpp b/sycl/test/include_deps/sycl_khr_includes_marray.cpp new file mode 100644 index 0000000000000..9e6c6b92f0aee --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_marray.cpp @@ -0,0 +1,27 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/marray | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/marray +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_math.cpp b/sycl/test/include_deps/sycl_khr_includes_math.cpp new file mode 100644 index 0000000000000..61122fc901a3d --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_math.cpp @@ -0,0 +1,51 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/math | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/math +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp new file mode 100644 index 0000000000000..36b94d885bdd8 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp @@ -0,0 +1,24 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/multi_ptr | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/multi_ptr +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_platform.cpp b/sycl/test/include_deps/sycl_khr_includes_platform.cpp new file mode 100644 index 0000000000000..966ec8e9db07a --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_platform.cpp @@ -0,0 +1,67 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/platform | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/platform +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp new file mode 100644 index 0000000000000..3896294154c95 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/property_list | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/property_list +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.cpp index 8a9ce4b0a22fe..e3c94665886cf 100644 --- a/sycl/test/include_deps/sycl_khr_includes_queue.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_queue.cpp @@ -144,4 +144,6 @@ // CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp +// CHECK-NEXT: properties/queue_properties.hpp +// CHECK-NEXT: properties/queue_properties.def // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp new file mode 100644 index 0000000000000..e8c2881f783b5 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -0,0 +1,180 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/reduction | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/reduction +// CHECK-NEXT: reduction.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: atomic_ref.hpp +// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/tuple.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: group_algorithm.hpp +// CHECK-NEXT: functional.hpp +// CHECK-NEXT: known_identity.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: ext/oneapi/functional.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: properties/reduction_properties.hpp +// CHECK-NEXT: properties/reduction_properties.def +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: detail/assert_happened.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: sycl_span.hpp +// CHECK-NEXT: usm.hpp +// CHECK-NEXT: usm/usm_pointer_info.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_span.cpp b/sycl/test/include_deps/sycl_khr_includes_span.cpp new file mode 100644 index 0000000000000..95c12aec12782 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_span.cpp @@ -0,0 +1,8 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/span | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/span +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_stream.cpp b/sycl/test/include_deps/sycl_khr_includes_stream.cpp new file mode 100644 index 0000000000000..f1e9f7a5c93db --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_stream.cpp @@ -0,0 +1,159 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/stream | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/stream +// CHECK-NEXT: stream.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp b/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp new file mode 100644 index 0000000000000..07a8a2eb7cb08 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp @@ -0,0 +1,15 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/type_traits | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/type_traits +// CHECK-NEXT: device_aspect_traits.hpp +// CHECK-NEXT: device_aspect_macros.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_usm.cpp b/sycl/test/include_deps/sycl_khr_includes_usm.cpp new file mode 100644 index 0000000000000..ac475a93f175c --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_usm.cpp @@ -0,0 +1,166 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/usm | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/usm +// CHECK-NEXT: usm.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: device.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/assert_happened.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: usm/usm_pointer_info.hpp +// CHECK-NEXT: usm/usm_allocator.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_vec.cpp b/sycl/test/include_deps/sycl_khr_includes_vec.cpp new file mode 100644 index 0000000000000..80dd726e8a9bb --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_vec.cpp @@ -0,0 +1,38 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/vec | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/vec +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/update_test.sh b/sycl/test/include_deps/update_test.sh index a21cc8308f733..e78f96555ef8c 100755 --- a/sycl/test/include_deps/update_test.sh +++ b/sycl/test/include_deps/update_test.sh @@ -7,11 +7,38 @@ HEADERS=( sycl/detail/core.hpp - sycl/khr/includes/version - sycl/khr/includes/queue - sycl/khr/includes/handler + sycl/khr/includes/accessor + sycl/khr/includes/atomic + sycl/khr/includes/backend + sycl/khr/includes/bit + sycl/khr/includes/buffer + sycl/khr/includes/byte + sycl/khr/includes/context + sycl/khr/includes/device sycl/khr/includes/event + sycl/khr/includes/exception + sycl/khr/includes/functional + sycl/khr/includes/groups + sycl/khr/includes/half + sycl/khr/includes/handler + sycl/khr/includes/hierarchical_parallelism + sycl/khr/includes/image sycl/khr/includes/index_space + sycl/khr/includes/interop_handle + sycl/khr/includes/kernel_bundle + sycl/khr/includes/marray + sycl/khr/includes/math + sycl/khr/includes/multi_ptr + sycl/khr/includes/platform + sycl/khr/includes/property_list + sycl/khr/includes/queue + sycl/khr/includes/reduction + sycl/khr/includes/span + sycl/khr/includes/stream + sycl/khr/includes/type_traits + sycl/khr/includes/usm + sycl/khr/includes/vec + sycl/khr/includes/version ) for x in ${HEADERS[@]} ; do From 4120172408af27c1b8ff03309c11bd56a8c0fce3 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 09:38:01 +0200 Subject: [PATCH 03/14] WIP --- sycl/include/sycl/khr/includes/image | 1 + sycl/include/sycl/khr/includes/reduction | 1 + 2 files changed, 2 insertions(+) diff --git a/sycl/include/sycl/khr/includes/image b/sycl/include/sycl/khr/includes/image index bbb3898934257..dc5095c170428 100644 --- a/sycl/include/sycl/khr/includes/image +++ b/sycl/include/sycl/khr/includes/image @@ -11,5 +11,6 @@ #include #include +#include #endif // __SYCL_KHR_INCLUDES_IMAGE diff --git a/sycl/include/sycl/khr/includes/reduction b/sycl/include/sycl/khr/includes/reduction index 6979f05ea0433..e02318bc1f27f 100644 --- a/sycl/include/sycl/khr/includes/reduction +++ b/sycl/include/sycl/khr/includes/reduction @@ -10,5 +10,6 @@ #define __SYCL_KHR_INCLUDES_REDUCTION #include +#include #endif // __SYCL_KHR_INCLUDES_REDUCTION From d4fb7e07383d0611e938e8b4602d47f7dda99b7b Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 11:47:59 +0200 Subject: [PATCH 04/14] Add content for the remaining headers --- sycl/include/sycl/khr/includes/backend | 14 ++ sycl/include/sycl/khr/includes/bit | 14 ++ sycl/include/sycl/khr/includes/byte | 14 ++ sycl/include/sycl/khr/includes/event | 14 ++ .../khr/includes/hierarchical_parallelism | 16 ++ sycl/include/sycl/khr/includes/interop_handle | 14 ++ sycl/include/sycl/khr/includes/property_list | 14 ++ sycl/include/sycl/khr/includes/span | 14 ++ .../sycl_khr_includes_backend.cpp | 152 ++++++++++++++++++ .../include_deps/sycl_khr_includes_bit.cpp | 1 + .../include_deps/sycl_khr_includes_byte.cpp | 2 + .../include_deps/sycl_khr_includes_event.cpp | 56 +++++++ ..._khr_includes_hierarchical_parallelism.cpp | 35 ++++ .../include_deps/sycl_khr_includes_image.cpp | 2 + .../sycl_khr_includes_interop_handle.cpp | 106 ++++++++++++ .../sycl_khr_includes_property_list.cpp | 8 + .../include_deps/sycl_khr_includes_span.cpp | 7 + 17 files changed, 483 insertions(+) diff --git a/sycl/include/sycl/khr/includes/backend b/sycl/include/sycl/khr/includes/backend index e69de29bb2d1d..bedd1f76f29dd 100644 --- a/sycl/include/sycl/khr/includes/backend +++ b/sycl/include/sycl/khr/includes/backend @@ -0,0 +1,14 @@ +//==--------- backend --- SYCL backend interoperability --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_BACKEND +#define __SYCL_KHR_INCLUDES_BACKEND + +#include + +#endif // __SYCL_KHR_INCLUDES_BACKEND diff --git a/sycl/include/sycl/khr/includes/bit b/sycl/include/sycl/khr/includes/bit index e69de29bb2d1d..b5b89a4e0bab8 100644 --- a/sycl/include/sycl/khr/includes/bit +++ b/sycl/include/sycl/khr/includes/bit @@ -0,0 +1,14 @@ +//==--------- bit --- SYCL pre-adopted C++20 features ----------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_BIT +#define __SYCL_KHR_INCLUDES_BIT + +#include + +#endif // __SYCL_KHR_INCLUDES_BIT diff --git a/sycl/include/sycl/khr/includes/byte b/sycl/include/sycl/khr/includes/byte index e69de29bb2d1d..55a8b5239c421 100644 --- a/sycl/include/sycl/khr/includes/byte +++ b/sycl/include/sycl/khr/includes/byte @@ -0,0 +1,14 @@ +//==--------- byte --- SYCL byte pre-adopted from C++17 --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_BYTE +#define __SYCL_KHR_INCLUDES_BYTE + +#include + +#endif // __SYCL_KHR_INCLUDES_BYTE diff --git a/sycl/include/sycl/khr/includes/event b/sycl/include/sycl/khr/includes/event index e69de29bb2d1d..fd73c7e5ccb4e 100644 --- a/sycl/include/sycl/khr/includes/event +++ b/sycl/include/sycl/khr/includes/event @@ -0,0 +1,14 @@ +//==----------------- event --- SYCL event class ---------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_EVENT +#define __SYCL_KHR_INCLUDES_EVENT + +#include + +#endif // __SYCL_KHR_INCLUDES_EVENT diff --git a/sycl/include/sycl/khr/includes/hierarchical_parallelism b/sycl/include/sycl/khr/includes/hierarchical_parallelism index e69de29bb2d1d..b70d88765fbdd 100644 --- a/sycl/include/sycl/khr/includes/hierarchical_parallelism +++ b/sycl/include/sycl/khr/includes/hierarchical_parallelism @@ -0,0 +1,16 @@ +//==- hierarchical_parallelism - SYCL hierarchical parallelism -*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM +#define __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM + +#include +// TODO: private_memory should be outlined into its own header +#include + +#endif // __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM diff --git a/sycl/include/sycl/khr/includes/interop_handle b/sycl/include/sycl/khr/includes/interop_handle index e69de29bb2d1d..fd89f6f4fd2e7 100644 --- a/sycl/include/sycl/khr/includes/interop_handle +++ b/sycl/include/sycl/khr/includes/interop_handle @@ -0,0 +1,14 @@ +//==------ interop_handle --- SYCL interop_handle class --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_INTEROP_HANDLE +#define __SYCL_KHR_INCLUDES_INTEROP_HANDLE + +#include + +#endif // __SYCL_KHR_INCLUDES_INTEROP_HANDLE diff --git a/sycl/include/sycl/khr/includes/property_list b/sycl/include/sycl/khr/includes/property_list index e69de29bb2d1d..aa0c93231132d 100644 --- a/sycl/include/sycl/khr/includes/property_list +++ b/sycl/include/sycl/khr/includes/property_list @@ -0,0 +1,14 @@ +//==-------- property_list --- SYCL property_list class --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_PROPERTY_LIST +#define __SYCL_KHR_INCLUDES_PROPERTY_LIST + +#include + +#endif // __SYCL_KHR_INCLUDES_PROPERTY_LIST diff --git a/sycl/include/sycl/khr/includes/span b/sycl/include/sycl/khr/includes/span index e69de29bb2d1d..91543b080de6d 100644 --- a/sycl/include/sycl/khr/includes/span +++ b/sycl/include/sycl/khr/includes/span @@ -0,0 +1,14 @@ +//==--------- span --- SYCL span pre-adopted from C++20 --------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_SPAN +#define __SYCL_KHR_INCLUDES_SPAN + +#include + +#endif // __SYCL_KHR_INCLUDES_SPAN diff --git a/sycl/test/include_deps/sycl_khr_includes_backend.cpp b/sycl/test/include_deps/sycl_khr_includes_backend.cpp index b98c3f0826688..64b384b73d06d 100644 --- a/sycl/test/include_deps/sycl_khr_includes_backend.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_backend.cpp @@ -5,4 +5,156 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/backend +// CHECK-NEXT: backend.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/backend_traits.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: image.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: detail/assert_happened.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: detail/backend_traits_opencl.hpp +// CHECK-NEXT: detail/backend_traits_level_zero.hpp +// CHECK-NEXT: ext/oneapi/backend/level_zero_ownership.hpp +// CHECK-NEXT: kernel_bundle.hpp +// CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_bit.cpp b/sycl/test/include_deps/sycl_khr_includes_bit.cpp index 6cf5c158a7a42..45f95f91aa02c 100644 --- a/sycl/test/include_deps/sycl_khr_includes_bit.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_bit.cpp @@ -5,4 +5,5 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/bit +// CHECK-NEXT: bit_cast.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_byte.cpp b/sycl/test/include_deps/sycl_khr_includes_byte.cpp index 96a9134cd6033..410f038cdaed3 100644 --- a/sycl/test/include_deps/sycl_khr_includes_byte.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_byte.cpp @@ -5,4 +5,6 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/byte +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/defines_elementary.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_event.cpp b/sycl/test/include_deps/sycl_khr_includes_event.cpp index 8a38c0f326baf..0af66e718a66f 100644 --- a/sycl/test/include_deps/sycl_khr_includes_event.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_event.cpp @@ -5,4 +5,60 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/event +// CHECK-NEXT: event.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp index e2381556726cc..1b610ba74df05 100644 --- a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp @@ -5,4 +5,39 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/hierarchical_parallelism +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: range.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: pointers.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_image.cpp b/sycl/test/include_deps/sycl_khr_includes_image.cpp index 43db31a85ec95..ef50eea46ee43 100644 --- a/sycl/test/include_deps/sycl_khr_includes_image.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_image.cpp @@ -102,4 +102,6 @@ // CHECK-NEXT: device.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: detail/image_ocl_types.hpp +// CHECK-NEXT: properties/image_properties.hpp +// CHECK-NEXT: properties/image_properties.def // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp index ceacda4fcd7a1..5a7e466c196c4 100644 --- a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp @@ -5,4 +5,110 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/interop_handle +// CHECK-NEXT: interop_handle.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: image.hpp +// CHECK-NEXT: detail/backend_traits.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp index 3896294154c95..a08cec7b9811e 100644 --- a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp @@ -5,4 +5,12 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/property_list +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: properties/property_traits.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_span.cpp b/sycl/test/include_deps/sycl_khr_includes_span.cpp index 95c12aec12782..8817709b99016 100644 --- a/sycl/test/include_deps/sycl_khr_includes_span.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_span.cpp @@ -5,4 +5,11 @@ // CHECK-LABEL: Dependencies for : // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/span +// CHECK-NEXT: sycl_span.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp // CHECK-EMPTY: From 560374e256001cda67deaac3cad1f6a19494baf7 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 11:58:06 +0200 Subject: [PATCH 05/14] Optimize atomic header --- .../include_deps/sycl_khr_includes_atomic.cpp | 45 +++++++------------ .../include_deps/sycl_khr_includes_groups.cpp | 11 ----- .../sycl_khr_includes_reduction.cpp | 10 ++--- 3 files changed, 22 insertions(+), 44 deletions(-) diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp index 90208c8dc2a90..4230c041c03f0 100644 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -17,45 +17,34 @@ // CHECK-NEXT: detail/spirv.hpp // CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp // CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/helpers.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: range.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp // CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: range.hpp // CHECK-NEXT: atomic_fence.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp index 2655ae02bacd6..bd1c17164c04c 100644 --- a/sycl/test/include_deps/sycl_khr_includes_groups.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_groups.cpp @@ -56,17 +56,6 @@ // CHECK-NEXT: detail/spirv.hpp // CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp // CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc // CHECK-NEXT: feature_test.hpp // CHECK-NEXT: group_barrier.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp index e8c2881f783b5..5c540e1602f1a 100644 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -95,14 +95,15 @@ // CHECK-NEXT: detail/spirv.hpp // CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp // CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: marray.hpp // CHECK-NEXT: vector.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/builtins/common_functions.inc // CHECK-NEXT: detail/builtins/helper_macros.hpp // CHECK-NEXT: detail/builtins/geometric_functions.inc @@ -111,7 +112,6 @@ // CHECK-NEXT: detail/builtins/math_functions.inc // CHECK-NEXT: detail/builtins/native_math_functions.inc // CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: feature_test.hpp // CHECK-NEXT: detail/item_base.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: item.hpp From 815b3e20ac23832b9f614355a85c052efc286809 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 12:06:47 +0200 Subject: [PATCH 06/14] Optimize atomic header --- sycl/test/include_deps/sycl_khr_includes_atomic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp index 4230c041c03f0..5d4ee2d0b9bc7 100644 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -21,11 +21,11 @@ // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp // CHECK-NEXT: feature_test.hpp // CHECK-NEXT: id.hpp // CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h From 5a1e9819c271b059ef8fa6872190ebea3c9ae4dc Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 12:14:51 +0200 Subject: [PATCH 07/14] Optimize atomic header --- sycl/include/sycl/detail/spirv.hpp | 11 ++++--- .../include_deps/sycl_khr_includes_atomic.cpp | 30 +++++++------------ .../include_deps/sycl_khr_includes_groups.cpp | 3 -- .../sycl_khr_includes_reduction.cpp | 11 +++---- 4 files changed, 20 insertions(+), 35 deletions(-) diff --git a/sycl/include/sycl/detail/spirv.hpp b/sycl/include/sycl/detail/spirv.hpp index 671e4758a268d..8794e90321447 100644 --- a/sycl/include/sycl/detail/spirv.hpp +++ b/sycl/include/sycl/detail/spirv.hpp @@ -17,18 +17,17 @@ #include #include -#include -#include -#include -#include -#include - #if defined(__NVPTX__) #include #endif +#include +#include #include // sycl::detail::memcpy #include +#include +#include +#include namespace sycl { inline namespace _V1 { diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp index 5d4ee2d0b9bc7..2c586264c7095 100644 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -15,13 +15,21 @@ // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp // CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: detail/helpers.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: feature_test.hpp // CHECK-NEXT: id.hpp // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp @@ -30,21 +38,5 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: range.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: atomic_fence.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp index bd1c17164c04c..d4b36a7fe35ac 100644 --- a/sycl/test/include_deps/sycl_khr_includes_groups.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_groups.cpp @@ -54,8 +54,5 @@ // CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: ext/oneapi/functional.hpp // CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: feature_test.hpp // CHECK-NEXT: group_barrier.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp index 5c540e1602f1a..786272afe4606 100644 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -93,17 +93,14 @@ // CHECK-NEXT: atomic_ref.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp // CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp // CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: builtins.hpp // CHECK-NEXT: detail/builtins/builtins.hpp // CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp // CHECK-NEXT: detail/builtins/common_functions.inc // CHECK-NEXT: detail/builtins/helper_macros.hpp // CHECK-NEXT: detail/builtins/geometric_functions.inc From 31e4887d04573d46b892fb9b88f2786648f6903b Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 12:28:42 +0200 Subject: [PATCH 08/14] Optimize context header --- sycl/test/include_deps/sycl_khr_includes_accessor.cpp | 4 ---- sycl/test/include_deps/sycl_khr_includes_backend.cpp | 8 ++++---- sycl/test/include_deps/sycl_khr_includes_context.cpp | 4 ---- sycl/test/include_deps/sycl_khr_includes_handler.cpp | 7 +++---- sycl/test/include_deps/sycl_khr_includes_image.cpp | 7 +++---- .../include_deps/sycl_khr_includes_interop_handle.cpp | 7 +++---- .../test/include_deps/sycl_khr_includes_kernel_bundle.cpp | 1 - sycl/test/include_deps/sycl_khr_includes_queue.cpp | 7 +++---- sycl/test/include_deps/sycl_khr_includes_reduction.cpp | 7 +++---- sycl/test/include_deps/sycl_khr_includes_stream.cpp | 7 +++---- sycl/test/include_deps/sycl_khr_includes_usm.cpp | 1 - 11 files changed, 22 insertions(+), 38 deletions(-) diff --git a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp index 0f5a76713a245..2a5bd84a9b933 100644 --- a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp @@ -83,10 +83,6 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_backend.cpp b/sycl/test/include_deps/sycl_khr_includes_backend.cpp index 64b384b73d06d..7634540f8011b 100644 --- a/sycl/test/include_deps/sycl_khr_includes_backend.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_backend.cpp @@ -84,14 +84,13 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/backend_traits.hpp // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: feature_test.hpp @@ -101,6 +100,7 @@ // CHECK-NEXT: detail/memcpy.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: platform.hpp // CHECK-NEXT: queue.hpp // CHECK-NEXT: detail/assert_happened.hpp // CHECK-NEXT: detail/cg_types.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_context.cpp b/sycl/test/include_deps/sycl_khr_includes_context.cpp index d98e2aa415048..dc0d3e9dcb536 100644 --- a/sycl/test/include_deps/sycl_khr_includes_context.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_context.cpp @@ -62,10 +62,6 @@ // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp // CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: property_list.hpp // CHECK-NEXT: detail/property_helper.hpp // CHECK-NEXT: detail/property_list_base.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_handler.cpp b/sycl/test/include_deps/sycl_khr_includes_handler.cpp index 9711713f8b250..b568416cb4ba2 100644 --- a/sycl/test/include_deps/sycl_khr_includes_handler.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_handler.cpp @@ -84,10 +84,6 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/cg_types.hpp @@ -109,10 +105,13 @@ // CHECK-NEXT: detail/id_queries_fit_in_int.hpp // CHECK-NEXT: detail/kernel_name_based_cache.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_image.cpp b/sycl/test/include_deps/sycl_khr_includes_image.cpp index ef50eea46ee43..c88a875a49c42 100644 --- a/sycl/test/include_deps/sycl_khr_includes_image.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_image.cpp @@ -92,14 +92,13 @@ // CHECK-NEXT: properties/buffer_properties.hpp // CHECK-NEXT: context.hpp // CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/image_accessor_util.hpp // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: detail/image_ocl_types.hpp // CHECK-NEXT: properties/image_properties.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp index 5a7e466c196c4..9f113649a5ebd 100644 --- a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp @@ -84,15 +84,14 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: ext/oneapi/experimental/graph.hpp // CHECK-NEXT: detail/kernel_desc.hpp // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def diff --git a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp index 47989475fd230..62cf58b77a597 100644 --- a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp @@ -93,7 +93,6 @@ // CHECK-NEXT: properties/buffer_properties.hpp // CHECK-NEXT: context.hpp // CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: platform.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/cg_types.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.cpp index e3c94665886cf..b380d7e762d6f 100644 --- a/sycl/test/include_deps/sycl_khr_includes_queue.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_queue.cpp @@ -84,10 +84,6 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/assert_happened.hpp @@ -104,6 +100,9 @@ // CHECK-NEXT: nd_range.hpp // CHECK-NEXT: detail/optional.hpp // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: exception_list.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp index 786272afe4606..fb5ba1afdba6c 100644 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -84,10 +84,6 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: atomic_ref.hpp @@ -115,6 +111,9 @@ // CHECK-NEXT: nd_range.hpp // CHECK-NEXT: detail/tuple.hpp // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: exception_list.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_stream.cpp b/sycl/test/include_deps/sycl_khr_includes_stream.cpp index f1e9f7a5c93db..9b71d2b9f5cd4 100644 --- a/sycl/test/include_deps/sycl_khr_includes_stream.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_stream.cpp @@ -84,10 +84,6 @@ // CHECK-NEXT: info/ext_oneapi_device_traits.def // CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def // CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: builtins.hpp @@ -126,10 +122,13 @@ // CHECK-NEXT: detail/id_queries_fit_in_int.hpp // CHECK-NEXT: detail/kernel_name_based_cache.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def // CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_usm.cpp b/sycl/test/include_deps/sycl_khr_includes_usm.cpp index ac475a93f175c..1452d896b0bea 100644 --- a/sycl/test/include_deps/sycl_khr_includes_usm.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_usm.cpp @@ -106,7 +106,6 @@ // CHECK-NEXT: properties/buffer_properties.hpp // CHECK-NEXT: context.hpp // CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: platform.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: detail/assert_happened.hpp From ed1e9c17d5bbcbaa8809d7effcf1af396828b46f Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 3 Jun 2025 12:41:19 +0200 Subject: [PATCH 09/14] Drop include deps test for backend header --- .../include_deps/sycl_khr_includes_atomic.cpp | 31 +++- .../sycl_khr_includes_backend.cpp | 160 ------------------ .../include_deps/sycl_khr_includes_groups.cpp | 14 ++ .../sycl_khr_includes_reduction.cpp | 5 +- sycl/test/include_deps/update_test.sh | 4 +- 5 files changed, 46 insertions(+), 168 deletions(-) delete mode 100644 sycl/test/include_deps/sycl_khr_includes_backend.cpp diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp index 2c586264c7095..90208c8dc2a90 100644 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -15,13 +15,18 @@ // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp // CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/helpers.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: aspects.hpp @@ -29,14 +34,28 @@ // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: atomic_fence.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_backend.cpp b/sycl/test/include_deps/sycl_khr_includes_backend.cpp deleted file mode 100644 index 7634540f8011b..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_backend.cpp +++ /dev/null @@ -1,160 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/backend | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/backend -// CHECK-NEXT: backend.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/backend_traits.hpp -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: image.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: queue.hpp -// CHECK-NEXT: detail/assert_happened.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: detail/optional.hpp -// CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: detail/backend_traits_opencl.hpp -// CHECK-NEXT: detail/backend_traits_level_zero.hpp -// CHECK-NEXT: ext/oneapi/backend/level_zero_ownership.hpp -// CHECK-NEXT: kernel_bundle.hpp -// CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp index d4b36a7fe35ac..2655ae02bacd6 100644 --- a/sycl/test/include_deps/sycl_khr_includes_groups.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_groups.cpp @@ -54,5 +54,19 @@ // CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: ext/oneapi/functional.hpp // CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp // CHECK-NEXT: group_barrier.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp index fb5ba1afdba6c..05ea03712397d 100644 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -89,10 +89,12 @@ // CHECK-NEXT: atomic_ref.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp // CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp // CHECK-NEXT: builtins.hpp // CHECK-NEXT: detail/builtins/builtins.hpp // CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/memcpy.hpp // CHECK-NEXT: vector.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp @@ -105,6 +107,7 @@ // CHECK-NEXT: detail/builtins/math_functions.inc // CHECK-NEXT: detail/builtins/native_math_functions.inc // CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: feature_test.hpp // CHECK-NEXT: detail/item_base.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: item.hpp diff --git a/sycl/test/include_deps/update_test.sh b/sycl/test/include_deps/update_test.sh index e78f96555ef8c..7fbba74aaf8f8 100755 --- a/sycl/test/include_deps/update_test.sh +++ b/sycl/test/include_deps/update_test.sh @@ -9,7 +9,9 @@ HEADERS=( sycl/khr/includes/accessor sycl/khr/includes/atomic - sycl/khr/includes/backend + # backend header depends on how the project was configured and as such it + # is not exactly portable, so it is excluded + # sycl/khr/includes/backend sycl/khr/includes/bit sycl/khr/includes/buffer sycl/khr/includes/byte From 6eac31bd87ad6c39f3f68fa40e74be5499d34b00 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Thu, 24 Jul 2025 12:03:31 +0200 Subject: [PATCH 10/14] Add .hpp suffix, include version from platform --- sycl/include/sycl/khr/includes/{accessor => accessor.hpp} | 0 sycl/include/sycl/khr/includes/{atomic => atomic.hpp} | 0 sycl/include/sycl/khr/includes/{backend => backend.hpp} | 0 sycl/include/sycl/khr/includes/{bit => bit.hpp} | 0 sycl/include/sycl/khr/includes/{buffer => buffer.hpp} | 0 sycl/include/sycl/khr/includes/{byte => byte.hpp} | 0 sycl/include/sycl/khr/includes/{context => context.hpp} | 0 sycl/include/sycl/khr/includes/{device => device.hpp} | 0 sycl/include/sycl/khr/includes/{event => event.hpp} | 0 sycl/include/sycl/khr/includes/{exception => exception.hpp} | 0 sycl/include/sycl/khr/includes/{functional => functional.hpp} | 0 sycl/include/sycl/khr/includes/{groups => groups.hpp} | 0 sycl/include/sycl/khr/includes/{half => half.hpp} | 0 sycl/include/sycl/khr/includes/{handler => handler.hpp} | 0 .../{hierarchical_parallelism => hierarchical_parallelism.hpp} | 0 sycl/include/sycl/khr/includes/{image => image.hpp} | 0 sycl/include/sycl/khr/includes/{index_space => index_space.hpp} | 0 .../sycl/khr/includes/{interop_handle => interop_handle.hpp} | 0 .../sycl/khr/includes/{kernel_bundle => kernel_bundle.hpp} | 0 sycl/include/sycl/khr/includes/{marray => marray.hpp} | 0 sycl/include/sycl/khr/includes/{math => math.hpp} | 0 sycl/include/sycl/khr/includes/{multi_ptr => multi_ptr.hpp} | 0 sycl/include/sycl/khr/includes/{platform => platform.hpp} | 0 .../sycl/khr/includes/{property_list => property_list.hpp} | 0 sycl/include/sycl/khr/includes/{queue => queue.hpp} | 0 sycl/include/sycl/khr/includes/{reduction => reduction.hpp} | 0 sycl/include/sycl/khr/includes/{span => span.hpp} | 0 sycl/include/sycl/khr/includes/{stream => stream.hpp} | 0 sycl/include/sycl/khr/includes/{type_traits => type_traits.hpp} | 0 sycl/include/sycl/khr/includes/{usm => usm.hpp} | 0 sycl/include/sycl/khr/includes/{vec => vec.hpp} | 0 sycl/include/sycl/khr/includes/{version => version.hpp} | 0 sycl/include/sycl/platform.hpp | 2 ++ sycl/include/sycl/sycl.hpp | 2 +- sycl/source/feature_test.hpp.in | 1 + 35 files changed, 4 insertions(+), 1 deletion(-) rename sycl/include/sycl/khr/includes/{accessor => accessor.hpp} (100%) rename sycl/include/sycl/khr/includes/{atomic => atomic.hpp} (100%) rename sycl/include/sycl/khr/includes/{backend => backend.hpp} (100%) rename sycl/include/sycl/khr/includes/{bit => bit.hpp} (100%) rename sycl/include/sycl/khr/includes/{buffer => buffer.hpp} (100%) rename sycl/include/sycl/khr/includes/{byte => byte.hpp} (100%) rename sycl/include/sycl/khr/includes/{context => context.hpp} (100%) rename sycl/include/sycl/khr/includes/{device => device.hpp} (100%) rename sycl/include/sycl/khr/includes/{event => event.hpp} (100%) rename sycl/include/sycl/khr/includes/{exception => exception.hpp} (100%) rename sycl/include/sycl/khr/includes/{functional => functional.hpp} (100%) rename sycl/include/sycl/khr/includes/{groups => groups.hpp} (100%) rename sycl/include/sycl/khr/includes/{half => half.hpp} (100%) rename sycl/include/sycl/khr/includes/{handler => handler.hpp} (100%) rename sycl/include/sycl/khr/includes/{hierarchical_parallelism => hierarchical_parallelism.hpp} (100%) rename sycl/include/sycl/khr/includes/{image => image.hpp} (100%) rename sycl/include/sycl/khr/includes/{index_space => index_space.hpp} (100%) rename sycl/include/sycl/khr/includes/{interop_handle => interop_handle.hpp} (100%) rename sycl/include/sycl/khr/includes/{kernel_bundle => kernel_bundle.hpp} (100%) rename sycl/include/sycl/khr/includes/{marray => marray.hpp} (100%) rename sycl/include/sycl/khr/includes/{math => math.hpp} (100%) rename sycl/include/sycl/khr/includes/{multi_ptr => multi_ptr.hpp} (100%) rename sycl/include/sycl/khr/includes/{platform => platform.hpp} (100%) rename sycl/include/sycl/khr/includes/{property_list => property_list.hpp} (100%) rename sycl/include/sycl/khr/includes/{queue => queue.hpp} (100%) rename sycl/include/sycl/khr/includes/{reduction => reduction.hpp} (100%) rename sycl/include/sycl/khr/includes/{span => span.hpp} (100%) rename sycl/include/sycl/khr/includes/{stream => stream.hpp} (100%) rename sycl/include/sycl/khr/includes/{type_traits => type_traits.hpp} (100%) rename sycl/include/sycl/khr/includes/{usm => usm.hpp} (100%) rename sycl/include/sycl/khr/includes/{vec => vec.hpp} (100%) rename sycl/include/sycl/khr/includes/{version => version.hpp} (100%) diff --git a/sycl/include/sycl/khr/includes/accessor b/sycl/include/sycl/khr/includes/accessor.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/accessor rename to sycl/include/sycl/khr/includes/accessor.hpp diff --git a/sycl/include/sycl/khr/includes/atomic b/sycl/include/sycl/khr/includes/atomic.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/atomic rename to sycl/include/sycl/khr/includes/atomic.hpp diff --git a/sycl/include/sycl/khr/includes/backend b/sycl/include/sycl/khr/includes/backend.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/backend rename to sycl/include/sycl/khr/includes/backend.hpp diff --git a/sycl/include/sycl/khr/includes/bit b/sycl/include/sycl/khr/includes/bit.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/bit rename to sycl/include/sycl/khr/includes/bit.hpp diff --git a/sycl/include/sycl/khr/includes/buffer b/sycl/include/sycl/khr/includes/buffer.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/buffer rename to sycl/include/sycl/khr/includes/buffer.hpp diff --git a/sycl/include/sycl/khr/includes/byte b/sycl/include/sycl/khr/includes/byte.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/byte rename to sycl/include/sycl/khr/includes/byte.hpp diff --git a/sycl/include/sycl/khr/includes/context b/sycl/include/sycl/khr/includes/context.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/context rename to sycl/include/sycl/khr/includes/context.hpp diff --git a/sycl/include/sycl/khr/includes/device b/sycl/include/sycl/khr/includes/device.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/device rename to sycl/include/sycl/khr/includes/device.hpp diff --git a/sycl/include/sycl/khr/includes/event b/sycl/include/sycl/khr/includes/event.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/event rename to sycl/include/sycl/khr/includes/event.hpp diff --git a/sycl/include/sycl/khr/includes/exception b/sycl/include/sycl/khr/includes/exception.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/exception rename to sycl/include/sycl/khr/includes/exception.hpp diff --git a/sycl/include/sycl/khr/includes/functional b/sycl/include/sycl/khr/includes/functional.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/functional rename to sycl/include/sycl/khr/includes/functional.hpp diff --git a/sycl/include/sycl/khr/includes/groups b/sycl/include/sycl/khr/includes/groups.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/groups rename to sycl/include/sycl/khr/includes/groups.hpp diff --git a/sycl/include/sycl/khr/includes/half b/sycl/include/sycl/khr/includes/half.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/half rename to sycl/include/sycl/khr/includes/half.hpp diff --git a/sycl/include/sycl/khr/includes/handler b/sycl/include/sycl/khr/includes/handler.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/handler rename to sycl/include/sycl/khr/includes/handler.hpp diff --git a/sycl/include/sycl/khr/includes/hierarchical_parallelism b/sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/hierarchical_parallelism rename to sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp diff --git a/sycl/include/sycl/khr/includes/image b/sycl/include/sycl/khr/includes/image.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/image rename to sycl/include/sycl/khr/includes/image.hpp diff --git a/sycl/include/sycl/khr/includes/index_space b/sycl/include/sycl/khr/includes/index_space.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/index_space rename to sycl/include/sycl/khr/includes/index_space.hpp diff --git a/sycl/include/sycl/khr/includes/interop_handle b/sycl/include/sycl/khr/includes/interop_handle.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/interop_handle rename to sycl/include/sycl/khr/includes/interop_handle.hpp diff --git a/sycl/include/sycl/khr/includes/kernel_bundle b/sycl/include/sycl/khr/includes/kernel_bundle.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/kernel_bundle rename to sycl/include/sycl/khr/includes/kernel_bundle.hpp diff --git a/sycl/include/sycl/khr/includes/marray b/sycl/include/sycl/khr/includes/marray.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/marray rename to sycl/include/sycl/khr/includes/marray.hpp diff --git a/sycl/include/sycl/khr/includes/math b/sycl/include/sycl/khr/includes/math.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/math rename to sycl/include/sycl/khr/includes/math.hpp diff --git a/sycl/include/sycl/khr/includes/multi_ptr b/sycl/include/sycl/khr/includes/multi_ptr.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/multi_ptr rename to sycl/include/sycl/khr/includes/multi_ptr.hpp diff --git a/sycl/include/sycl/khr/includes/platform b/sycl/include/sycl/khr/includes/platform.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/platform rename to sycl/include/sycl/khr/includes/platform.hpp diff --git a/sycl/include/sycl/khr/includes/property_list b/sycl/include/sycl/khr/includes/property_list.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/property_list rename to sycl/include/sycl/khr/includes/property_list.hpp diff --git a/sycl/include/sycl/khr/includes/queue b/sycl/include/sycl/khr/includes/queue.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/queue rename to sycl/include/sycl/khr/includes/queue.hpp diff --git a/sycl/include/sycl/khr/includes/reduction b/sycl/include/sycl/khr/includes/reduction.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/reduction rename to sycl/include/sycl/khr/includes/reduction.hpp diff --git a/sycl/include/sycl/khr/includes/span b/sycl/include/sycl/khr/includes/span.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/span rename to sycl/include/sycl/khr/includes/span.hpp diff --git a/sycl/include/sycl/khr/includes/stream b/sycl/include/sycl/khr/includes/stream.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/stream rename to sycl/include/sycl/khr/includes/stream.hpp diff --git a/sycl/include/sycl/khr/includes/type_traits b/sycl/include/sycl/khr/includes/type_traits.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/type_traits rename to sycl/include/sycl/khr/includes/type_traits.hpp diff --git a/sycl/include/sycl/khr/includes/usm b/sycl/include/sycl/khr/includes/usm.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/usm rename to sycl/include/sycl/khr/includes/usm.hpp diff --git a/sycl/include/sycl/khr/includes/vec b/sycl/include/sycl/khr/includes/vec.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/vec rename to sycl/include/sycl/khr/includes/vec.hpp diff --git a/sycl/include/sycl/khr/includes/version b/sycl/include/sycl/khr/includes/version.hpp similarity index 100% rename from sycl/include/sycl/khr/includes/version rename to sycl/include/sycl/khr/includes/version.hpp diff --git a/sycl/include/sycl/platform.hpp b/sycl/include/sycl/platform.hpp index f63a68e9e6031..9c9ee442317f5 100644 --- a/sycl/include/sycl/platform.hpp +++ b/sycl/include/sycl/platform.hpp @@ -8,6 +8,8 @@ #pragma once +#include + #include #include #include diff --git a/sycl/include/sycl/sycl.hpp b/sycl/include/sycl/sycl.hpp index ba113326529e8..ec3708a32cf63 100644 --- a/sycl/include/sycl/sycl.hpp +++ b/sycl/include/sycl/sycl.hpp @@ -33,7 +33,7 @@ can be disabled by setting SYCL_DISABLE_FSYCL_SYCLHPP_WARNING macro.") #undef __SYCL_STRINGIFY // All SYCL macro are provided through this header -#include +#include #include diff --git a/sycl/source/feature_test.hpp.in b/sycl/source/feature_test.hpp.in index a641ae79b65e6..3d1fb115f7abf 100644 --- a/sycl/source/feature_test.hpp.in +++ b/sycl/source/feature_test.hpp.in @@ -126,6 +126,7 @@ inline namespace _V1 { #define SYCL_KHR_DEFAULT_CONTEXT 1 #define SYCL_EXT_INTEL_EVENT_MODE 1 #define SYCL_EXT_ONEAPI_TANGLE 1 +#define SYCL_KHR_INCLUDES 1 // Unfinished KHR extensions. These extensions are only available if the // __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS macro is defined. From 73d8727aac7eda4819551a4527133412a73e7b35 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Thu, 11 Sep 2025 11:55:19 +0200 Subject: [PATCH 11/14] Regenerate include deps tests --- .../include_deps/sycl_detail_core.hpp.cpp | 1 + .../sycl_khr_includes_accessor.cpp | 36 +++---- .../include_deps/sycl_khr_includes_atomic.cpp | 66 ++++++------ .../include_deps/sycl_khr_includes_buffer.cpp | 8 +- .../sycl_khr_includes_context.cpp | 4 +- .../include_deps/sycl_khr_includes_device.cpp | 4 +- .../include_deps/sycl_khr_includes_event.cpp | 4 +- .../sycl_khr_includes_exception.cpp | 1 + .../include_deps/sycl_khr_includes_groups.cpp | 21 ++-- .../include_deps/sycl_khr_includes_half.cpp | 1 + .../sycl_khr_includes_handler.cpp | 83 ++++++++------- ..._khr_includes_hierarchical_parallelism.cpp | 3 +- .../include_deps/sycl_khr_includes_image.cpp | 11 +- .../sycl_khr_includes_index_space.cpp | 5 +- .../sycl_khr_includes_interop_handle.cpp | 52 ++++----- .../sycl_khr_includes_kernel_bundle.cpp | 52 +++++---- .../include_deps/sycl_khr_includes_marray.cpp | 8 +- .../include_deps/sycl_khr_includes_math.cpp | 9 +- .../sycl_khr_includes_multi_ptr.cpp | 11 +- .../sycl_khr_includes_platform.cpp | 4 +- .../sycl_khr_includes_property_list.cpp | 1 + .../include_deps/sycl_khr_includes_queue.cpp | 59 ++++++----- .../sycl_khr_includes_reduction.cpp | 100 ++++++++++-------- .../include_deps/sycl_khr_includes_span.cpp | 3 +- .../include_deps/sycl_khr_includes_stream.cpp | 83 ++++++++------- .../include_deps/sycl_khr_includes_usm.cpp | 33 +++--- .../include_deps/sycl_khr_includes_vec.cpp | 13 +-- 27 files changed, 369 insertions(+), 307 deletions(-) diff --git a/sycl/test/include_deps/sycl_detail_core.hpp.cpp b/sycl/test/include_deps/sycl_detail_core.hpp.cpp index 75c96a1adbceb..af5438682e26b 100644 --- a/sycl/test/include_deps/sycl_detail_core.hpp.cpp +++ b/sycl/test/include_deps/sycl_detail_core.hpp.cpp @@ -89,6 +89,7 @@ // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: queue.hpp +// CHECK-NEXT: detail/assert_happened.hpp // CHECK-NEXT: detail/cg_types.hpp // CHECK-NEXT: detail/host_profiling_info.hpp // CHECK-NEXT: detail/item_base.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp index 2a5bd84a9b933..c301ce2760eef 100644 --- a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp @@ -8,32 +8,22 @@ // CHECK-NEXT: accessor.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __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: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -52,6 +42,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp index 90208c8dc2a90..c4a1f78777411 100644 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp @@ -8,54 +8,54 @@ // CHECK-NEXT: atomic_ref.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp -// CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp +// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/memcpy.hpp // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: vector.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: range.hpp // CHECK-NEXT: marray.hpp // CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: range.hpp +// CHECK-NEXT: sub_group.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: atomic_fence.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_buffer.cpp b/sycl/test/include_deps/sycl_khr_includes_buffer.cpp index 69d9ad9f021d2..ff80b580b4d91 100644 --- a/sycl/test/include_deps/sycl_khr_includes_buffer.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_buffer.cpp @@ -8,19 +8,19 @@ // CHECK-NEXT: buffer.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_context.cpp b/sycl/test/include_deps/sycl_khr_includes_context.cpp index dc0d3e9dcb536..a9e7c8bf3e64f 100644 --- a/sycl/test/include_deps/sycl_khr_includes_context.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_context.cpp @@ -9,6 +9,7 @@ // CHECK-NEXT: async_handler.hpp // CHECK-NEXT: backend_types.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/info_desc_helpers.hpp // CHECK-NEXT: aspects.hpp @@ -23,11 +24,10 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: info/info_desc.hpp // CHECK-NEXT: ur_api.h diff --git a/sycl/test/include_deps/sycl_khr_includes_device.cpp b/sycl/test/include_deps/sycl_khr_includes_device.cpp index fea3dc9be8827..ca85b253f1f5e 100644 --- a/sycl/test/include_deps/sycl_khr_includes_device.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_device.cpp @@ -8,6 +8,7 @@ // CHECK-NEXT: device.hpp // CHECK-NEXT: backend_types.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/info_desc_helpers.hpp // CHECK-NEXT: aspects.hpp @@ -22,11 +23,10 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: info/info_desc.hpp // CHECK-NEXT: ur_api.h diff --git a/sycl/test/include_deps/sycl_khr_includes_event.cpp b/sycl/test/include_deps/sycl_khr_includes_event.cpp index 0af66e718a66f..fca0626496bed 100644 --- a/sycl/test/include_deps/sycl_khr_includes_event.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_event.cpp @@ -8,6 +8,7 @@ // CHECK-NEXT: event.hpp // CHECK-NEXT: backend_types.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/info_desc_helpers.hpp // CHECK-NEXT: aspects.hpp @@ -22,11 +23,10 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: info/info_desc.hpp // CHECK-NEXT: ur_api.h diff --git a/sycl/test/include_deps/sycl_khr_includes_exception.cpp b/sycl/test/include_deps/sycl_khr_includes_exception.cpp index 984f947afcdbb..08d5d2658a143 100644 --- a/sycl/test/include_deps/sycl_khr_includes_exception.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_exception.cpp @@ -9,6 +9,7 @@ // CHECK-NEXT: detail/defines_elementary.hpp // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: exception_list.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp index 2655ae02bacd6..324412a17fe49 100644 --- a/sycl/test/include_deps/sycl_khr_includes_groups.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_groups.cpp @@ -6,18 +6,18 @@ // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/groups // CHECK-NEXT: group.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/helpers.hpp @@ -31,6 +31,7 @@ // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/item_base.hpp // CHECK-NEXT: id.hpp @@ -41,6 +42,7 @@ // CHECK-NEXT: item.hpp // CHECK-NEXT: pointers.hpp // CHECK-NEXT: sub_group.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: nd_item.hpp // CHECK-NEXT: nd_range.hpp // CHECK-NEXT: group_algorithm.hpp @@ -56,17 +58,6 @@ // CHECK-NEXT: detail/spirv.hpp // CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp // CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc // CHECK-NEXT: feature_test.hpp // CHECK-NEXT: group_barrier.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_half.cpp b/sycl/test/include_deps/sycl_khr_includes_half.cpp index eca97d060a80f..8f4d4592e6970 100644 --- a/sycl/test/include_deps/sycl_khr_includes_half.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_half.cpp @@ -9,6 +9,7 @@ // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: aspects.hpp // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/defines_elementary.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_handler.cpp b/sycl/test/include_deps/sycl_khr_includes_handler.cpp index b568416cb4ba2..e6fef51cfe861 100644 --- a/sycl/test/include_deps/sycl_khr_includes_handler.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_handler.cpp @@ -8,33 +8,23 @@ // CHECK-NEXT: handler.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -53,6 +43,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -86,10 +86,20 @@ // CHECK-NEXT: info/sycl_backend_traits.def // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp // CHECK-NEXT: detail/cg_types.hpp // CHECK-NEXT: detail/host_profiling_info.hpp // CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: detail/kernel_desc.hpp // CHECK-NEXT: group.hpp // CHECK-NEXT: device_event.hpp // CHECK-NEXT: h_item.hpp @@ -97,15 +107,17 @@ // CHECK-NEXT: kernel_handler.hpp // CHECK-NEXT: nd_item.hpp // CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def @@ -114,28 +126,25 @@ // CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/device_global/device_global.hpp // CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp index 1b610ba74df05..cb7ddd3f1531f 100644 --- a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp @@ -11,7 +11,6 @@ // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/defines_elementary.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp @@ -20,6 +19,7 @@ // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h @@ -37,6 +37,7 @@ // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: device_event.hpp // CHECK-NEXT: pointers.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_image.cpp b/sycl/test/include_deps/sycl_khr_includes_image.cpp index c88a875a49c42..15681599adf63 100644 --- a/sycl/test/include_deps/sycl_khr_includes_image.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_image.cpp @@ -8,21 +8,21 @@ // CHECK-NEXT: image.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: buffer.hpp // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp @@ -78,12 +78,12 @@ // CHECK-NEXT: vector.hpp // CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: detail/memcpy.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp // CHECK-NEXT: accessor_image.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -101,6 +101,7 @@ // CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: detail/image_ocl_types.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: properties/image_properties.hpp // CHECK-NEXT: properties/image_properties.def // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_index_space.cpp b/sycl/test/include_deps/sycl_khr_includes_index_space.cpp index 6131a1fdf110a..bf0c6fda290e6 100644 --- a/sycl/test/include_deps/sycl_khr_includes_index_space.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_index_space.cpp @@ -11,16 +11,16 @@ // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: nd_range.hpp // CHECK-NEXT: item.hpp @@ -37,6 +37,7 @@ // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: device_event.hpp // CHECK-NEXT: group.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp index 9f113649a5ebd..fa2fb3ad1ee75 100644 --- a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp @@ -8,33 +8,23 @@ // CHECK-NEXT: interop_handle.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -53,6 +43,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -87,21 +87,23 @@ // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: detail/kernel_desc.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: ext/oneapi/properties/properties.hpp // CHECK-NEXT: ext/oneapi/properties/property.hpp // CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: nd_range.hpp // CHECK-NEXT: image.hpp // CHECK-NEXT: detail/backend_traits.hpp // CHECK-NEXT: event.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp index 62cf58b77a597..2096deeef9523 100644 --- a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp @@ -8,6 +8,7 @@ // CHECK-NEXT: kernel_bundle.hpp // CHECK-NEXT: backend_types.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/kernel_desc.hpp // CHECK-NEXT: detail/owner_less_base.hpp @@ -15,8 +16,6 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: ext/oneapi/weak_object_base.hpp // CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/string.hpp @@ -27,6 +26,7 @@ // CHECK-NEXT: device.hpp // CHECK-NEXT: detail/info_desc_helpers.hpp // CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: id.hpp @@ -35,8 +35,8 @@ // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: info/info_desc.hpp // CHECK-NEXT: detail/type_traits.hpp @@ -72,8 +72,6 @@ // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: handler.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: multi_ptr.hpp // CHECK-NEXT: buffer.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/property_helper.hpp @@ -86,6 +84,8 @@ // CHECK-NEXT: properties/property_traits.hpp // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp // CHECK-NEXT: properties/accessor_properties.hpp @@ -95,6 +95,15 @@ // CHECK-NEXT: async_handler.hpp // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp // CHECK-NEXT: detail/cg_types.hpp // CHECK-NEXT: detail/host_profiling_info.hpp // CHECK-NEXT: detail/item_base.hpp @@ -105,40 +114,41 @@ // CHECK-NEXT: kernel_handler.hpp // CHECK-NEXT: nd_item.hpp // CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: event.hpp // CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp // CHECK-NEXT: ext/oneapi/properties/property.hpp // CHECK-NEXT: ext/oneapi/properties/property_value.hpp // CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: event.hpp // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/device_global/device_global.hpp // CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp +// CHECK-NEXT: sycl_span.hpp // CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp // CHECK-NEXT: specialization_id.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_marray.cpp b/sycl/test/include_deps/sycl_khr_includes_marray.cpp index 9e6c6b92f0aee..2d110f0127f74 100644 --- a/sycl/test/include_deps/sycl_khr_includes_marray.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_marray.cpp @@ -9,19 +9,19 @@ // CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/defines_elementary.hpp // CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_math.cpp b/sycl/test/include_deps/sycl_khr_includes_math.cpp index 61122fc901a3d..75476b7575d20 100644 --- a/sycl/test/include_deps/sycl_khr_includes_math.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_math.cpp @@ -11,23 +11,24 @@ // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/string.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp index 36b94d885bdd8..36f33f165a44c 100644 --- a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp @@ -6,18 +6,19 @@ // CHECK-NEXT: /dev/null: /dev/null // CHECK-NEXT: khr/includes/multi_ptr // CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp // CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def diff --git a/sycl/test/include_deps/sycl_khr_includes_platform.cpp b/sycl/test/include_deps/sycl_khr_includes_platform.cpp index 966ec8e9db07a..e9aebbb4764fc 100644 --- a/sycl/test/include_deps/sycl_khr_includes_platform.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_platform.cpp @@ -8,6 +8,7 @@ // CHECK-NEXT: platform.hpp // CHECK-NEXT: backend_types.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/info_desc_helpers.hpp // CHECK-NEXT: aspects.hpp @@ -22,11 +23,10 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: range.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: info/info_desc.hpp // CHECK-NEXT: ur_api.h diff --git a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp index a08cec7b9811e..c5f9c9ffb0a9f 100644 --- a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp @@ -12,5 +12,6 @@ // CHECK-NEXT: detail/defines_elementary.hpp // CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: properties/property_traits.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.cpp index b380d7e762d6f..4f5a8aefe65d0 100644 --- a/sycl/test/include_deps/sycl_khr_includes_queue.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_queue.cpp @@ -8,33 +8,23 @@ // CHECK-NEXT: queue.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -53,6 +43,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -114,9 +114,15 @@ // CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: handler.hpp // CHECK-NEXT: detail/cl.h @@ -124,23 +130,26 @@ // CHECK-NEXT: CL/cl_version.h // CHECK-NEXT: CL/cl_platform.h // CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp // CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp // CHECK-NEXT: properties/queue_properties.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp index 05ea03712397d..bdce18450f59a 100644 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp @@ -8,33 +8,23 @@ // CHECK-NEXT: reduction.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -53,6 +43,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -86,19 +86,30 @@ // CHECK-NEXT: info/sycl_backend_traits.def // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: atomic_ref.hpp // CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp // CHECK-NEXT: detail/spirv.hpp // CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp // CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: sub_group.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: nd_range.hpp // CHECK-NEXT: vector.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp // CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/builtins/common_functions.inc // CHECK-NEXT: detail/builtins/helper_macros.hpp // CHECK-NEXT: detail/builtins/geometric_functions.inc @@ -107,11 +118,7 @@ // CHECK-NEXT: detail/builtins/math_functions.inc // CHECK-NEXT: detail/builtins/native_math_functions.inc // CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: detail/item_base.hpp // CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: nd_range.hpp // CHECK-NEXT: detail/tuple.hpp // CHECK-NEXT: device.hpp // CHECK-NEXT: detail/string_view.hpp @@ -120,51 +127,56 @@ // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp // CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp // CHECK-NEXT: group_algorithm.hpp // CHECK-NEXT: functional.hpp // CHECK-NEXT: known_identity.hpp -// CHECK-NEXT: nd_item.hpp // CHECK-NEXT: ext/oneapi/functional.hpp // CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: kernel_handler.hpp // CHECK-NEXT: detail/cl.h // CHECK-NEXT: CL/cl.h // CHECK-NEXT: CL/cl_version.h // CHECK-NEXT: CL/cl_platform.h // CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp // CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: kernel_handler.hpp // CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp // CHECK-NEXT: ext/oneapi/properties/property.hpp // CHECK-NEXT: ext/oneapi/properties/property_value.hpp // CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/device_global/device_global.hpp // CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp // CHECK-NEXT: properties/reduction_properties.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_span.cpp b/sycl/test/include_deps/sycl_khr_includes_span.cpp index 8817709b99016..735b925bda4e3 100644 --- a/sycl/test/include_deps/sycl_khr_includes_span.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_span.cpp @@ -9,7 +9,6 @@ // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_stream.cpp b/sycl/test/include_deps/sycl_khr_includes_stream.cpp index 9b71d2b9f5cd4..35f0c9e568545 100644 --- a/sycl/test/include_deps/sycl_khr_includes_stream.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_stream.cpp @@ -8,33 +8,23 @@ // CHECK-NEXT: stream.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: buffer.hpp // CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: detail/array.hpp // CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/common.hpp // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp // CHECK-NEXT: detail/is_device_copyable.hpp // CHECK-NEXT: detail/owner_less_base.hpp // CHECK-NEXT: detail/impl_utils.hpp @@ -53,6 +43,16 @@ // CHECK-NEXT: ur_api.h // CHECK-NEXT: detail/accessor_iterator.hpp // CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/handler_proxy.hpp // CHECK-NEXT: pointers.hpp @@ -86,6 +86,8 @@ // CHECK-NEXT: info/sycl_backend_traits.def // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp // CHECK-NEXT: builtins.hpp // CHECK-NEXT: detail/builtins/builtins.hpp // CHECK-NEXT: detail/vector_convert.hpp @@ -108,21 +110,33 @@ // CHECK-NEXT: h_item.hpp // CHECK-NEXT: item.hpp // CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp // CHECK-NEXT: detail/cl.h // CHECK-NEXT: CL/cl.h // CHECK-NEXT: CL/cl_version.h // CHECK-NEXT: CL/cl_platform.h // CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/string_view.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def @@ -131,28 +145,25 @@ // CHECK-NEXT: device_selector.hpp // CHECK-NEXT: kernel_bundle_enums.hpp // CHECK-NEXT: event.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/device_global/device_global.hpp // CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp // CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_usm.cpp b/sycl/test/include_deps/sycl_khr_includes_usm.cpp index 1452d896b0bea..5bcff566d9c89 100644 --- a/sycl/test/include_deps/sycl_khr_includes_usm.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_usm.cpp @@ -12,23 +12,24 @@ // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp // CHECK-NEXT: access/access.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: detail/vector_convert.hpp // CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: __spirv/spirv_vars.hpp // CHECK-NEXT: half_type.hpp // CHECK-NEXT: bit_cast.hpp // CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: aspects.hpp // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: exception.hpp // CHECK-NEXT: detail/string.hpp @@ -91,7 +92,6 @@ // CHECK-NEXT: properties/property_traits.hpp // CHECK-NEXT: queue.hpp // CHECK-NEXT: accessor.hpp -// CHECK-NEXT: atomic.hpp // CHECK-NEXT: buffer.hpp // CHECK-NEXT: detail/stl_type_traits.hpp // CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp @@ -131,9 +131,15 @@ // CHECK-NEXT: ext/oneapi/properties/property_utils.hpp // CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp // CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp // CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def // CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp // CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp // CHECK-NEXT: handler.hpp // CHECK-NEXT: detail/cl.h @@ -141,23 +147,26 @@ // CHECK-NEXT: CL/cl_version.h // CHECK-NEXT: CL/cl_platform.h // CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp // CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_name_based_cache.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: detail/kernel_name_str_t.hpp // CHECK-NEXT: detail/reduction_forward.hpp // CHECK-NEXT: detail/ur.hpp // CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp // CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp // CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp // CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp // CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp // CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp // CHECK-NEXT: kernel.hpp // CHECK-NEXT: sampler.hpp // CHECK-NEXT: usm/usm_pointer_info.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_vec.cpp b/sycl/test/include_deps/sycl_khr_includes_vec.cpp index 80dd726e8a9bb..4efd33723c4fa 100644 --- a/sycl/test/include_deps/sycl_khr_includes_vec.cpp +++ b/sycl/test/include_deps/sycl_khr_includes_vec.cpp @@ -8,19 +8,19 @@ // CHECK-NEXT: vector.hpp // CHECK-NEXT: access/access.hpp // CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp // CHECK-NEXT: aliases.hpp // CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib // CHECK-NEXT: stl_wrappers/cassert // CHECK-NEXT: stl_wrappers/assert.h // CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp // CHECK-NEXT: detail/generic_type_traits.hpp // CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp // CHECK-NEXT: memory_enums.hpp // CHECK-NEXT: detail/type_traits.hpp // CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp @@ -31,6 +31,7 @@ // CHECK-NEXT: info/aspects.def // CHECK-NEXT: info/aspects_deprecated.def // CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp // CHECK-NEXT: ext/oneapi/bfloat16.hpp // CHECK-NEXT: detail/memcpy.hpp // CHECK-NEXT: detail/named_swizzles_mixin.hpp From 0838ab4423b95184431fbe5f87670ae0d8df51c7 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Thu, 11 Sep 2025 12:02:12 +0200 Subject: [PATCH 12/14] Add tests for the right header files --- .../include_deps/sycl_detail_core.hpp.cpp | 1 - .../sycl_khr_includes_accessor.hpp.cpp | 88 +++++++++ .../sycl_khr_includes_atomic.hpp.cpp | 40 ++++ .../sycl_khr_includes_bit.hpp.cpp | 9 + .../sycl_khr_includes_buffer.hpp.cpp | 42 ++++ .../sycl_khr_includes_byte.hpp.cpp | 10 + .../sycl_khr_includes_context.hpp.cpp | 68 +++++++ .../sycl_khr_includes_device.hpp.cpp | 66 +++++++ .../sycl_khr_includes_event.hpp.cpp | 62 ++++++ .../sycl_khr_includes_exception.hpp.cpp | 15 ++ .../sycl_khr_includes_functional.hpp.cpp | 9 + .../sycl_khr_includes_groups.hpp.cpp | 59 ++++++ .../sycl_khr_includes_half.hpp.cpp | 16 ++ .../sycl_khr_includes_handler.hpp.cpp | 150 ++++++++++++++ ..._includes_hierarchical_parallelism.hpp.cpp | 43 ++++ .../sycl_khr_includes_image.hpp.cpp | 107 ++++++++++ .../sycl_khr_includes_index_space.hpp.cpp | 45 +++++ .../sycl_khr_includes_interop_handle.hpp.cpp | 115 +++++++++++ .../sycl_khr_includes_kernel_bundle.hpp.cpp | 154 +++++++++++++++ .../sycl_khr_includes_marray.hpp.cpp | 26 +++ .../sycl_khr_includes_math.hpp.cpp | 51 +++++ .../sycl_khr_includes_multi_ptr.hpp.cpp | 24 +++ .../sycl_khr_includes_platform.hpp.cpp | 67 +++++++ .../sycl_khr_includes_property_list.hpp.cpp | 17 ++ .../sycl_khr_includes_queue.hpp.cpp | 156 +++++++++++++++ .../sycl_khr_includes_reduction.hpp.cpp | 186 ++++++++++++++++++ .../sycl_khr_includes_span.hpp.cpp | 14 ++ .../sycl_khr_includes_stream.hpp.cpp | 169 ++++++++++++++++ .../sycl_khr_includes_type_traits.hpp.cpp | 15 ++ .../sycl_khr_includes_usm.hpp.cpp | 173 ++++++++++++++++ .../sycl_khr_includes_vec.hpp.cpp | 38 ++++ .../sycl_khr_includes_version.hpp.cpp | 10 + sycl/test/include_deps/update_test.sh | 62 +++--- 33 files changed, 2075 insertions(+), 32 deletions(-) create mode 100644 sycl/test/include_deps/sycl_khr_includes_accessor.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_atomic.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_bit.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_buffer.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_byte.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_context.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_device.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_event.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_exception.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_functional.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_groups.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_half.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_handler.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_image.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_index_space.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_interop_handle.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_kernel_bundle.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_marray.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_math.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_multi_ptr.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_platform.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_property_list.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_queue.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_reduction.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_span.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_stream.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_type_traits.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_usm.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_vec.hpp.cpp create mode 100644 sycl/test/include_deps/sycl_khr_includes_version.hpp.cpp diff --git a/sycl/test/include_deps/sycl_detail_core.hpp.cpp b/sycl/test/include_deps/sycl_detail_core.hpp.cpp index af5438682e26b..75c96a1adbceb 100644 --- a/sycl/test/include_deps/sycl_detail_core.hpp.cpp +++ b/sycl/test/include_deps/sycl_detail_core.hpp.cpp @@ -89,7 +89,6 @@ // CHECK-NEXT: usm/usm_enums.hpp // CHECK-NEXT: properties/buffer_properties.def // CHECK-NEXT: queue.hpp -// CHECK-NEXT: detail/assert_happened.hpp // CHECK-NEXT: detail/cg_types.hpp // CHECK-NEXT: detail/host_profiling_info.hpp // CHECK-NEXT: detail/item_base.hpp diff --git a/sycl/test/include_deps/sycl_khr_includes_accessor.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_accessor.hpp.cpp new file mode 100644 index 0000000000000..1e5aa36e56ce4 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_accessor.hpp.cpp @@ -0,0 +1,88 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/accessor.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/accessor.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.hpp.cpp new file mode 100644 index 0000000000000..ddc98f6a11989 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_atomic.hpp.cpp @@ -0,0 +1,40 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/atomic.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/atomic.hpp +// CHECK-NEXT: atomic_ref.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: atomic_fence.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_bit.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_bit.hpp.cpp new file mode 100644 index 0000000000000..001200df060d0 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_bit.hpp.cpp @@ -0,0 +1,9 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/bit.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/bit.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_buffer.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_buffer.hpp.cpp new file mode 100644 index 0000000000000..f49903cb9afc8 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_buffer.hpp.cpp @@ -0,0 +1,42 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/buffer.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/buffer.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_byte.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_byte.hpp.cpp new file mode 100644 index 0000000000000..5744b151d93e2 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_byte.hpp.cpp @@ -0,0 +1,10 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/byte.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/byte.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_context.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_context.hpp.cpp new file mode 100644 index 0000000000000..189775fe8105d --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_context.hpp.cpp @@ -0,0 +1,68 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/context.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/context.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_device.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_device.hpp.cpp new file mode 100644 index 0000000000000..8751338a5002e --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_device.hpp.cpp @@ -0,0 +1,66 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/device.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/device.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_event.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_event.hpp.cpp new file mode 100644 index 0000000000000..fd13148eeebe8 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_event.hpp.cpp @@ -0,0 +1,62 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/event.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/event.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_exception.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_exception.hpp.cpp new file mode 100644 index 0000000000000..892c1984cfb31 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_exception.hpp.cpp @@ -0,0 +1,15 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/exception.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/exception.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_functional.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_functional.hpp.cpp new file mode 100644 index 0000000000000..e2eb93120530e --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_functional.hpp.cpp @@ -0,0 +1,9 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/functional.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/functional.hpp +// CHECK-NEXT: functional.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.hpp.cpp new file mode 100644 index 0000000000000..f2376a994e0a2 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_groups.hpp.cpp @@ -0,0 +1,59 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/groups.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/groups.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: sub_group.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: group_algorithm.hpp +// CHECK-NEXT: functional.hpp +// CHECK-NEXT: known_identity.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: ext/oneapi/functional.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: group_barrier.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_half.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_half.hpp.cpp new file mode 100644 index 0000000000000..12e762ac34af6 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_half.hpp.cpp @@ -0,0 +1,16 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/half.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/half.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_handler.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_handler.hpp.cpp new file mode 100644 index 0000000000000..16236f7fa3ff5 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_handler.hpp.cpp @@ -0,0 +1,150 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/handler.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/handler.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.hpp.cpp new file mode 100644 index 0000000000000..99c95c5613821 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.hpp.cpp @@ -0,0 +1,43 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/hierarchical_parallelism.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/hierarchical_parallelism.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: range.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_image.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_image.hpp.cpp new file mode 100644 index 0000000000000..aae4bb636892d --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_image.hpp.cpp @@ -0,0 +1,107 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/image.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/image.hpp +// CHECK-NEXT: image.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/backend_traits.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: accessor_image.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/image_accessor_util.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: detail/image_ocl_types.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: properties/image_properties.hpp +// CHECK-NEXT: properties/image_properties.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_index_space.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_index_space.hpp.cpp new file mode 100644 index 0000000000000..15c21fe58334b --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_index_space.hpp.cpp @@ -0,0 +1,45 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/index_space.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/index_space.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.hpp.cpp new file mode 100644 index 0000000000000..dab259d5cd5ee --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_interop_handle.hpp.cpp @@ -0,0 +1,115 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/interop_handle.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/interop_handle.hpp +// CHECK-NEXT: interop_handle.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: image.hpp +// CHECK-NEXT: detail/backend_traits.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.hpp.cpp new file mode 100644 index 0000000000000..757189c68b6e3 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.hpp.cpp @@ -0,0 +1,154 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/kernel_bundle.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/kernel_bundle.hpp +// CHECK-NEXT: kernel_bundle.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: sycl_span.hpp +// CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp +// CHECK-NEXT: specialization_id.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_marray.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_marray.hpp.cpp new file mode 100644 index 0000000000000..ceb40e93fb3a1 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_marray.hpp.cpp @@ -0,0 +1,26 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/marray.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/marray.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_math.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_math.hpp.cpp new file mode 100644 index 0000000000000..ff03c9493285d --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_math.hpp.cpp @@ -0,0 +1,51 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/math.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/math.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.hpp.cpp new file mode 100644 index 0000000000000..51ecaaaa58136 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.hpp.cpp @@ -0,0 +1,24 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/multi_ptr.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/multi_ptr.hpp +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_platform.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_platform.hpp.cpp new file mode 100644 index 0000000000000..73e3762061533 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_platform.hpp.cpp @@ -0,0 +1,67 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/platform.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/platform.hpp +// CHECK-NEXT: platform.hpp +// CHECK-NEXT: khr/includes/version.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_property_list.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_property_list.hpp.cpp new file mode 100644 index 0000000000000..2f325897f2f12 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_property_list.hpp.cpp @@ -0,0 +1,17 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/property_list.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/property_list.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.hpp.cpp new file mode 100644 index 0000000000000..61ecde432507c --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_queue.hpp.cpp @@ -0,0 +1,156 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/queue.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/queue.hpp +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: properties/queue_properties.hpp +// CHECK-NEXT: properties/queue_properties.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.hpp.cpp new file mode 100644 index 0000000000000..a4fe8981b4327 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_reduction.hpp.cpp @@ -0,0 +1,186 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/reduction.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/reduction.hpp +// CHECK-NEXT: reduction.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: atomic_ref.hpp +// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp +// CHECK-NEXT: detail/spirv.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/tuple.hpp +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: group_algorithm.hpp +// CHECK-NEXT: functional.hpp +// CHECK-NEXT: known_identity.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: ext/oneapi/functional.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: properties/reduction_properties.hpp +// CHECK-NEXT: properties/reduction_properties.def +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: sycl_span.hpp +// CHECK-NEXT: usm.hpp +// CHECK-NEXT: usm/usm_pointer_info.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_span.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_span.hpp.cpp new file mode 100644 index 0000000000000..9e7b8db1e1c6c --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_span.hpp.cpp @@ -0,0 +1,14 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/span.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/span.hpp +// CHECK-NEXT: sycl_span.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_stream.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_stream.hpp.cpp new file mode 100644 index 0000000000000..1eef882e03a77 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_stream.hpp.cpp @@ -0,0 +1,169 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/stream.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/stream.hpp +// CHECK-NEXT: stream.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: atomic.hpp +// CHECK-NEXT: __spirv/spirv_ops.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: group.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: device.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_type_traits.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_type_traits.hpp.cpp new file mode 100644 index 0000000000000..8eb14bbd47cdb --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_type_traits.hpp.cpp @@ -0,0 +1,15 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/type_traits.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/type_traits.hpp +// CHECK-NEXT: device_aspect_traits.hpp +// CHECK-NEXT: device_aspect_macros.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_usm.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_usm.hpp.cpp new file mode 100644 index 0000000000000..3f8350c8cde5a --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_usm.hpp.cpp @@ -0,0 +1,173 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/usm.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/usm.hpp +// CHECK-NEXT: usm.hpp +// CHECK-NEXT: builtins.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: detail/builtins/builtins.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/vector_convert.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-NEXT: marray.hpp +// CHECK-NEXT: detail/is_device_copyable.hpp +// CHECK-NEXT: detail/builtins/common_functions.inc +// CHECK-NEXT: detail/builtins/helper_macros.hpp +// CHECK-NEXT: detail/builtins/geometric_functions.inc +// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc +// CHECK-NEXT: detail/builtins/integer_functions.inc +// CHECK-NEXT: detail/builtins/math_functions.inc +// CHECK-NEXT: detail/builtins/native_math_functions.inc +// CHECK-NEXT: detail/builtins/relational_functions.inc +// CHECK-NEXT: device.hpp +// CHECK-NEXT: backend_types.hpp +// CHECK-NEXT: detail/info_desc_helpers.hpp +// CHECK-NEXT: id.hpp +// CHECK-NEXT: detail/array.hpp +// CHECK-NEXT: range.hpp +// CHECK-NEXT: info/info_desc.hpp +// CHECK-NEXT: ur_api.h +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp +// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def +// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp +// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp +// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp +// CHECK-NEXT: info/platform_traits.def +// CHECK-NEXT: info/context_traits.def +// CHECK-NEXT: info/device_traits_2020_deprecated.def +// CHECK-NEXT: info/device_traits_deprecated.def +// CHECK-NEXT: info/device_traits.def +// CHECK-NEXT: info/queue_traits.def +// CHECK-NEXT: info/kernel_traits.def +// CHECK-NEXT: info/kernel_device_specific_traits.def +// CHECK-NEXT: info/event_traits.def +// CHECK-NEXT: info/event_profiling_traits.def +// CHECK-NEXT: info/ext_codeplay_device_traits.def +// CHECK-NEXT: info/ext_intel_device_traits.def +// CHECK-NEXT: info/ext_intel_kernel_info_traits.def +// CHECK-NEXT: info/ext_oneapi_device_traits.def +// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def +// CHECK-NEXT: info/sycl_backend_traits.def +// CHECK-NEXT: detail/owner_less_base.hpp +// CHECK-NEXT: detail/impl_utils.hpp +// CHECK-NEXT: ext/oneapi/weak_object_base.hpp +// CHECK-NEXT: detail/string_view.hpp +// CHECK-NEXT: detail/util.hpp +// CHECK-NEXT: device_selector.hpp +// CHECK-NEXT: kernel_bundle_enums.hpp +// CHECK-NEXT: property_list.hpp +// CHECK-NEXT: detail/property_helper.hpp +// CHECK-NEXT: detail/property_list_base.hpp +// CHECK-NEXT: properties/property_traits.hpp +// CHECK-NEXT: queue.hpp +// CHECK-NEXT: accessor.hpp +// CHECK-NEXT: buffer.hpp +// CHECK-NEXT: detail/iostream_proxy.hpp +// CHECK-NEXT: detail/stl_type_traits.hpp +// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp +// CHECK-NEXT: detail/aligned_allocator.hpp +// CHECK-NEXT: detail/os_util.hpp +// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp +// CHECK-NEXT: detail/accessor_iterator.hpp +// CHECK-NEXT: detail/handler_proxy.hpp +// CHECK-NEXT: pointers.hpp +// CHECK-NEXT: properties/accessor_properties.hpp +// CHECK-NEXT: properties/runtime_accessor_properties.def +// CHECK-NEXT: properties/buffer_properties.hpp +// CHECK-NEXT: context.hpp +// CHECK-NEXT: async_handler.hpp +// CHECK-NEXT: usm/usm_enums.hpp +// CHECK-NEXT: properties/buffer_properties.def +// CHECK-NEXT: detail/cg_types.hpp +// CHECK-NEXT: detail/host_profiling_info.hpp +// CHECK-NEXT: detail/item_base.hpp +// CHECK-NEXT: detail/kernel_desc.hpp +// CHECK-NEXT: group.hpp +// CHECK-NEXT: device_event.hpp +// CHECK-NEXT: h_item.hpp +// CHECK-NEXT: item.hpp +// CHECK-NEXT: kernel_handler.hpp +// CHECK-NEXT: nd_item.hpp +// CHECK-NEXT: nd_range.hpp +// CHECK-NEXT: detail/optional.hpp +// CHECK-NEXT: event.hpp +// CHECK-NEXT: exception_list.hpp +// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp +// CHECK-NEXT: ext/oneapi/device_global/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property.hpp +// CHECK-NEXT: ext/oneapi/properties/property_value.hpp +// CHECK-NEXT: ext/oneapi/properties/properties.hpp +// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp +// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def +// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def +// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp +// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp +// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp +// CHECK-NEXT: handler.hpp +// CHECK-NEXT: detail/cl.h +// CHECK-NEXT: CL/cl.h +// CHECK-NEXT: CL/cl_version.h +// CHECK-NEXT: CL/cl_platform.h +// CHECK-NEXT: CL/cl_ext.h +// CHECK-NEXT: detail/get_device_kernel_info.hpp +// CHECK-NEXT: detail/compile_time_kernel_info.hpp +// CHECK-NEXT: detail/id_queries_fit_in_int.hpp +// CHECK-NEXT: detail/kernel_launch_helper.hpp +// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp +// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp +// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp +// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp +// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp +// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp +// CHECK-NEXT: detail/kernel_name_str_t.hpp +// CHECK-NEXT: detail/reduction_forward.hpp +// CHECK-NEXT: detail/ur.hpp +// CHECK-NEXT: ur_api_funcs.def +// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp +// CHECK-NEXT: ext/oneapi/interop_common.hpp +// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp +// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp +// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp +// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp +// CHECK-NEXT: kernel.hpp +// CHECK-NEXT: sampler.hpp +// CHECK-NEXT: usm/usm_pointer_info.hpp +// CHECK-NEXT: usm/usm_allocator.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_vec.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_vec.hpp.cpp new file mode 100644 index 0000000000000..dc94940a11b43 --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_vec.hpp.cpp @@ -0,0 +1,38 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/vec.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/vec.hpp +// CHECK-NEXT: vector.hpp +// CHECK-NEXT: access/access.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: aliases.hpp +// CHECK-NEXT: detail/common.hpp +// CHECK-NEXT: exception.hpp +// CHECK-NEXT: detail/export.hpp +// CHECK-NEXT: detail/string.hpp +// CHECK-NEXT: stl_wrappers/cstdlib +// CHECK-NEXT: stl_wrappers/cassert +// CHECK-NEXT: stl_wrappers/assert.h +// CHECK-NEXT: __spirv/spirv_vars.hpp +// CHECK-NEXT: detail/generic_type_traits.hpp +// CHECK-NEXT: detail/helpers.hpp +// CHECK-NEXT: __spirv/spirv_types.hpp +// CHECK-NEXT: detail/defines.hpp +// CHECK-NEXT: memory_enums.hpp +// CHECK-NEXT: detail/type_traits.hpp +// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp +// CHECK-NEXT: half_type.hpp +// CHECK-NEXT: bit_cast.hpp +// CHECK-NEXT: aspects.hpp +// CHECK-NEXT: info/aspects.def +// CHECK-NEXT: info/aspects_deprecated.def +// CHECK-NEXT: multi_ptr.hpp +// CHECK-NEXT: detail/address_space_cast.hpp +// CHECK-NEXT: ext/oneapi/bfloat16.hpp +// CHECK-NEXT: detail/memcpy.hpp +// CHECK-NEXT: detail/named_swizzles_mixin.hpp +// CHECK-NEXT: detail/vector_arith.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_version.hpp.cpp b/sycl/test/include_deps/sycl_khr_includes_version.hpp.cpp new file mode 100644 index 0000000000000..ee44fc03bdc2c --- /dev/null +++ b/sycl/test/include_deps/sycl_khr_includes_version.hpp.cpp @@ -0,0 +1,10 @@ +// Use update_test.sh to (re-)generate the checks +// REQUIRES: linux +// RUN: bash %S/deps_known.sh sycl/khr/includes/version.hpp | FileCheck %s + +// CHECK-LABEL: Dependencies for : +// CHECK-NEXT: /dev/null: /dev/null +// CHECK-NEXT: khr/includes/version.hpp +// CHECK-NEXT: detail/defines_elementary.hpp +// CHECK-NEXT: feature_test.hpp +// CHECK-EMPTY: diff --git a/sycl/test/include_deps/update_test.sh b/sycl/test/include_deps/update_test.sh index 7fbba74aaf8f8..7d5f73c4b2ff5 100755 --- a/sycl/test/include_deps/update_test.sh +++ b/sycl/test/include_deps/update_test.sh @@ -7,40 +7,40 @@ HEADERS=( sycl/detail/core.hpp - sycl/khr/includes/accessor - sycl/khr/includes/atomic + sycl/khr/includes/accessor.hpp + sycl/khr/includes/atomic.hpp # backend header depends on how the project was configured and as such it # is not exactly portable, so it is excluded # sycl/khr/includes/backend - sycl/khr/includes/bit - sycl/khr/includes/buffer - sycl/khr/includes/byte - sycl/khr/includes/context - sycl/khr/includes/device - sycl/khr/includes/event - sycl/khr/includes/exception - sycl/khr/includes/functional - sycl/khr/includes/groups - sycl/khr/includes/half - sycl/khr/includes/handler - sycl/khr/includes/hierarchical_parallelism - sycl/khr/includes/image - sycl/khr/includes/index_space - sycl/khr/includes/interop_handle - sycl/khr/includes/kernel_bundle - sycl/khr/includes/marray - sycl/khr/includes/math - sycl/khr/includes/multi_ptr - sycl/khr/includes/platform - sycl/khr/includes/property_list - sycl/khr/includes/queue - sycl/khr/includes/reduction - sycl/khr/includes/span - sycl/khr/includes/stream - sycl/khr/includes/type_traits - sycl/khr/includes/usm - sycl/khr/includes/vec - sycl/khr/includes/version + sycl/khr/includes/bit.hpp + sycl/khr/includes/buffer.hpp + sycl/khr/includes/byte.hpp + sycl/khr/includes/context.hpp + sycl/khr/includes/device.hpp + sycl/khr/includes/event.hpp + sycl/khr/includes/exception.hpp + sycl/khr/includes/functional.hpp + sycl/khr/includes/groups.hpp + sycl/khr/includes/half.hpp + sycl/khr/includes/handler.hpp + sycl/khr/includes/hierarchical_parallelism.hpp + sycl/khr/includes/image.hpp + sycl/khr/includes/index_space.hpp + sycl/khr/includes/interop_handle.hpp + sycl/khr/includes/kernel_bundle.hpp + sycl/khr/includes/marray.hpp + sycl/khr/includes/math.hpp + sycl/khr/includes/multi_ptr.hpp + sycl/khr/includes/platform.hpp + sycl/khr/includes/property_list.hpp + sycl/khr/includes/queue.hpp + sycl/khr/includes/reduction.hpp + sycl/khr/includes/span.hpp + sycl/khr/includes/stream.hpp + sycl/khr/includes/type_traits.hpp + sycl/khr/includes/usm.hpp + sycl/khr/includes/vec.hpp + sycl/khr/includes/version.hpp ) for x in ${HEADERS[@]} ; do From 7fc8026a21a06da292516c36b0bdbb02a37df667 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Thu, 11 Sep 2025 12:03:04 +0200 Subject: [PATCH 13/14] Drop tests for old headers --- .../sycl_khr_includes_accessor.cpp | 88 -------- .../include_deps/sycl_khr_includes_atomic.cpp | 61 ------ .../include_deps/sycl_khr_includes_bit.cpp | 9 - .../include_deps/sycl_khr_includes_buffer.cpp | 42 ---- .../include_deps/sycl_khr_includes_byte.cpp | 10 - .../sycl_khr_includes_context.cpp | 70 ------- .../include_deps/sycl_khr_includes_device.cpp | 68 ------- .../include_deps/sycl_khr_includes_event.cpp | 64 ------ .../sycl_khr_includes_exception.cpp | 15 -- .../sycl_khr_includes_functional.cpp | 9 - .../include_deps/sycl_khr_includes_groups.cpp | 63 ------ .../include_deps/sycl_khr_includes_half.cpp | 18 -- .../sycl_khr_includes_handler.cpp | 150 -------------- ..._khr_includes_hierarchical_parallelism.cpp | 44 ---- .../include_deps/sycl_khr_includes_image.cpp | 107 ---------- .../sycl_khr_includes_index_space.cpp | 46 ----- .../sycl_khr_includes_interop_handle.cpp | 115 ----------- .../sycl_khr_includes_kernel_bundle.cpp | 154 -------------- .../include_deps/sycl_khr_includes_marray.cpp | 27 --- .../include_deps/sycl_khr_includes_math.cpp | 52 ----- .../sycl_khr_includes_multi_ptr.cpp | 25 --- .../sycl_khr_includes_platform.cpp | 67 ------ .../sycl_khr_includes_property_list.cpp | 17 -- .../include_deps/sycl_khr_includes_queue.cpp | 157 -------------- .../sycl_khr_includes_reduction.cpp | 191 ------------------ .../include_deps/sycl_khr_includes_span.cpp | 14 -- .../include_deps/sycl_khr_includes_stream.cpp | 169 ---------------- .../sycl_khr_includes_type_traits.cpp | 15 -- .../include_deps/sycl_khr_includes_usm.cpp | 174 ---------------- .../include_deps/sycl_khr_includes_vec.cpp | 39 ---- .../sycl_khr_includes_version.cpp | 10 - 31 files changed, 2090 deletions(-) delete mode 100644 sycl/test/include_deps/sycl_khr_includes_accessor.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_atomic.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_bit.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_buffer.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_byte.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_context.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_device.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_event.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_exception.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_functional.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_groups.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_half.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_handler.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_image.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_index_space.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_marray.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_math.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_platform.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_property_list.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_queue.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_reduction.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_span.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_stream.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_type_traits.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_usm.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_vec.cpp delete mode 100644 sycl/test/include_deps/sycl_khr_includes_version.cpp diff --git a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp b/sycl/test/include_deps/sycl_khr_includes_accessor.cpp deleted file mode 100644 index c301ce2760eef..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_accessor.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/accessor | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/accessor -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp b/sycl/test/include_deps/sycl_khr_includes_atomic.cpp deleted file mode 100644 index c4a1f78777411..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_atomic.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/atomic | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/atomic -// CHECK-NEXT: atomic_ref.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: range.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: sub_group.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: atomic_fence.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_bit.cpp b/sycl/test/include_deps/sycl_khr_includes_bit.cpp deleted file mode 100644 index 45f95f91aa02c..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_bit.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/bit | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/bit -// CHECK-NEXT: bit_cast.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_buffer.cpp b/sycl/test/include_deps/sycl_khr_includes_buffer.cpp deleted file mode 100644 index ff80b580b4d91..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_buffer.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/buffer | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/buffer -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_byte.cpp b/sycl/test/include_deps/sycl_khr_includes_byte.cpp deleted file mode 100644 index 410f038cdaed3..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_byte.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/byte | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/byte -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_context.cpp b/sycl/test/include_deps/sycl_khr_includes_context.cpp deleted file mode 100644 index a9e7c8bf3e64f..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_context.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/context | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/context -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_device.cpp b/sycl/test/include_deps/sycl_khr_includes_device.cpp deleted file mode 100644 index ca85b253f1f5e..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_device.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/device | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/device -// CHECK-NEXT: device.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_event.cpp b/sycl/test/include_deps/sycl_khr_includes_event.cpp deleted file mode 100644 index fca0626496bed..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_event.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/event | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/event -// CHECK-NEXT: event.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_exception.cpp b/sycl/test/include_deps/sycl_khr_includes_exception.cpp deleted file mode 100644 index 08d5d2658a143..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_exception.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/exception | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/exception -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_functional.cpp b/sycl/test/include_deps/sycl_khr_includes_functional.cpp deleted file mode 100644 index 5f3a09a859b02..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_functional.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/functional | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/functional -// CHECK-NEXT: functional.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_groups.cpp b/sycl/test/include_deps/sycl_khr_includes_groups.cpp deleted file mode 100644 index 324412a17fe49..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_groups.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/groups | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/groups -// CHECK-NEXT: group.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: sub_group.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: group_algorithm.hpp -// CHECK-NEXT: functional.hpp -// CHECK-NEXT: known_identity.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: ext/oneapi/functional.hpp -// CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: group_barrier.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_half.cpp b/sycl/test/include_deps/sycl_khr_includes_half.cpp deleted file mode 100644 index 8f4d4592e6970..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_half.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/half | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/half -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_handler.cpp b/sycl/test/include_deps/sycl_khr_includes_handler.cpp deleted file mode 100644 index e6fef51cfe861..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_handler.cpp +++ /dev/null @@ -1,150 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/handler | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/handler -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp b/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp deleted file mode 100644 index cb7ddd3f1531f..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_hierarchical_parallelism.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/hierarchical_parallelism | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/hierarchical_parallelism -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: range.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_image.cpp b/sycl/test/include_deps/sycl_khr_includes_image.cpp deleted file mode 100644 index 15681599adf63..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_image.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/image | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/image -// CHECK-NEXT: image.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/backend_traits.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: accessor_image.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/image_accessor_util.hpp -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: detail/image_ocl_types.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: properties/image_properties.hpp -// CHECK-NEXT: properties/image_properties.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_index_space.cpp b/sycl/test/include_deps/sycl_khr_includes_index_space.cpp deleted file mode 100644 index bf0c6fda290e6..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_index_space.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/index_space | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/index_space -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp b/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp deleted file mode 100644 index fa2fb3ad1ee75..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_interop_handle.cpp +++ /dev/null @@ -1,115 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/interop_handle | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/interop_handle -// CHECK-NEXT: interop_handle.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: image.hpp -// CHECK-NEXT: detail/backend_traits.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp b/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp deleted file mode 100644 index 2096deeef9523..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_kernel_bundle.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/kernel_bundle | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/kernel_bundle -// CHECK-NEXT: kernel_bundle.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: sycl_span.hpp -// CHECK-NEXT: ext/oneapi/experimental/free_function_traits.hpp -// CHECK-NEXT: specialization_id.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_marray.cpp b/sycl/test/include_deps/sycl_khr_includes_marray.cpp deleted file mode 100644 index 2d110f0127f74..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_marray.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/marray | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/marray -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_math.cpp b/sycl/test/include_deps/sycl_khr_includes_math.cpp deleted file mode 100644 index 75476b7575d20..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_math.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/math | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/math -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp b/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp deleted file mode 100644 index 36f33f165a44c..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_multi_ptr.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/multi_ptr | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/multi_ptr -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_platform.cpp b/sycl/test/include_deps/sycl_khr_includes_platform.cpp deleted file mode 100644 index e9aebbb4764fc..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_platform.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/platform | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/platform -// CHECK-NEXT: platform.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp b/sycl/test/include_deps/sycl_khr_includes_property_list.cpp deleted file mode 100644 index c5f9c9ffb0a9f..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_property_list.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/property_list | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/property_list -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_queue.cpp b/sycl/test/include_deps/sycl_khr_includes_queue.cpp deleted file mode 100644 index 4f5a8aefe65d0..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_queue.cpp +++ /dev/null @@ -1,157 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/queue | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/queue -// CHECK-NEXT: queue.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/assert_happened.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: detail/optional.hpp -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: properties/queue_properties.hpp -// CHECK-NEXT: properties/queue_properties.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp b/sycl/test/include_deps/sycl_khr_includes_reduction.cpp deleted file mode 100644 index bdce18450f59a..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_reduction.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/reduction | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/reduction -// CHECK-NEXT: reduction.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: atomic_ref.hpp -// CHECK-NEXT: ext/oneapi/experimental/address_cast.hpp -// CHECK-NEXT: detail/spirv.hpp -// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp -// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: sub_group.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/tuple.hpp -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: group_algorithm.hpp -// CHECK-NEXT: functional.hpp -// CHECK-NEXT: known_identity.hpp -// CHECK-NEXT: ext/oneapi/functional.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: properties/reduction_properties.hpp -// CHECK-NEXT: properties/reduction_properties.def -// CHECK-NEXT: queue.hpp -// CHECK-NEXT: detail/assert_happened.hpp -// CHECK-NEXT: detail/optional.hpp -// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp -// CHECK-NEXT: sycl_span.hpp -// CHECK-NEXT: usm.hpp -// CHECK-NEXT: usm/usm_pointer_info.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_span.cpp b/sycl/test/include_deps/sycl_khr_includes_span.cpp deleted file mode 100644 index 735b925bda4e3..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_span.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/span | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/span -// CHECK-NEXT: sycl_span.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_stream.cpp b/sycl/test/include_deps/sycl_khr_includes_stream.cpp deleted file mode 100644 index 35f0c9e568545..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_stream.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/stream | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/stream -// CHECK-NEXT: stream.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: atomic.hpp -// CHECK-NEXT: __spirv/spirv_ops.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: group.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: device.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp b/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp deleted file mode 100644 index 07a8a2eb7cb08..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_type_traits.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/type_traits | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/type_traits -// CHECK-NEXT: device_aspect_traits.hpp -// CHECK-NEXT: device_aspect_macros.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_usm.cpp b/sycl/test/include_deps/sycl_khr_includes_usm.cpp deleted file mode 100644 index 5bcff566d9c89..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_usm.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/usm | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/usm -// CHECK-NEXT: usm.hpp -// CHECK-NEXT: builtins.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: detail/builtins/builtins.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/vector_convert.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-NEXT: marray.hpp -// CHECK-NEXT: detail/is_device_copyable.hpp -// CHECK-NEXT: detail/builtins/common_functions.inc -// CHECK-NEXT: detail/builtins/helper_macros.hpp -// CHECK-NEXT: detail/builtins/geometric_functions.inc -// CHECK-NEXT: detail/builtins/half_precision_math_functions.inc -// CHECK-NEXT: detail/builtins/integer_functions.inc -// CHECK-NEXT: detail/builtins/math_functions.inc -// CHECK-NEXT: detail/builtins/native_math_functions.inc -// CHECK-NEXT: detail/builtins/relational_functions.inc -// CHECK-NEXT: device.hpp -// CHECK-NEXT: backend_types.hpp -// CHECK-NEXT: detail/info_desc_helpers.hpp -// CHECK-NEXT: id.hpp -// CHECK-NEXT: detail/array.hpp -// CHECK-NEXT: range.hpp -// CHECK-NEXT: info/info_desc.hpp -// CHECK-NEXT: ur_api.h -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.hpp -// CHECK-NEXT: ext/oneapi/experimental/device_architecture.def -// CHECK-NEXT: ext/oneapi/experimental/forward_progress.hpp -// CHECK-NEXT: ext/oneapi/matrix/query-types.hpp -// CHECK-NEXT: ext/oneapi/matrix/matrix-unified-utils.hpp -// CHECK-NEXT: info/platform_traits.def -// CHECK-NEXT: info/context_traits.def -// CHECK-NEXT: info/device_traits_2020_deprecated.def -// CHECK-NEXT: info/device_traits_deprecated.def -// CHECK-NEXT: info/device_traits.def -// CHECK-NEXT: info/queue_traits.def -// CHECK-NEXT: info/kernel_traits.def -// CHECK-NEXT: info/kernel_device_specific_traits.def -// CHECK-NEXT: info/event_traits.def -// CHECK-NEXT: info/event_profiling_traits.def -// CHECK-NEXT: info/ext_codeplay_device_traits.def -// CHECK-NEXT: info/ext_intel_device_traits.def -// CHECK-NEXT: info/ext_intel_kernel_info_traits.def -// CHECK-NEXT: info/ext_oneapi_device_traits.def -// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def -// CHECK-NEXT: info/sycl_backend_traits.def -// CHECK-NEXT: detail/owner_less_base.hpp -// CHECK-NEXT: detail/impl_utils.hpp -// CHECK-NEXT: ext/oneapi/weak_object_base.hpp -// CHECK-NEXT: detail/string_view.hpp -// CHECK-NEXT: detail/util.hpp -// CHECK-NEXT: device_selector.hpp -// CHECK-NEXT: kernel_bundle_enums.hpp -// CHECK-NEXT: property_list.hpp -// CHECK-NEXT: detail/property_helper.hpp -// CHECK-NEXT: detail/property_list_base.hpp -// CHECK-NEXT: properties/property_traits.hpp -// CHECK-NEXT: queue.hpp -// CHECK-NEXT: accessor.hpp -// CHECK-NEXT: buffer.hpp -// CHECK-NEXT: detail/stl_type_traits.hpp -// CHECK-NEXT: detail/sycl_mem_obj_allocator.hpp -// CHECK-NEXT: detail/aligned_allocator.hpp -// CHECK-NEXT: detail/os_util.hpp -// CHECK-NEXT: ext/oneapi/accessor_property_list.hpp -// CHECK-NEXT: detail/accessor_iterator.hpp -// CHECK-NEXT: detail/handler_proxy.hpp -// CHECK-NEXT: pointers.hpp -// CHECK-NEXT: properties/accessor_properties.hpp -// CHECK-NEXT: properties/runtime_accessor_properties.def -// CHECK-NEXT: properties/buffer_properties.hpp -// CHECK-NEXT: context.hpp -// CHECK-NEXT: async_handler.hpp -// CHECK-NEXT: usm/usm_enums.hpp -// CHECK-NEXT: properties/buffer_properties.def -// CHECK-NEXT: detail/assert_happened.hpp -// CHECK-NEXT: detail/cg_types.hpp -// CHECK-NEXT: detail/host_profiling_info.hpp -// CHECK-NEXT: detail/item_base.hpp -// CHECK-NEXT: detail/kernel_desc.hpp -// CHECK-NEXT: group.hpp -// CHECK-NEXT: device_event.hpp -// CHECK-NEXT: h_item.hpp -// CHECK-NEXT: item.hpp -// CHECK-NEXT: kernel_handler.hpp -// CHECK-NEXT: nd_item.hpp -// CHECK-NEXT: nd_range.hpp -// CHECK-NEXT: detail/optional.hpp -// CHECK-NEXT: event.hpp -// CHECK-NEXT: exception_list.hpp -// CHECK-NEXT: ext/oneapi/device_global/device_global.hpp -// CHECK-NEXT: ext/oneapi/device_global/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property.hpp -// CHECK-NEXT: ext/oneapi/properties/property_value.hpp -// CHECK-NEXT: ext/oneapi/properties/properties.hpp -// CHECK-NEXT: ext/oneapi/properties/property_utils.hpp -// CHECK-NEXT: ext/oneapi/experimental/event_mode_property.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/command_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/common.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/executable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/node.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/graph_properties.def -// CHECK-NEXT: ext/oneapi/experimental/detail/properties/node_properties.def -// CHECK-NEXT: ext/oneapi/experimental/graph/modifiable_graph.hpp -// CHECK-NEXT: ext/oneapi/experimental/graph/dynamic.hpp -// CHECK-NEXT: ext/oneapi/experimental/work_group_memory.hpp -// CHECK-NEXT: handler.hpp -// CHECK-NEXT: detail/cl.h -// CHECK-NEXT: CL/cl.h -// CHECK-NEXT: CL/cl_version.h -// CHECK-NEXT: CL/cl_platform.h -// CHECK-NEXT: CL/cl_ext.h -// CHECK-NEXT: detail/get_device_kernel_info.hpp -// CHECK-NEXT: detail/compile_time_kernel_info.hpp -// CHECK-NEXT: detail/id_queries_fit_in_int.hpp -// CHECK-NEXT: detail/kernel_launch_helper.hpp -// CHECK-NEXT: ext/intel/experimental/fp_control_kernel_properties.hpp -// CHECK-NEXT: ext/intel/experimental/kernel_execution_properties.hpp -// CHECK-NEXT: ext/oneapi/experimental/virtual_functions.hpp -// CHECK-NEXT: ext/oneapi/kernel_properties/properties.hpp -// CHECK-NEXT: ext/oneapi/work_group_scratch_memory.hpp -// CHECK-NEXT: detail/sycl_local_mem_builtins.hpp -// CHECK-NEXT: detail/kernel_name_str_t.hpp -// CHECK-NEXT: detail/reduction_forward.hpp -// CHECK-NEXT: detail/ur.hpp -// CHECK-NEXT: ur_api_funcs.def -// CHECK-NEXT: ext/oneapi/bindless_images_interop.hpp -// CHECK-NEXT: ext/oneapi/interop_common.hpp -// CHECK-NEXT: ext/oneapi/bindless_images_mem_handle.hpp -// CHECK-NEXT: ext/oneapi/experimental/cluster_group_prop.hpp -// CHECK-NEXT: ext/oneapi/experimental/raw_kernel_arg.hpp -// CHECK-NEXT: ext/oneapi/experimental/use_root_sync_prop.hpp -// CHECK-NEXT: kernel.hpp -// CHECK-NEXT: sampler.hpp -// CHECK-NEXT: usm/usm_pointer_info.hpp -// CHECK-NEXT: usm/usm_allocator.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_vec.cpp b/sycl/test/include_deps/sycl_khr_includes_vec.cpp deleted file mode 100644 index 4efd33723c4fa..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_vec.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/vec | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/vec -// CHECK-NEXT: vector.hpp -// CHECK-NEXT: access/access.hpp -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: aliases.hpp -// CHECK-NEXT: detail/common.hpp -// CHECK-NEXT: exception.hpp -// CHECK-NEXT: detail/export.hpp -// CHECK-NEXT: detail/string.hpp -// CHECK-NEXT: stl_wrappers/cstdlib -// CHECK-NEXT: stl_wrappers/cassert -// CHECK-NEXT: stl_wrappers/assert.h -// CHECK-NEXT: __spirv/spirv_vars.hpp -// CHECK-NEXT: detail/generic_type_traits.hpp -// CHECK-NEXT: detail/helpers.hpp -// CHECK-NEXT: __spirv/spirv_types.hpp -// CHECK-NEXT: detail/defines.hpp -// CHECK-NEXT: memory_enums.hpp -// CHECK-NEXT: detail/type_traits.hpp -// CHECK-NEXT: detail/type_traits/vec_marray_traits.hpp -// CHECK-NEXT: half_type.hpp -// CHECK-NEXT: bit_cast.hpp -// CHECK-NEXT: detail/iostream_proxy.hpp -// CHECK-NEXT: aspects.hpp -// CHECK-NEXT: info/aspects.def -// CHECK-NEXT: info/aspects_deprecated.def -// CHECK-NEXT: multi_ptr.hpp -// CHECK-NEXT: detail/address_space_cast.hpp -// CHECK-NEXT: ext/oneapi/bfloat16.hpp -// CHECK-NEXT: detail/memcpy.hpp -// CHECK-NEXT: detail/named_swizzles_mixin.hpp -// CHECK-NEXT: detail/vector_arith.hpp -// CHECK-EMPTY: diff --git a/sycl/test/include_deps/sycl_khr_includes_version.cpp b/sycl/test/include_deps/sycl_khr_includes_version.cpp deleted file mode 100644 index b74089cb9c6e1..0000000000000 --- a/sycl/test/include_deps/sycl_khr_includes_version.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// Use update_test.sh to (re-)generate the checks -// REQUIRES: linux -// RUN: bash %S/deps_known.sh sycl/khr/includes/version | FileCheck %s - -// CHECK-LABEL: Dependencies for : -// CHECK-NEXT: /dev/null: /dev/null -// CHECK-NEXT: khr/includes/version -// CHECK-NEXT: detail/defines_elementary.hpp -// CHECK-NEXT: feature_test.hpp -// CHECK-EMPTY: From e57bb03fb847c836e14f2d8dbcaa40645ea2d368 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Mon, 15 Sep 2025 14:52:14 +0200 Subject: [PATCH 14/14] Include version.hpp from everywhere and add missing headers --- sycl/include/sycl/khr/includes/accessor.hpp | 2 ++ sycl/include/sycl/khr/includes/atomic.hpp | 2 ++ sycl/include/sycl/khr/includes/bit.hpp | 2 ++ sycl/include/sycl/khr/includes/buffer.hpp | 2 ++ sycl/include/sycl/khr/includes/byte.hpp | 2 ++ sycl/include/sycl/khr/includes/context.hpp | 2 ++ sycl/include/sycl/khr/includes/device.hpp | 2 ++ sycl/include/sycl/khr/includes/event.hpp | 2 ++ sycl/include/sycl/khr/includes/exception.hpp | 2 ++ sycl/include/sycl/khr/includes/functional.hpp | 2 ++ .../sycl/khr/includes/group_algorithms.hpp | 16 ++++++++++++++++ sycl/include/sycl/khr/includes/groups.hpp | 2 ++ sycl/include/sycl/khr/includes/half.hpp | 2 ++ sycl/include/sycl/khr/includes/handler.hpp | 2 ++ .../khr/includes/hierarchical_parallelism.hpp | 2 ++ .../sycl/khr/includes/{image.hpp => images.hpp} | 2 ++ sycl/include/sycl/khr/includes/index_space.hpp | 2 ++ .../include/sycl/khr/includes/interop_handle.hpp | 2 ++ sycl/include/sycl/khr/includes/kernel_bundle.hpp | 2 ++ .../include/sycl/khr/includes/kernel_handler.hpp | 16 ++++++++++++++++ sycl/include/sycl/khr/includes/marray.hpp | 2 ++ sycl/include/sycl/khr/includes/math.hpp | 2 ++ sycl/include/sycl/khr/includes/multi_ptr.hpp | 2 ++ sycl/include/sycl/khr/includes/property_list.hpp | 2 ++ sycl/include/sycl/khr/includes/queue.hpp | 2 ++ sycl/include/sycl/khr/includes/reduction.hpp | 2 ++ sycl/include/sycl/khr/includes/span.hpp | 2 ++ sycl/include/sycl/khr/includes/stream.hpp | 2 ++ sycl/include/sycl/khr/includes/type_traits.hpp | 2 ++ sycl/include/sycl/khr/includes/usm.hpp | 2 ++ sycl/include/sycl/khr/includes/vec.hpp | 2 ++ 31 files changed, 90 insertions(+) create mode 100644 sycl/include/sycl/khr/includes/group_algorithms.hpp rename sycl/include/sycl/khr/includes/{image.hpp => images.hpp} (96%) create mode 100644 sycl/include/sycl/khr/includes/kernel_handler.hpp diff --git a/sycl/include/sycl/khr/includes/accessor.hpp b/sycl/include/sycl/khr/includes/accessor.hpp index 77a4436142af1..bab697c0c4993 100644 --- a/sycl/include/sycl/khr/includes/accessor.hpp +++ b/sycl/include/sycl/khr/includes/accessor.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_ACCESSOR #define __SYCL_KHR_INCLUDES_ACCESSOR +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_ACCESSOR diff --git a/sycl/include/sycl/khr/includes/atomic.hpp b/sycl/include/sycl/khr/includes/atomic.hpp index 9eb502a4e2794..b45aca9a25d4c 100644 --- a/sycl/include/sycl/khr/includes/atomic.hpp +++ b/sycl/include/sycl/khr/includes/atomic.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_ATOMIC #define __SYCL_KHR_INCLUDES_ATOMIC +#include "version.hpp" + #include #include diff --git a/sycl/include/sycl/khr/includes/bit.hpp b/sycl/include/sycl/khr/includes/bit.hpp index b5b89a4e0bab8..8d53f2f469d3d 100644 --- a/sycl/include/sycl/khr/includes/bit.hpp +++ b/sycl/include/sycl/khr/includes/bit.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_BIT #define __SYCL_KHR_INCLUDES_BIT +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_BIT diff --git a/sycl/include/sycl/khr/includes/buffer.hpp b/sycl/include/sycl/khr/includes/buffer.hpp index f68639fa2e30d..2ef1e8818f64b 100644 --- a/sycl/include/sycl/khr/includes/buffer.hpp +++ b/sycl/include/sycl/khr/includes/buffer.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_BUFFER #define __SYCL_KHR_INCLUDES_BUFFER +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_BUFFER diff --git a/sycl/include/sycl/khr/includes/byte.hpp b/sycl/include/sycl/khr/includes/byte.hpp index 55a8b5239c421..8ae50df6b7c61 100644 --- a/sycl/include/sycl/khr/includes/byte.hpp +++ b/sycl/include/sycl/khr/includes/byte.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_BYTE #define __SYCL_KHR_INCLUDES_BYTE +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_BYTE diff --git a/sycl/include/sycl/khr/includes/context.hpp b/sycl/include/sycl/khr/includes/context.hpp index fc119cab312df..207b60346469a 100644 --- a/sycl/include/sycl/khr/includes/context.hpp +++ b/sycl/include/sycl/khr/includes/context.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_CONTEXT #define __SYCL_KHR_INCLUDES_CONTEXT +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_CONTEXT diff --git a/sycl/include/sycl/khr/includes/device.hpp b/sycl/include/sycl/khr/includes/device.hpp index f3a6fc76be224..ddb1d9fd3713c 100644 --- a/sycl/include/sycl/khr/includes/device.hpp +++ b/sycl/include/sycl/khr/includes/device.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_DEVICE #define __SYCL_KHR_INCLUDES_DEVICE +#include + #include #include diff --git a/sycl/include/sycl/khr/includes/event.hpp b/sycl/include/sycl/khr/includes/event.hpp index fd73c7e5ccb4e..0c0a628565c97 100644 --- a/sycl/include/sycl/khr/includes/event.hpp +++ b/sycl/include/sycl/khr/includes/event.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_EVENT #define __SYCL_KHR_INCLUDES_EVENT +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_EVENT diff --git a/sycl/include/sycl/khr/includes/exception.hpp b/sycl/include/sycl/khr/includes/exception.hpp index 1e5d06f872e2c..b44764fda4739 100644 --- a/sycl/include/sycl/khr/includes/exception.hpp +++ b/sycl/include/sycl/khr/includes/exception.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_EXCEPTION #define __SYCL_KHR_INCLUDES_EXCEPTION +#include "version.hpp" + #include #include diff --git a/sycl/include/sycl/khr/includes/functional.hpp b/sycl/include/sycl/khr/includes/functional.hpp index 6088ac6ee2c54..df3efdabcdfe2 100644 --- a/sycl/include/sycl/khr/includes/functional.hpp +++ b/sycl/include/sycl/khr/includes/functional.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_FUNCTIONAL #define __SYCL_KHR_INCLUDES_FUNCTIONAL +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_FUNCTIONAL diff --git a/sycl/include/sycl/khr/includes/group_algorithms.hpp b/sycl/include/sycl/khr/includes/group_algorithms.hpp new file mode 100644 index 0000000000000..9fc0fa973a997 --- /dev/null +++ b/sycl/include/sycl/khr/includes/group_algorithms.hpp @@ -0,0 +1,16 @@ +//==--------------------- group_algorithms ---------------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS +#define __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS + +#include "version.hpp" + +#include + +#endif // __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS diff --git a/sycl/include/sycl/khr/includes/groups.hpp b/sycl/include/sycl/khr/includes/groups.hpp index 0c53e4a0f7218..600e8bc77f941 100644 --- a/sycl/include/sycl/khr/includes/groups.hpp +++ b/sycl/include/sycl/khr/includes/groups.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_GROUPS #define __SYCL_KHR_INCLUDES_GROUPS +#include "version.hpp" + #include #include #include diff --git a/sycl/include/sycl/khr/includes/half.hpp b/sycl/include/sycl/khr/includes/half.hpp index fbe1ef7f1ca64..27923e57a0993 100644 --- a/sycl/include/sycl/khr/includes/half.hpp +++ b/sycl/include/sycl/khr/includes/half.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_HALF #define __SYCL_KHR_INCLUDES_HALF +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_HALF diff --git a/sycl/include/sycl/khr/includes/handler.hpp b/sycl/include/sycl/khr/includes/handler.hpp index 56262823d459d..26d52de18c433 100644 --- a/sycl/include/sycl/khr/includes/handler.hpp +++ b/sycl/include/sycl/khr/includes/handler.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_HANDLER #define __SYCL_KHR_INCLUDES_HANDLER +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_HANDLER diff --git a/sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp b/sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp index b70d88765fbdd..35c576bdf8c48 100644 --- a/sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp +++ b/sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM #define __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM +#include "version.hpp" + #include // TODO: private_memory should be outlined into its own header #include diff --git a/sycl/include/sycl/khr/includes/image.hpp b/sycl/include/sycl/khr/includes/images.hpp similarity index 96% rename from sycl/include/sycl/khr/includes/image.hpp rename to sycl/include/sycl/khr/includes/images.hpp index dc5095c170428..febf66517445a 100644 --- a/sycl/include/sycl/khr/includes/image.hpp +++ b/sycl/include/sycl/khr/includes/images.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_IMAGE #define __SYCL_KHR_INCLUDES_IMAGE +#include "version.hpp" + #include #include #include diff --git a/sycl/include/sycl/khr/includes/index_space.hpp b/sycl/include/sycl/khr/includes/index_space.hpp index 488156766cd18..13e75e4bc0441 100644 --- a/sycl/include/sycl/khr/includes/index_space.hpp +++ b/sycl/include/sycl/khr/includes/index_space.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_INDEX_SPACE #define __SYCL_KHR_INCLUDES_INDEX_SPACE +#include "version.hpp" + #include #include #include diff --git a/sycl/include/sycl/khr/includes/interop_handle.hpp b/sycl/include/sycl/khr/includes/interop_handle.hpp index fd89f6f4fd2e7..3ce50735aa43b 100644 --- a/sycl/include/sycl/khr/includes/interop_handle.hpp +++ b/sycl/include/sycl/khr/includes/interop_handle.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_INTEROP_HANDLE #define __SYCL_KHR_INCLUDES_INTEROP_HANDLE +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_INTEROP_HANDLE diff --git a/sycl/include/sycl/khr/includes/kernel_bundle.hpp b/sycl/include/sycl/khr/includes/kernel_bundle.hpp index 8e079ebbd6d1d..e5014a81def55 100644 --- a/sycl/include/sycl/khr/includes/kernel_bundle.hpp +++ b/sycl/include/sycl/khr/includes/kernel_bundle.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_KERNEL_BUNDLE #define __SYCL_KHR_INCLUDES_KERNEL_BUNDLE +#include "version.hpp" + #include #include #include diff --git a/sycl/include/sycl/khr/includes/kernel_handler.hpp b/sycl/include/sycl/khr/includes/kernel_handler.hpp new file mode 100644 index 0000000000000..826204c071038 --- /dev/null +++ b/sycl/include/sycl/khr/includes/kernel_handler.hpp @@ -0,0 +1,16 @@ +//==--------- kernel_handler -----------------------------------*- C++ -*---==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef __SYCL_KHR_INCLUDES_KERNEL_HANDLER +#define __SYCL_KHR_INCLUDES_KERNEL_HANDLER + +#include "version.hpp" + +#include + +#endif // __SYCL_KHR_INCLUDES_KERNEL_HANDLER diff --git a/sycl/include/sycl/khr/includes/marray.hpp b/sycl/include/sycl/khr/includes/marray.hpp index 6746b0dc8c74b..d0cc638259e8f 100644 --- a/sycl/include/sycl/khr/includes/marray.hpp +++ b/sycl/include/sycl/khr/includes/marray.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_MARRAY #define __SYCL_KHR_INCLUDES_MARRAY +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_MARRAY diff --git a/sycl/include/sycl/khr/includes/math.hpp b/sycl/include/sycl/khr/includes/math.hpp index 30e0f4993a556..e585a8e38cc5e 100644 --- a/sycl/include/sycl/khr/includes/math.hpp +++ b/sycl/include/sycl/khr/includes/math.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_MATH #define __SYCL_KHR_INCLUDES_MATH +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_MATH diff --git a/sycl/include/sycl/khr/includes/multi_ptr.hpp b/sycl/include/sycl/khr/includes/multi_ptr.hpp index 6453f8c80ed7d..f95e7f145b760 100644 --- a/sycl/include/sycl/khr/includes/multi_ptr.hpp +++ b/sycl/include/sycl/khr/includes/multi_ptr.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_MULTI_PTR #define __SYCL_KHR_INCLUDES_MULTI_PTR +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_MULTI_PTR diff --git a/sycl/include/sycl/khr/includes/property_list.hpp b/sycl/include/sycl/khr/includes/property_list.hpp index aa0c93231132d..b41f848b1f9a4 100644 --- a/sycl/include/sycl/khr/includes/property_list.hpp +++ b/sycl/include/sycl/khr/includes/property_list.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_PROPERTY_LIST #define __SYCL_KHR_INCLUDES_PROPERTY_LIST +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_PROPERTY_LIST diff --git a/sycl/include/sycl/khr/includes/queue.hpp b/sycl/include/sycl/khr/includes/queue.hpp index e0c1c98e846d8..70df63655d486 100644 --- a/sycl/include/sycl/khr/includes/queue.hpp +++ b/sycl/include/sycl/khr/includes/queue.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_QUEUE #define __SYCL_KHR_INCLUDES_QUEUE +#include "version.hpp" + #include #include diff --git a/sycl/include/sycl/khr/includes/reduction.hpp b/sycl/include/sycl/khr/includes/reduction.hpp index e02318bc1f27f..0fcc3544d2d07 100644 --- a/sycl/include/sycl/khr/includes/reduction.hpp +++ b/sycl/include/sycl/khr/includes/reduction.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_REDUCTION #define __SYCL_KHR_INCLUDES_REDUCTION +#include "version.hpp" + #include #include diff --git a/sycl/include/sycl/khr/includes/span.hpp b/sycl/include/sycl/khr/includes/span.hpp index 91543b080de6d..301483939e80a 100644 --- a/sycl/include/sycl/khr/includes/span.hpp +++ b/sycl/include/sycl/khr/includes/span.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_SPAN #define __SYCL_KHR_INCLUDES_SPAN +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_SPAN diff --git a/sycl/include/sycl/khr/includes/stream.hpp b/sycl/include/sycl/khr/includes/stream.hpp index 12accb8fddfc7..a2c3ccebcbb90 100644 --- a/sycl/include/sycl/khr/includes/stream.hpp +++ b/sycl/include/sycl/khr/includes/stream.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_STREAM #define __SYCL_KHR_INCLUDES_STREAM +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_STREAM diff --git a/sycl/include/sycl/khr/includes/type_traits.hpp b/sycl/include/sycl/khr/includes/type_traits.hpp index e575a015bffbd..807a61a9cfdef 100644 --- a/sycl/include/sycl/khr/includes/type_traits.hpp +++ b/sycl/include/sycl/khr/includes/type_traits.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_TYPE_TRAITS #define __SYCL_KHR_INCLUDES_TYPE_TRAITS +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_TYPE_TRAITS diff --git a/sycl/include/sycl/khr/includes/usm.hpp b/sycl/include/sycl/khr/includes/usm.hpp index 870c67696440d..883973b9c2f81 100644 --- a/sycl/include/sycl/khr/includes/usm.hpp +++ b/sycl/include/sycl/khr/includes/usm.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_USM #define __SYCL_KHR_INCLUDES_USM +#include "version.hpp" + #include #include diff --git a/sycl/include/sycl/khr/includes/vec.hpp b/sycl/include/sycl/khr/includes/vec.hpp index cc1fd1cc260a4..376d073818315 100644 --- a/sycl/include/sycl/khr/includes/vec.hpp +++ b/sycl/include/sycl/khr/includes/vec.hpp @@ -9,6 +9,8 @@ #ifndef __SYCL_KHR_INCLUDES_VEC #define __SYCL_KHR_INCLUDES_VEC +#include "version.hpp" + #include #endif // __SYCL_KHR_INCLUDES_VEC