diff --git a/SYCL/AtomicRef/atomic_memory_order.cpp b/SYCL/AtomicRef/atomic_memory_order.cpp index 517ce985dc..14481a5c5f 100644 --- a/SYCL/AtomicRef/atomic_memory_order.cpp +++ b/SYCL/AtomicRef/atomic_memory_order.cpp @@ -11,6 +11,7 @@ #include "atomic_memory_order.h" #include +#include using namespace sycl; int main() { diff --git a/SYCL/BFloat16/bfloat16_type.hpp b/SYCL/BFloat16/bfloat16_type.hpp index 5f4d4da5a3..fa8be6f992 100644 --- a/SYCL/BFloat16/bfloat16_type.hpp +++ b/SYCL/BFloat16/bfloat16_type.hpp @@ -1,3 +1,4 @@ +#include #include #include diff --git a/SYCL/Basic/access_to_subset.cpp b/SYCL/Basic/access_to_subset.cpp index 8bab07f01c..3c5400f957 100644 --- a/SYCL/Basic/access_to_subset.cpp +++ b/SYCL/Basic/access_to_subset.cpp @@ -11,8 +11,8 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// +#include #include - using namespace cl::sycl; using acc_w = accessor; diff --git a/SYCL/Basic/accessor/accessor.cpp b/SYCL/Basic/accessor/accessor.cpp index 1bf0f8dbf2..36ecea25c5 100644 --- a/SYCL/Basic/accessor/accessor.cpp +++ b/SYCL/Basic/accessor/accessor.cpp @@ -12,6 +12,7 @@ // //===----------------------------------------------------------------------===// #include +#include #include struct IdxID1 { diff --git a/SYCL/Basic/barrier_order.cpp b/SYCL/Basic/barrier_order.cpp index b28edd46e5..207685adbc 100644 --- a/SYCL/Basic/barrier_order.cpp +++ b/SYCL/Basic/barrier_order.cpp @@ -4,6 +4,7 @@ // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/Basic/boolean.cpp b/SYCL/Basic/boolean.cpp index 1d929fd53f..e204582b53 100644 --- a/SYCL/Basic/boolean.cpp +++ b/SYCL/Basic/boolean.cpp @@ -3,9 +3,9 @@ // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out -#include - #include +#include +#include using namespace cl::sycl; namespace s = cl::sycl; diff --git a/SYCL/Basic/buffer/buffer.cpp b/SYCL/Basic/buffer/buffer.cpp index 89bcc23d9b..5ced4c9a04 100644 --- a/SYCL/Basic/buffer/buffer.cpp +++ b/SYCL/Basic/buffer/buffer.cpp @@ -14,10 +14,10 @@ // //===----------------------------------------------------------------------===// -#include - #include +#include #include +#include using namespace sycl; diff --git a/SYCL/Basic/buffer/buffer_create.cpp b/SYCL/Basic/buffer/buffer_create.cpp index cbb90dd224..57bc8487f2 100644 --- a/SYCL/Basic/buffer/buffer_create.cpp +++ b/SYCL/Basic/buffer/buffer_create.cpp @@ -3,8 +3,8 @@ // RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t.out 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER // UNSUPPORTED: ze_debug-1,ze_debug4 +#include #include - using namespace cl::sycl; int main() { diff --git a/SYCL/Basic/buffer/buffer_full_copy.cpp b/SYCL/Basic/buffer/buffer_full_copy.cpp index 21081571e8..82bac3c2f5 100644 --- a/SYCL/Basic/buffer/buffer_full_copy.cpp +++ b/SYCL/Basic/buffer/buffer_full_copy.cpp @@ -15,8 +15,8 @@ //===----------------------------------------------------------------------===// #include +#include #include - void check_copy_device_to_host(cl::sycl::queue &Queue) { constexpr int size = 6, offset = 2; diff --git a/SYCL/Basic/buffer/buffer_migrate.cpp b/SYCL/Basic/buffer/buffer_migrate.cpp index d96ac1bde9..3d56a6ae56 100644 --- a/SYCL/Basic/buffer/buffer_migrate.cpp +++ b/SYCL/Basic/buffer/buffer_migrate.cpp @@ -8,6 +8,7 @@ // root-devices) // +#include #include using namespace cl::sycl; diff --git a/SYCL/Basic/buffer/reinterpret.cpp b/SYCL/Basic/buffer/reinterpret.cpp index f8cf3cec3b..bc02819dc7 100644 --- a/SYCL/Basic/buffer/reinterpret.cpp +++ b/SYCL/Basic/buffer/reinterpret.cpp @@ -13,9 +13,9 @@ // //===----------------------------------------------------------------------===// -#include - #include +#include +#include // This tests verifies basic cases of using cl::sycl::buffer::reinterpret // functionality - changing buffer type and range. This test checks that diff --git a/SYCL/Basic/diagnostics/handler.cpp b/SYCL/Basic/diagnostics/handler.cpp index 43eb4175e1..cb72837485 100644 --- a/SYCL/Basic/diagnostics/handler.cpp +++ b/SYCL/Basic/diagnostics/handler.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include +#include #include using namespace cl; diff --git a/SYCL/Basic/fpga_tests/fpga_dsp_control.cpp b/SYCL/Basic/fpga_tests/fpga_dsp_control.cpp index 0184046a12..6f9598a0bc 100644 --- a/SYCL/Basic/fpga_tests/fpga_dsp_control.cpp +++ b/SYCL/Basic/fpga_tests/fpga_dsp_control.cpp @@ -10,6 +10,7 @@ // RUN: %clangxx -fsycl -fintelfpga %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/Basic/fpga_tests/fpga_latency_control_lsu.cpp b/SYCL/Basic/fpga_tests/fpga_latency_control_lsu.cpp index 24c96c81e3..25b556b8ee 100644 --- a/SYCL/Basic/fpga_tests/fpga_latency_control_lsu.cpp +++ b/SYCL/Basic/fpga_tests/fpga_latency_control_lsu.cpp @@ -10,6 +10,7 @@ // RUN: %clangxx -fsycl -fintelfpga %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/Basic/fpga_tests/fpga_latency_control_pipe.cpp b/SYCL/Basic/fpga_tests/fpga_latency_control_pipe.cpp index add6ed87d7..3525a6aecf 100644 --- a/SYCL/Basic/fpga_tests/fpga_latency_control_pipe.cpp +++ b/SYCL/Basic/fpga_tests/fpga_latency_control_pipe.cpp @@ -10,6 +10,7 @@ // RUN: %clangxx -fsycl -fintelfpga %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/Basic/fpga_tests/fpga_lsu.cpp b/SYCL/Basic/fpga_tests/fpga_lsu.cpp index 580bf666f5..823a21d373 100644 --- a/SYCL/Basic/fpga_tests/fpga_lsu.cpp +++ b/SYCL/Basic/fpga_tests/fpga_lsu.cpp @@ -9,6 +9,7 @@ // RUN: %clangxx -fsycl -fintelfpga %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/Basic/half_type.cpp b/SYCL/Basic/half_type.cpp index fec6d0b1dc..1bee92972c 100644 --- a/SYCL/Basic/half_type.cpp +++ b/SYCL/Basic/half_type.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include - #include +#include +#include #include using namespace cl::sycl; diff --git a/SYCL/Basic/handler/interop_task.cpp b/SYCL/Basic/handler/interop_task.cpp index 0eb9d07b2d..90cdeb9d74 100644 --- a/SYCL/Basic/handler/interop_task.cpp +++ b/SYCL/Basic/handler/interop_task.cpp @@ -16,8 +16,8 @@ #include "../../helpers.hpp" #include +#include #include - using namespace cl; int main() { diff --git a/SYCL/Basic/handler/run_on_host_intel.cpp b/SYCL/Basic/handler/run_on_host_intel.cpp index 8fdeade4aa..14a9c2fbfe 100644 --- a/SYCL/Basic/handler/run_on_host_intel.cpp +++ b/SYCL/Basic/handler/run_on_host_intel.cpp @@ -10,6 +10,7 @@ // //===----------------------------------------------------------------------===// +#include #include #include "../../helpers.hpp" diff --git a/SYCL/Basic/handler/run_on_host_intel2.cpp b/SYCL/Basic/handler/run_on_host_intel2.cpp index 700ac9cdd7..a643c81028 100644 --- a/SYCL/Basic/handler/run_on_host_intel2.cpp +++ b/SYCL/Basic/handler/run_on_host_intel2.cpp @@ -2,6 +2,7 @@ // RUN: %HOST_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out +#include #include // This tests that early free of command (and, hence, the command group) won't diff --git a/SYCL/Basic/image/image_accessor_readwrite_half.cpp b/SYCL/Basic/image/image_accessor_readwrite_half.cpp index 4de67b15f5..5ce012bcdb 100644 --- a/SYCL/Basic/image/image_accessor_readwrite_half.cpp +++ b/SYCL/Basic/image/image_accessor_readwrite_half.cpp @@ -17,10 +17,8 @@ #include #include -#include -#if DEBUG_OUTPUT #include -#endif +#include namespace s = cl::sycl; diff --git a/SYCL/Basic/image/image_max_size.cpp b/SYCL/Basic/image/image_max_size.cpp index be97708ff1..656198bf37 100644 --- a/SYCL/Basic/image/image_max_size.cpp +++ b/SYCL/Basic/image/image_max_size.cpp @@ -9,6 +9,7 @@ // The test checks that 'image' with max allowed sizes is handled correctly. +#include #include using namespace cl::sycl; diff --git a/SYCL/Basic/image/srgba-read.cpp b/SYCL/Basic/image/srgba-read.cpp index c1b6dbd959..ea89c9c099 100644 --- a/SYCL/Basic/image/srgba-read.cpp +++ b/SYCL/Basic/image/srgba-read.cpp @@ -6,6 +6,7 @@ // UNSUPPORTED: cuda // UNSUPPORTED: hip +#include #include using namespace sycl; diff --git a/SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp b/SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp index 9f711cd9e9..9115a76c3b 100644 --- a/SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp +++ b/SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp @@ -7,6 +7,7 @@ // -fsycl-device-code-split is not supported for cuda // UNSUPPORTED: cuda || hip +#include #include #include diff --git a/SYCL/Basic/linear-sub_group.cpp b/SYCL/Basic/linear-sub_group.cpp index 489a421e6d..4e6e166409 100644 --- a/SYCL/Basic/linear-sub_group.cpp +++ b/SYCL/Basic/linear-sub_group.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include using namespace cl::sycl; diff --git a/SYCL/Basic/parallel_for_disable_range_roundup.cpp b/SYCL/Basic/parallel_for_disable_range_roundup.cpp index 1a625ac0f3..6c04e61f7f 100755 --- a/SYCL/Basic/parallel_for_disable_range_roundup.cpp +++ b/SYCL/Basic/parallel_for_disable_range_roundup.cpp @@ -8,8 +8,8 @@ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -sycl-std=2020 %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 %t.out %GPU_CHECK_PLACEHOLDER --check-prefix CHECK-ENABLED +#include #include - using namespace sycl; range<1> Range1 = {0}; diff --git a/SYCL/Basic/parallel_for_range_roundup.cpp b/SYCL/Basic/parallel_for_range_roundup.cpp index 49b6e447ee..2107d29620 100644 --- a/SYCL/Basic/parallel_for_range_roundup.cpp +++ b/SYCL/Basic/parallel_for_range_roundup.cpp @@ -1,8 +1,8 @@ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER +#include #include - using namespace sycl; range<1> Range1 = {0}; diff --git a/SYCL/Basic/partition_supported.cpp b/SYCL/Basic/partition_supported.cpp index 2fe3e2992a..c5df7d9d97 100644 --- a/SYCL/Basic/partition_supported.cpp +++ b/SYCL/Basic/partition_supported.cpp @@ -15,8 +15,8 @@ not support the info::partition_affinity_domain provided, an exception with the **feature_not_supported error code must be thrown**. */ +#include #include - /** returns true if the device supports a particular affinity domain */ static bool diff --git a/SYCL/Basic/range_offset_fit_in_int.cpp b/SYCL/Basic/range_offset_fit_in_int.cpp index 14ebb02b35..0324b49809 100644 --- a/SYCL/Basic/range_offset_fit_in_int.cpp +++ b/SYCL/Basic/range_offset_fit_in_int.cpp @@ -2,8 +2,8 @@ // RUN: %CPU_RUN_PLACEHOLDER %t.out #include +#include #include - namespace S = cl::sycl; void checkRangeException(S::runtime_error &E) { diff --git a/SYCL/Basic/sampler/sampler.cpp b/SYCL/Basic/sampler/sampler.cpp index 1119ccb7ac..913b568f7a 100644 --- a/SYCL/Basic/sampler/sampler.cpp +++ b/SYCL/Basic/sampler/sampler.cpp @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #include +#include #include #include diff --git a/SYCL/Basic/stream/auto_flush.cpp b/SYCL/Basic/stream/auto_flush.cpp index 9575e0bbc9..e4fe572b77 100644 --- a/SYCL/Basic/stream/auto_flush.cpp +++ b/SYCL/Basic/stream/auto_flush.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace cl::sycl; diff --git a/SYCL/Basic/stream/stream_max_stmt_exceed.cpp b/SYCL/Basic/stream/stream_max_stmt_exceed.cpp index 6c1f9e4f2e..4e4db3ac22 100644 --- a/SYCL/Basic/stream/stream_max_stmt_exceed.cpp +++ b/SYCL/Basic/stream/stream_max_stmt_exceed.cpp @@ -4,6 +4,7 @@ // RUN: %GPU_RUN_ON_LINUX_PLACEHOLDER %t.out %GPU_CHECK_ON_LINUX_PLACEHOLDER // RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER +#include #include #include diff --git a/SYCL/Basic/subdevice_pi.cpp b/SYCL/Basic/subdevice_pi.cpp index 052df3cee2..f49e9b8cf1 100644 --- a/SYCL/Basic/subdevice_pi.cpp +++ b/SYCL/Basic/subdevice_pi.cpp @@ -6,6 +6,7 @@ // Intel OpenCL CPU Runtime supports device partition on all (multi-core) // platforms. Other devices may not support this. +#include #include #include #include diff --git a/SYCL/Basic/use_pinned_host_memory.cpp b/SYCL/Basic/use_pinned_host_memory.cpp index aa621b083d..9efb9115b9 100644 --- a/SYCL/Basic/use_pinned_host_memory.cpp +++ b/SYCL/Basic/use_pinned_host_memory.cpp @@ -3,6 +3,7 @@ #include +#include #include int main() { diff --git a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/composite-in-functor.cpp b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/composite-in-functor.cpp index f1f52af0e9..8fd28bec83 100644 --- a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/composite-in-functor.cpp +++ b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/composite-in-functor.cpp @@ -13,6 +13,7 @@ // CHECK-NEXT: 3 // CHECK-NEXT: 4 : 5 +#include #include using namespace cl::sycl; diff --git a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants.cpp b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants.cpp index 0be17b66da..15408d3313 100644 --- a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants.cpp +++ b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_negative.cpp b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_negative.cpp index d97212a360..24308c3651 100644 --- a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_negative.cpp +++ b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_negative.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_override.cpp b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_override.cpp index 7d96307517..16c1b34267 100644 --- a/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_override.cpp +++ b/SYCL/DeprecatedFeatures/SpecConsts1.2.1/specialization_constants_override.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/SYCL/DeprecatedFeatures/opencl-interop.cpp b/SYCL/DeprecatedFeatures/opencl-interop.cpp index f513685f85..2fa07c5a86 100644 --- a/SYCL/DeprecatedFeatures/opencl-interop.cpp +++ b/SYCL/DeprecatedFeatures/opencl-interop.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/SYCL/DeprecatedFeatures/subbuffer_interop.cpp b/SYCL/DeprecatedFeatures/subbuffer_interop.cpp index 2a0c52d6bd..e090f58d8a 100644 --- a/SYCL/DeprecatedFeatures/subbuffer_interop.cpp +++ b/SYCL/DeprecatedFeatures/subbuffer_interop.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/SYCL/DeviceLib/assert-windows.cpp b/SYCL/DeviceLib/assert-windows.cpp index 8bfbb23b4a..bb2293b103 100644 --- a/SYCL/DeviceLib/assert-windows.cpp +++ b/SYCL/DeviceLib/assert-windows.cpp @@ -26,6 +26,7 @@ #include #include +#include #include using namespace cl::sycl; diff --git a/SYCL/DeviceLib/assert.cpp b/SYCL/DeviceLib/assert.cpp index 395db0467a..ca633134a5 100644 --- a/SYCL/DeviceLib/assert.cpp +++ b/SYCL/DeviceLib/assert.cpp @@ -93,6 +93,7 @@ #include #include +#include #include #include #include diff --git a/SYCL/DeviceLib/built-ins/nan.cpp b/SYCL/DeviceLib/built-ins/nan.cpp index 93967740c3..3a3c069309 100644 --- a/SYCL/DeviceLib/built-ins/nan.cpp +++ b/SYCL/DeviceLib/built-ins/nan.cpp @@ -5,6 +5,7 @@ // RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/DeviceLib/std_complex_math_fp64_test.cpp b/SYCL/DeviceLib/std_complex_math_fp64_test.cpp index c47fb1292f..3e8df12e2d 100644 --- a/SYCL/DeviceLib/std_complex_math_fp64_test.cpp +++ b/SYCL/DeviceLib/std_complex_math_fp64_test.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "math_utils.hpp" diff --git a/SYCL/DeviceLib/std_complex_math_test.cpp b/SYCL/DeviceLib/std_complex_math_test.cpp index 0815b2776f..de9a90c53f 100644 --- a/SYCL/DeviceLib/std_complex_math_test.cpp +++ b/SYCL/DeviceLib/std_complex_math_test.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "math_utils.hpp" diff --git a/SYCL/DiscardEvents/discard_events_usm.cpp b/SYCL/DiscardEvents/discard_events_usm.cpp index 09ba16dfd4..89f125ba84 100644 --- a/SYCL/DiscardEvents/discard_events_usm.cpp +++ b/SYCL/DiscardEvents/discard_events_usm.cpp @@ -117,7 +117,7 @@ // CHECK: The test passed. #include "discard_events_test_queue_ops.hpp" - +#include int main(int Argc, const char *Argv[]) { sycl::property_list Props{ diff --git a/SYCL/DiscardEvents/discard_events_usm_ooo_queue.cpp b/SYCL/DiscardEvents/discard_events_usm_ooo_queue.cpp index 0708076d5b..c52877cfe8 100644 --- a/SYCL/DiscardEvents/discard_events_usm_ooo_queue.cpp +++ b/SYCL/DiscardEvents/discard_events_usm_ooo_queue.cpp @@ -134,6 +134,7 @@ // CHECK: The test passed. #include "discard_events_test_queue_ops.hpp" +#include int main(int Argc, const char *Argv[]) { diff --git a/SYCL/ESIMD/api/simd_any_all.cpp b/SYCL/ESIMD/api/simd_any_all.cpp index 42756b0863..772517df8d 100644 --- a/SYCL/ESIMD/api/simd_any_all.cpp +++ b/SYCL/ESIMD/api/simd_any_all.cpp @@ -18,6 +18,7 @@ #include #include +#include using namespace cl::sycl; using namespace sycl::ext::intel; diff --git a/SYCL/ESIMD/regression/Inputs/dgetrf.hpp b/SYCL/ESIMD/regression/Inputs/dgetrf.hpp index 5041f3acb4..ca94af2bfb 100644 --- a/SYCL/ESIMD/regression/Inputs/dgetrf.hpp +++ b/SYCL/ESIMD/regression/Inputs/dgetrf.hpp @@ -10,6 +10,7 @@ // decomposition without pivoting. The program contains multiple branches // corresponding to LU input sizes; all internal functions are inlined. // +#include #include #include #include diff --git a/SYCL/ESIMD/regression/abs_fix_test.cpp b/SYCL/ESIMD/regression/abs_fix_test.cpp index 860d4d4fd8..ecf814c0ca 100644 --- a/SYCL/ESIMD/regression/abs_fix_test.cpp +++ b/SYCL/ESIMD/regression/abs_fix_test.cpp @@ -12,6 +12,7 @@ #include #include +#include using namespace cl::sycl; using namespace sycl::ext::intel::experimental::esimd; diff --git a/SYCL/ESIMD/regression/dgetrf_8x8.cpp b/SYCL/ESIMD/regression/dgetrf_8x8.cpp index cac2528041..56d3aa5c65 100644 --- a/SYCL/ESIMD/regression/dgetrf_8x8.cpp +++ b/SYCL/ESIMD/regression/dgetrf_8x8.cpp @@ -12,6 +12,7 @@ // // Reduced version of dgetrf.cpp - M = 8, N = 8, single batch. // +#include #include #include #include diff --git a/SYCL/ESIMD/regression/globals.cpp b/SYCL/ESIMD/regression/globals.cpp index 8208bb3521..ce6c75cbae 100644 --- a/SYCL/ESIMD/regression/globals.cpp +++ b/SYCL/ESIMD/regression/globals.cpp @@ -9,6 +9,7 @@ #include +#include #include #include diff --git a/SYCL/FilterSelector/reuse.cpp b/SYCL/FilterSelector/reuse.cpp index 61def1da36..843cb2a5fb 100644 --- a/SYCL/FilterSelector/reuse.cpp +++ b/SYCL/FilterSelector/reuse.cpp @@ -12,6 +12,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace cl::sycl; diff --git a/SYCL/FilterSelector/select.cpp b/SYCL/FilterSelector/select.cpp index 8efb56dfd5..737f3a8315 100644 --- a/SYCL/FilterSelector/select.cpp +++ b/SYCL/FilterSelector/select.cpp @@ -12,6 +12,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace cl::sycl; diff --git a/SYCL/GroupAlgorithm/SYCL2020/all_of.cpp b/SYCL/GroupAlgorithm/SYCL2020/all_of.cpp index 0aca7bb83c..7dcfa7f944 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/all_of.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/all_of.cpp @@ -6,6 +6,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/SYCL2020/any_of.cpp b/SYCL/GroupAlgorithm/SYCL2020/any_of.cpp index ee4a80004d..d5a6dcd706 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/any_of.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/any_of.cpp @@ -6,6 +6,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/SYCL2020/exclusive_scan.cpp b/SYCL/GroupAlgorithm/SYCL2020/exclusive_scan.cpp index b2146c9e77..da6b9ef0ef 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/exclusive_scan.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/exclusive_scan.cpp @@ -10,6 +10,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/SYCL2020/group_broadcast.cpp b/SYCL/GroupAlgorithm/SYCL2020/group_broadcast.cpp index 6a217f174a..6c230fa4c8 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/group_broadcast.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/group_broadcast.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/SYCL2020/inclusive_scan.cpp b/SYCL/GroupAlgorithm/SYCL2020/inclusive_scan.cpp index f3c4d7c22f..43866b929c 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/inclusive_scan.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/inclusive_scan.cpp @@ -10,6 +10,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/SYCL2020/none_of.cpp b/SYCL/GroupAlgorithm/SYCL2020/none_of.cpp index fc3417a79b..4e2a993b7d 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/none_of.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/none_of.cpp @@ -6,6 +6,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/SYCL2020/permute_select.hpp b/SYCL/GroupAlgorithm/SYCL2020/permute_select.hpp index 8d17191780..c76087695c 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/permute_select.hpp +++ b/SYCL/GroupAlgorithm/SYCL2020/permute_select.hpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "helpers.hpp" +#include #include template class sycl_subgr; diff --git a/SYCL/GroupAlgorithm/SYCL2020/reduce.cpp b/SYCL/GroupAlgorithm/SYCL2020/reduce.cpp index f4f2f674e6..5af1bbb0d1 100644 --- a/SYCL/GroupAlgorithm/SYCL2020/reduce.cpp +++ b/SYCL/GroupAlgorithm/SYCL2020/reduce.cpp @@ -10,6 +10,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/all_of.cpp b/SYCL/GroupAlgorithm/all_of.cpp index 0f755267d3..75ba1d0d44 100644 --- a/SYCL/GroupAlgorithm/all_of.cpp +++ b/SYCL/GroupAlgorithm/all_of.cpp @@ -7,6 +7,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/any_of.cpp b/SYCL/GroupAlgorithm/any_of.cpp index bfe735c2b8..5892d7a816 100644 --- a/SYCL/GroupAlgorithm/any_of.cpp +++ b/SYCL/GroupAlgorithm/any_of.cpp @@ -7,6 +7,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/back_to_back_collectives.cpp b/SYCL/GroupAlgorithm/back_to_back_collectives.cpp index 509e16b30b..6381a01e38 100644 --- a/SYCL/GroupAlgorithm/back_to_back_collectives.cpp +++ b/SYCL/GroupAlgorithm/back_to_back_collectives.cpp @@ -4,6 +4,7 @@ // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/broadcast.cpp b/SYCL/GroupAlgorithm/broadcast.cpp index 0a2d46d3c2..5320266a90 100644 --- a/SYCL/GroupAlgorithm/broadcast.cpp +++ b/SYCL/GroupAlgorithm/broadcast.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/exclusive_scan.cpp b/SYCL/GroupAlgorithm/exclusive_scan.cpp index bc61dd21c9..9117254a80 100644 --- a/SYCL/GroupAlgorithm/exclusive_scan.cpp +++ b/SYCL/GroupAlgorithm/exclusive_scan.cpp @@ -11,6 +11,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp b/SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp index 5390350ad6..4c6881df51 100644 --- a/SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp +++ b/SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp @@ -7,6 +7,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/inclusive_scan.cpp b/SYCL/GroupAlgorithm/inclusive_scan.cpp index 8cd6e1616c..9b3472eeff 100644 --- a/SYCL/GroupAlgorithm/inclusive_scan.cpp +++ b/SYCL/GroupAlgorithm/inclusive_scan.cpp @@ -11,6 +11,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp b/SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp index 64f920e905..bfa11c40ad 100644 --- a/SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp +++ b/SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp @@ -7,6 +7,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/leader.cpp b/SYCL/GroupAlgorithm/leader.cpp index 84f419f65b..3b07aefcf2 100644 --- a/SYCL/GroupAlgorithm/leader.cpp +++ b/SYCL/GroupAlgorithm/leader.cpp @@ -5,6 +5,7 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out #include +#include #include using namespace sycl; using namespace sycl::ext::oneapi; diff --git a/SYCL/GroupAlgorithm/none_of.cpp b/SYCL/GroupAlgorithm/none_of.cpp index cb5c681bff..3903d8c965 100644 --- a/SYCL/GroupAlgorithm/none_of.cpp +++ b/SYCL/GroupAlgorithm/none_of.cpp @@ -7,6 +7,7 @@ #include "support.h" #include #include +#include #include #include using namespace sycl; diff --git a/SYCL/GroupAlgorithm/reduce.cpp b/SYCL/GroupAlgorithm/reduce.cpp index 47942c781f..a6a1e8c27d 100644 --- a/SYCL/GroupAlgorithm/reduce.cpp +++ b/SYCL/GroupAlgorithm/reduce.cpp @@ -9,6 +9,7 @@ #include "support.h" #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/reduce_sycl2020.cpp b/SYCL/GroupAlgorithm/reduce_sycl2020.cpp index e259dff412..95e0d6119a 100644 --- a/SYCL/GroupAlgorithm/reduce_sycl2020.cpp +++ b/SYCL/GroupAlgorithm/reduce_sycl2020.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/SYCL/GroupAlgorithm/support.h b/SYCL/GroupAlgorithm/support.h index 0f78dad26e..abd0b826a2 100644 --- a/SYCL/GroupAlgorithm/support.h +++ b/SYCL/GroupAlgorithm/support.h @@ -1,4 +1,6 @@ +#include #include + using namespace sycl; using namespace sycl::ext::oneapi; diff --git a/SYCL/HostInteropTask/host-task-two-queues.cpp b/SYCL/HostInteropTask/host-task-two-queues.cpp index 1af480c24c..b600174bf6 100644 --- a/SYCL/HostInteropTask/host-task-two-queues.cpp +++ b/SYCL/HostInteropTask/host-task-two-queues.cpp @@ -6,9 +6,9 @@ // TODO: Flaky fail on Level Zero that is why mark as unsupported temporarily. // UNSUPPORTED: level_zero +#include #include #include - namespace S = cl::sycl; #define WIDTH 5 diff --git a/SYCL/HostInteropTask/interop-task.cpp b/SYCL/HostInteropTask/interop-task.cpp index 50753f1f69..0efb0f5b68 100644 --- a/SYCL/HostInteropTask/interop-task.cpp +++ b/SYCL/HostInteropTask/interop-task.cpp @@ -9,6 +9,7 @@ // UNSUPPORTED: level_zero, cuda // REQUIRES: opencl, opencl_icd +#include #include #include #include diff --git a/SYCL/InorderQueue/in_order_dmemll.cpp b/SYCL/InorderQueue/in_order_dmemll.cpp index 8049b8d37a..791da76181 100644 --- a/SYCL/InorderQueue/in_order_dmemll.cpp +++ b/SYCL/InorderQueue/in_order_dmemll.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace cl::sycl; diff --git a/SYCL/InorderQueue/in_order_dmemll_ocl.cpp b/SYCL/InorderQueue/in_order_dmemll_ocl.cpp index 3209f21ada..fb80a10d87 100644 --- a/SYCL/InorderQueue/in_order_dmemll_ocl.cpp +++ b/SYCL/InorderQueue/in_order_dmemll_ocl.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include #include #include diff --git a/SYCL/KernelAndProgram/build-log.cpp b/SYCL/KernelAndProgram/build-log.cpp index f80c47997e..11b633be33 100644 --- a/SYCL/KernelAndProgram/build-log.cpp +++ b/SYCL/KernelAndProgram/build-log.cpp @@ -13,6 +13,7 @@ // //===--------------------------------------------------------------===// +#include #include SYCL_EXTERNAL void symbol_that_does_not_exist(); diff --git a/SYCL/KernelAndProgram/multiple-kernel-linking.cpp b/SYCL/KernelAndProgram/multiple-kernel-linking.cpp index 789a81eecc..ba05866546 100644 --- a/SYCL/KernelAndProgram/multiple-kernel-linking.cpp +++ b/SYCL/KernelAndProgram/multiple-kernel-linking.cpp @@ -21,6 +21,7 @@ // RUN: %CPU_RUN_PLACEHOLDER %t_off.out %CPU_CHECK_PLACEHOLDER // RUN: %ACC_RUN_PLACEHOLDER %t_off.out %ACC_CHECK_PLACEHOLDER +#include #include using namespace sycl; diff --git a/SYCL/KernelParams/non-standard-layout.cpp b/SYCL/KernelParams/non-standard-layout.cpp index fd9ade1399..694cf49ad1 100644 --- a/SYCL/KernelParams/non-standard-layout.cpp +++ b/SYCL/KernelParams/non-standard-layout.cpp @@ -4,6 +4,7 @@ // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include using namespace cl::sycl; diff --git a/SYCL/Plugin/interop-level-zero-buffer-helpers.hpp b/SYCL/Plugin/interop-level-zero-buffer-helpers.hpp index 96ca5e4737..4b9e4b2bb4 100644 --- a/SYCL/Plugin/interop-level-zero-buffer-helpers.hpp +++ b/SYCL/Plugin/interop-level-zero-buffer-helpers.hpp @@ -1,5 +1,6 @@ #pragma once #include "interop-level-zero-buffer-helpers.hpp" +#include #include // clang-format off #include diff --git a/SYCL/Plugin/interop-level-zero-buffer.cpp b/SYCL/Plugin/interop-level-zero-buffer.cpp index 4afdc3b40f..0443b5a1cb 100644 --- a/SYCL/Plugin/interop-level-zero-buffer.cpp +++ b/SYCL/Plugin/interop-level-zero-buffer.cpp @@ -7,6 +7,7 @@ // Test interoperability buffer for the Level Zer backend +#include #include // clang-format off #include diff --git a/SYCL/Plugin/interop-level-zero-interop-task-mem.cpp b/SYCL/Plugin/interop-level-zero-interop-task-mem.cpp index 7fd9491ce7..ca30ad17d7 100644 --- a/SYCL/Plugin/interop-level-zero-interop-task-mem.cpp +++ b/SYCL/Plugin/interop-level-zero-interop-task-mem.cpp @@ -5,8 +5,8 @@ // Test for Level Zero interop_task. // Level-Zero +#include #include - // SYCL #include #include diff --git a/SYCL/Plugin/interop-level-zero-keep-ownership.cpp b/SYCL/Plugin/interop-level-zero-keep-ownership.cpp index 4293b71607..ade6f20faf 100644 --- a/SYCL/Plugin/interop-level-zero-keep-ownership.cpp +++ b/SYCL/Plugin/interop-level-zero-keep-ownership.cpp @@ -4,6 +4,7 @@ // Test for Level Zero interop API where SYCL RT doesn't take ownership +#include #include // clang-format off #include diff --git a/SYCL/Plugin/interop-level-zero-thread.cpp b/SYCL/Plugin/interop-level-zero-thread.cpp index d61e0cbf57..10a5322eb4 100644 --- a/SYCL/Plugin/interop-level-zero-thread.cpp +++ b/SYCL/Plugin/interop-level-zero-thread.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/SYCL/Plugin/interop-level-zero.cpp b/SYCL/Plugin/interop-level-zero.cpp index b94d3a96a2..76498ce9b5 100644 --- a/SYCL/Plugin/interop-level-zero.cpp +++ b/SYCL/Plugin/interop-level-zero.cpp @@ -5,6 +5,7 @@ // Test for Level Zero interop API +#include #include // clang-format off #include diff --git a/SYCL/Plugin/interop-opencl-interop-task-mem.cpp b/SYCL/Plugin/interop-opencl-interop-task-mem.cpp index 179b2e890a..de65272ddc 100644 --- a/SYCL/Plugin/interop-opencl-interop-task-mem.cpp +++ b/SYCL/Plugin/interop-opencl-interop-task-mem.cpp @@ -6,6 +6,7 @@ // Test for OpenCL interop_task. #include +#include #include #include diff --git a/SYCL/Plugin/level_zero_device_scope_events.cpp b/SYCL/Plugin/level_zero_device_scope_events.cpp index b3bf8a7c87..276bcf06f3 100644 --- a/SYCL/Plugin/level_zero_device_scope_events.cpp +++ b/SYCL/Plugin/level_zero_device_scope_events.cpp @@ -30,6 +30,7 @@ // zeCommandQueueExecuteCommandLists(ZeCommandQueue, 1, &ZeCommandList, // CommandList->second.ZeFence) /// +#include #include int main(int argc, char **argv) { diff --git a/SYCL/Plugin/level_zero_queue_profiling.cpp b/SYCL/Plugin/level_zero_queue_profiling.cpp index a995528348..374ef49f8e 100644 --- a/SYCL/Plugin/level_zero_queue_profiling.cpp +++ b/SYCL/Plugin/level_zero_queue_profiling.cpp @@ -10,7 +10,7 @@ // Check the expected output when queue::enable_profiling is not specified // // WITHOUT: ze_event_pool_desc_t flags set to: 1 -// WITHOUT: SYCL exception caught: get_profiling_info() can't be used without set 'enable_profiling' queue property +// WITHOUT: SYCL exception caught: Profiling information is unavailable as the queue associated with the event does not have the 'enable_profiling' property. // Check the expected output when queue::enable_profiling is specified // @@ -19,6 +19,7 @@ // clang-format on // +#include #include using namespace cl::sycl; diff --git a/SYCL/Reduction/reduction_range_scalar.hpp b/SYCL/Reduction/reduction_range_scalar.hpp index c2dcbe5f53..d7c8e9f406 100644 --- a/SYCL/Reduction/reduction_range_scalar.hpp +++ b/SYCL/Reduction/reduction_range_scalar.hpp @@ -3,6 +3,7 @@ // accessing a scalar holding the reduction result. #include "reduction_utils.hpp" +#include using namespace cl::sycl; diff --git a/SYCL/Reduction/reduction_reducer_op_eq.cpp b/SYCL/Reduction/reduction_reducer_op_eq.cpp index db04c2bcd0..d67582dde9 100644 --- a/SYCL/Reduction/reduction_reducer_op_eq.cpp +++ b/SYCL/Reduction/reduction_reducer_op_eq.cpp @@ -10,6 +10,7 @@ // whent the corresponding std::plus<>, std::multiplies, etc are defined. #include "reduction_utils.hpp" +#include using namespace sycl; diff --git a/SYCL/Reduction/reduction_utils.hpp b/SYCL/Reduction/reduction_utils.hpp index e98a9e129f..f67a3f369b 100644 --- a/SYCL/Reduction/reduction_utils.hpp +++ b/SYCL/Reduction/reduction_utils.hpp @@ -1,3 +1,4 @@ +#include #include using namespace cl::sycl; diff --git a/SYCL/Regression/cache_test.cpp b/SYCL/Regression/cache_test.cpp index 0e25640735..920444d32e 100644 --- a/SYCL/Regression/cache_test.cpp +++ b/SYCL/Regression/cache_test.cpp @@ -4,9 +4,9 @@ // REQUIRES: level_zero, level_zero_dev_kit #include +#include #include #include - #include #include diff --git a/SYCL/Regression/device_num.cpp b/SYCL/Regression/device_num.cpp index 68a9cf22b4..112f958eaa 100644 --- a/SYCL/Regression/device_num.cpp +++ b/SYCL/Regression/device_num.cpp @@ -11,6 +11,7 @@ // Temporarily disable on L0 due to fails in CI // UNSUPPORTED: level_zero +#include #include #include #include diff --git a/SYCL/Regression/image_access.cpp b/SYCL/Regression/image_access.cpp index d349b33bad..4df0272228 100644 --- a/SYCL/Regression/image_access.cpp +++ b/SYCL/Regression/image_access.cpp @@ -15,6 +15,7 @@ // //===----------------------------------------------------------------------===// +#include #include int main() { diff --git a/SYCL/Scheduler/HostAccDestruction.cpp b/SYCL/Scheduler/HostAccDestruction.cpp index 5244ed6c47..7d99e951d4 100644 --- a/SYCL/Scheduler/HostAccDestruction.cpp +++ b/SYCL/Scheduler/HostAccDestruction.cpp @@ -11,6 +11,7 @@ // //===----------------------------------------------------------------------===// +#include #include int main() { diff --git a/SYCL/SeparateCompile/test.cpp b/SYCL/SeparateCompile/test.cpp index 0d65b56061..7c1e621211 100644 --- a/SYCL/SeparateCompile/test.cpp +++ b/SYCL/SeparateCompile/test.cpp @@ -57,6 +57,7 @@ //===----------------------------------------------------------------------===// #ifdef B_CPP // ----------------------------------------------------------------------------- +#include #include int run_test_b(int v) { diff --git a/SYCL/SubGroup/broadcast.hpp b/SYCL/SubGroup/broadcast.hpp index 987c46135d..522056622a 100644 --- a/SYCL/SubGroup/broadcast.hpp +++ b/SYCL/SubGroup/broadcast.hpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "helper.hpp" +#include #include template class sycl_subgr; using namespace cl::sycl; diff --git a/SYCL/SubGroup/reduce.cpp b/SYCL/SubGroup/reduce.cpp index 87fe8e8102..4750ae3694 100644 --- a/SYCL/SubGroup/reduce.cpp +++ b/SYCL/SubGroup/reduce.cpp @@ -12,7 +12,7 @@ //===----------------------------------------------------------------------===// #include "reduce.hpp" - +#include int main() { queue Queue; if (!core_sg_supported(Queue.get_device())) { diff --git a/SYCL/SubGroup/reduce.hpp b/SYCL/SubGroup/reduce.hpp index bcc6c0e7f2..153be5db95 100644 --- a/SYCL/SubGroup/reduce.hpp +++ b/SYCL/SubGroup/reduce.hpp @@ -7,8 +7,8 @@ //===----------------------------------------------------------------------===// #include "helper.hpp" +#include #include - template class sycl_subgr; using namespace sycl; diff --git a/SYCL/SubGroup/reduce_spirv13.cpp b/SYCL/SubGroup/reduce_spirv13.cpp index f834235a01..69df2ea7e5 100644 --- a/SYCL/SubGroup/reduce_spirv13.cpp +++ b/SYCL/SubGroup/reduce_spirv13.cpp @@ -12,7 +12,7 @@ // used with the operation MUL, bitwise OR, XOR, AND. #include "reduce.hpp" - +#include int main() { queue Queue; if (!core_sg_supported(Queue.get_device())) { diff --git a/SYCL/SubGroup/reduce_spirv13_fp64.cpp b/SYCL/SubGroup/reduce_spirv13_fp64.cpp index a1ca6ddd4e..58d1631e90 100644 --- a/SYCL/SubGroup/reduce_spirv13_fp64.cpp +++ b/SYCL/SubGroup/reduce_spirv13_fp64.cpp @@ -12,7 +12,7 @@ // used with MUL operation. #include "reduce.hpp" - +#include int main() { queue Queue; if (!core_sg_supported(Queue.get_device()) || diff --git a/SYCL/SubGroup/scan.cpp b/SYCL/SubGroup/scan.cpp index 41a72d31f3..b0a9224b84 100644 --- a/SYCL/SubGroup/scan.cpp +++ b/SYCL/SubGroup/scan.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "scan.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/scan.hpp b/SYCL/SubGroup/scan.hpp index adfc32e9ff..9d685877a8 100644 --- a/SYCL/SubGroup/scan.hpp +++ b/SYCL/SubGroup/scan.hpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "helper.hpp" +#include #include #include diff --git a/SYCL/SubGroup/scan_fp16.cpp b/SYCL/SubGroup/scan_fp16.cpp index 1f8a21365e..01bde6b451 100644 --- a/SYCL/SubGroup/scan_fp16.cpp +++ b/SYCL/SubGroup/scan_fp16.cpp @@ -9,7 +9,7 @@ // exclusive_scan() and inclusive_scan(). #include "scan.hpp" - +#include int main() { queue Queue; if (!core_sg_supported(Queue.get_device()) || diff --git a/SYCL/SubGroup/scan_fp64.cpp b/SYCL/SubGroup/scan_fp64.cpp index 05ba776a40..328334c222 100644 --- a/SYCL/SubGroup/scan_fp64.cpp +++ b/SYCL/SubGroup/scan_fp64.cpp @@ -7,7 +7,7 @@ // exclusive_scan() and inclusive_scan(). #include "scan.hpp" - +#include int main() { queue Queue; if (!core_sg_supported(Queue.get_device()) || diff --git a/SYCL/SubGroup/scan_spirv13.cpp b/SYCL/SubGroup/scan_spirv13.cpp index 1e7962d0e6..a89bcd8213 100644 --- a/SYCL/SubGroup/scan_spirv13.cpp +++ b/SYCL/SubGroup/scan_spirv13.cpp @@ -12,6 +12,7 @@ // inclusive_scan() algoriths used with the operation MUL, bitwise OR, XOR, AND. #include "scan.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/scan_spirv13_fp16.cpp b/SYCL/SubGroup/scan_spirv13_fp16.cpp index de2c5e3f6a..0dbf0e7d14 100644 --- a/SYCL/SubGroup/scan_spirv13_fp16.cpp +++ b/SYCL/SubGroup/scan_spirv13_fp16.cpp @@ -7,6 +7,7 @@ // inclusive_scan() algoriths used with the MUL operation. #include "scan.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/scan_spirv13_fp64.cpp b/SYCL/SubGroup/scan_spirv13_fp64.cpp index d3865b4fd8..e60c565631 100644 --- a/SYCL/SubGroup/scan_spirv13_fp64.cpp +++ b/SYCL/SubGroup/scan_spirv13_fp64.cpp @@ -9,6 +9,7 @@ // inclusive_scan() algoriths used with the MUL operation. #include "scan.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/shuffle.cpp b/SYCL/SubGroup/shuffle.cpp index b11a0c5103..dcb3ad5893 100644 --- a/SYCL/SubGroup/shuffle.cpp +++ b/SYCL/SubGroup/shuffle.cpp @@ -16,6 +16,7 @@ //===----------------------------------------------------------------------===// #include "shuffle.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/shuffle.hpp b/SYCL/SubGroup/shuffle.hpp index bedfd09748..dd0da2269a 100644 --- a/SYCL/SubGroup/shuffle.hpp +++ b/SYCL/SubGroup/shuffle.hpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "helper.hpp" +#include #include template class sycl_subgr; diff --git a/SYCL/SubGroup/shuffle_fp16.cpp b/SYCL/SubGroup/shuffle_fp16.cpp index 93da06fa69..9845c200c7 100644 --- a/SYCL/SubGroup/shuffle_fp16.cpp +++ b/SYCL/SubGroup/shuffle_fp16.cpp @@ -18,6 +18,7 @@ //===----------------------------------------------------------------------===// #include "shuffle.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/shuffle_fp64.cpp b/SYCL/SubGroup/shuffle_fp64.cpp index ad5d805495..2ad6a49e7d 100644 --- a/SYCL/SubGroup/shuffle_fp64.cpp +++ b/SYCL/SubGroup/shuffle_fp64.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "shuffle.hpp" +#include int main() { queue Queue; diff --git a/SYCL/SubGroup/vote.cpp b/SYCL/SubGroup/vote.cpp index 8c99d101d3..5f0f2e2144 100644 --- a/SYCL/SubGroup/vote.cpp +++ b/SYCL/SubGroup/vote.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "helper.hpp" +#include #include using namespace cl::sycl; diff --git a/SYCL/SubGroupMask/Basic.cpp b/SYCL/SubGroupMask/Basic.cpp index fdca5b6067..08a0fe1d77 100644 --- a/SYCL/SubGroupMask/Basic.cpp +++ b/SYCL/SubGroupMask/Basic.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace sycl; constexpr int global_size = 128; diff --git a/SYCL/SubGroupMask/GroupSize.cpp b/SYCL/SubGroupMask/GroupSize.cpp index 4a8487ec2d..134e8fef8c 100644 --- a/SYCL/SubGroupMask/GroupSize.cpp +++ b/SYCL/SubGroupMask/GroupSize.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace sycl; #ifdef SYCL_EXT_ONEAPI_SUB_GROUP_MASK diff --git a/SYCL/USM/dep_events.cpp b/SYCL/USM/dep_events.cpp index a565082195..80d61f03de 100644 --- a/SYCL/USM/dep_events.cpp +++ b/SYCL/USM/dep_events.cpp @@ -16,6 +16,7 @@ // RUN: %GPU_RUN_PLACEHOLDER %t1.out // RUN: %ACC_RUN_PLACEHOLDER %t1.out +#include #include using namespace sycl; diff --git a/SYCL/USM/queue_wait.cpp b/SYCL/USM/queue_wait.cpp index 837a260f84..ee379ab091 100644 --- a/SYCL/USM/queue_wait.cpp +++ b/SYCL/USM/queue_wait.cpp @@ -4,6 +4,7 @@ // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out +#include #include #include diff --git a/SYCL/USM/source_kernel_indirect_access.cpp b/SYCL/USM/source_kernel_indirect_access.cpp index 76fc008600..701deb8696 100644 --- a/SYCL/USM/source_kernel_indirect_access.cpp +++ b/SYCL/USM/source_kernel_indirect_access.cpp @@ -5,6 +5,7 @@ // REQUIRES: opencl,opencl_icd #include +#include #include #include diff --git a/SYCL/USM/usm_pooling.cpp b/SYCL/USM/usm_pooling.cpp index 2a0da472a0..952625c1dd 100755 --- a/SYCL/USM/usm_pooling.cpp +++ b/SYCL/USM/usm_pooling.cpp @@ -27,8 +27,8 @@ // RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER SYCL_PI_LEVEL_ZERO_USM_ALLOCATOR=";;2M,4,4M" %t.out h 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER --check-prefix CHECK-15 // RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER SYCL_PI_LEVEL_ZERO_USM_ALLOCATOR=";;2M,4,4M" %t.out d 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER --check-prefix CHECK-15 // RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER SYCL_PI_LEVEL_ZERO_USM_ALLOCATOR=";;2M,4,4M" %t.out s 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER --check-prefix CHECK-15 - #include "CL/sycl.hpp" +#include using namespace sycl; constexpr size_t SIZE = 2 * 1024 * 1024; diff --git a/SYCL/XPTI/buffer/host_array.cpp b/SYCL/XPTI/buffer/host_array.cpp index 69fa4143dc..4f60fdbb3d 100644 --- a/SYCL/XPTI/buffer/host_array.cpp +++ b/SYCL/XPTI/buffer/host_array.cpp @@ -8,7 +8,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include int main() { diff --git a/SYCL/XPTI/buffer/in_cycle.cpp b/SYCL/XPTI/buffer/in_cycle.cpp index ddd7d8fe98..674a943468 100644 --- a/SYCL/XPTI/buffer/in_cycle.cpp +++ b/SYCL/XPTI/buffer/in_cycle.cpp @@ -9,7 +9,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include bool func(sycl::queue &Queue, int depth = 0) { bool MismatchFound = false; diff --git a/SYCL/XPTI/buffer/multiple_buffers.cpp b/SYCL/XPTI/buffer/multiple_buffers.cpp index 5b2bc0f15d..938823cd9b 100644 --- a/SYCL/XPTI/buffer/multiple_buffers.cpp +++ b/SYCL/XPTI/buffer/multiple_buffers.cpp @@ -8,7 +8,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include int main() { diff --git a/SYCL/XPTI/buffer/multiple_queues.cpp b/SYCL/XPTI/buffer/multiple_queues.cpp index deb175c48e..d6fc5f10e4 100644 --- a/SYCL/XPTI/buffer/multiple_queues.cpp +++ b/SYCL/XPTI/buffer/multiple_queues.cpp @@ -8,7 +8,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include int main() { diff --git a/SYCL/XPTI/buffer/recursion.cpp b/SYCL/XPTI/buffer/recursion.cpp index 0a0b479ad1..df280358e3 100644 --- a/SYCL/XPTI/buffer/recursion.cpp +++ b/SYCL/XPTI/buffer/recursion.cpp @@ -9,7 +9,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include bool func(sycl::queue &Queue, int depth = 0) { bool MismatchFound = false; diff --git a/SYCL/XPTI/buffer/sub_buffer.cpp b/SYCL/XPTI/buffer/sub_buffer.cpp index fe0ff1f8dd..fede1d3d94 100644 --- a/SYCL/XPTI/buffer/sub_buffer.cpp +++ b/SYCL/XPTI/buffer/sub_buffer.cpp @@ -8,7 +8,7 @@ #include "../Inputs/buffer_info_collector.cpp" #else - +#include #include int main() { diff --git a/SYCL/XPTI/buffer/use_host_ptr.cpp b/SYCL/XPTI/buffer/use_host_ptr.cpp index 53e90d7a69..fd56edd616 100644 --- a/SYCL/XPTI/buffer/use_host_ptr.cpp +++ b/SYCL/XPTI/buffer/use_host_ptr.cpp @@ -9,8 +9,8 @@ #else +#include #include - int main() { bool MismatchFound = false; sycl::queue Queue{}; diff --git a/SYCL/helpers.hpp b/SYCL/helpers.hpp index 8073bf5420..d4dc9198fd 100644 --- a/SYCL/helpers.hpp +++ b/SYCL/helpers.hpp @@ -6,6 +6,7 @@ // //===----------------------------------------------------------------------===// +#include #include using namespace cl;