From 7c4b0cacf82a308b362e8145d7a01e7512398f6c Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 29 Sep 2023 09:54:05 -0500 Subject: [PATCH] Change include CL/sycl.hpp to sycl/sycl.hpp per SYCL-2020 spec --- dpctl/tensor/libtensor/source/accumulators.cpp | 2 +- dpctl/tensor/libtensor/source/accumulators.hpp | 2 +- dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp | 2 +- dpctl/tensor/libtensor/source/boolean_advanced_indexing.hpp | 2 +- dpctl/tensor/libtensor/source/boolean_reductions.cpp | 2 +- dpctl/tensor/libtensor/source/boolean_reductions.hpp | 2 +- dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp | 2 +- dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp | 2 +- dpctl/tensor/libtensor/source/copy_for_reshape.cpp | 2 +- dpctl/tensor/libtensor/source/copy_for_reshape.hpp | 2 +- dpctl/tensor/libtensor/source/copy_for_roll.cpp | 2 +- dpctl/tensor/libtensor/source/copy_for_roll.hpp | 2 +- .../libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp | 2 +- .../libtensor/source/copy_numpy_ndarray_into_usm_ndarray.hpp | 2 +- dpctl/tensor/libtensor/source/device_support_queries.cpp | 2 +- dpctl/tensor/libtensor/source/device_support_queries.hpp | 2 +- dpctl/tensor/libtensor/source/elementwise_functions.cpp | 2 +- dpctl/tensor/libtensor/source/elementwise_functions.hpp | 2 +- dpctl/tensor/libtensor/source/eye_ctor.cpp | 2 +- dpctl/tensor/libtensor/source/eye_ctor.hpp | 2 +- dpctl/tensor/libtensor/source/full_ctor.cpp | 2 +- dpctl/tensor/libtensor/source/full_ctor.hpp | 2 +- dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp | 2 +- dpctl/tensor/libtensor/source/integer_advanced_indexing.hpp | 2 +- dpctl/tensor/libtensor/source/linear_sequences.cpp | 2 +- dpctl/tensor/libtensor/source/linear_sequences.hpp | 2 +- dpctl/tensor/libtensor/source/repeat.cpp | 2 +- dpctl/tensor/libtensor/source/repeat.hpp | 2 +- dpctl/tensor/libtensor/source/sum_reductions.cpp | 2 +- dpctl/tensor/libtensor/source/sum_reductions.hpp | 2 +- dpctl/tensor/libtensor/source/tensor_py.cpp | 2 +- dpctl/tensor/libtensor/source/triul_ctor.cpp | 2 +- dpctl/tensor/libtensor/source/triul_ctor.hpp | 2 +- dpctl/tensor/libtensor/source/where.cpp | 2 +- dpctl/tensor/libtensor/source/where.hpp | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/dpctl/tensor/libtensor/source/accumulators.cpp b/dpctl/tensor/libtensor/source/accumulators.cpp index 40f4424ef9..0a2ce69f69 100644 --- a/dpctl/tensor/libtensor/source/accumulators.cpp +++ b/dpctl/tensor/libtensor/source/accumulators.cpp @@ -23,11 +23,11 @@ //===----------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/accumulators.hpp b/dpctl/tensor/libtensor/source/accumulators.hpp index 4979eab54f..ba40c38e1d 100644 --- a/dpctl/tensor/libtensor/source/accumulators.hpp +++ b/dpctl/tensor/libtensor/source/accumulators.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp b/dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp index ff7b32d0f7..903e1b5536 100644 --- a/dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp +++ b/dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp @@ -24,11 +24,11 @@ //===----------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/boolean_advanced_indexing.hpp b/dpctl/tensor/libtensor/source/boolean_advanced_indexing.hpp index 26f1c6a646..8347d9f687 100644 --- a/dpctl/tensor/libtensor/source/boolean_advanced_indexing.hpp +++ b/dpctl/tensor/libtensor/source/boolean_advanced_indexing.hpp @@ -24,7 +24,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/boolean_reductions.cpp b/dpctl/tensor/libtensor/source/boolean_reductions.cpp index 5f3c1f5e51..32deab6da9 100644 --- a/dpctl/tensor/libtensor/source/boolean_reductions.cpp +++ b/dpctl/tensor/libtensor/source/boolean_reductions.cpp @@ -24,8 +24,8 @@ /// dpctl.tensor.all and dpctl.tensor.any //===----------------------------------------------------------------------===// -#include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/boolean_reductions.hpp b/dpctl/tensor/libtensor/source/boolean_reductions.hpp index 5a0d5d381a..4d59463f8b 100644 --- a/dpctl/tensor/libtensor/source/boolean_reductions.hpp +++ b/dpctl/tensor/libtensor/source/boolean_reductions.hpp @@ -25,11 +25,11 @@ #pragma once #include "dpctl4pybind11.hpp" -#include #include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp b/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp index 290ab88fe8..51ddd81312 100644 --- a/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp +++ b/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp @@ -22,7 +22,6 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===----------------------------------------------------------------------===// -#include #include #include #include @@ -30,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp b/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp index c2161f1ba6..c8196b416a 100644 --- a/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp +++ b/dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp @@ -23,7 +23,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_for_reshape.cpp b/dpctl/tensor/libtensor/source/copy_for_reshape.cpp index c9ab58528a..235878b820 100644 --- a/dpctl/tensor/libtensor/source/copy_for_reshape.cpp +++ b/dpctl/tensor/libtensor/source/copy_for_reshape.cpp @@ -22,7 +22,7 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===----------------------------------------------------------------------===// -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_for_reshape.hpp b/dpctl/tensor/libtensor/source/copy_for_reshape.hpp index 2f25a68480..cd4ca68ff0 100644 --- a/dpctl/tensor/libtensor/source/copy_for_reshape.hpp +++ b/dpctl/tensor/libtensor/source/copy_for_reshape.hpp @@ -23,7 +23,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_for_roll.cpp b/dpctl/tensor/libtensor/source/copy_for_roll.cpp index cc319e6e08..ab36f543af 100644 --- a/dpctl/tensor/libtensor/source/copy_for_roll.cpp +++ b/dpctl/tensor/libtensor/source/copy_for_roll.cpp @@ -22,7 +22,7 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===----------------------------------------------------------------------===// -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_for_roll.hpp b/dpctl/tensor/libtensor/source/copy_for_roll.hpp index 38e84b9c6a..357d821eff 100644 --- a/dpctl/tensor/libtensor/source/copy_for_roll.hpp +++ b/dpctl/tensor/libtensor/source/copy_for_roll.hpp @@ -23,7 +23,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp b/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp index bb367a42b9..f644522c18 100644 --- a/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp +++ b/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp @@ -22,8 +22,8 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===----------------------------------------------------------------------===// -#include #include +#include #include #include "dpctl4pybind11.hpp" diff --git a/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.hpp b/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.hpp index 3f1833ec99..247a5d7314 100644 --- a/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.hpp +++ b/dpctl/tensor/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.hpp @@ -23,7 +23,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include "dpctl4pybind11.hpp" diff --git a/dpctl/tensor/libtensor/source/device_support_queries.cpp b/dpctl/tensor/libtensor/source/device_support_queries.cpp index 9f793cb00a..cb0dbc02a5 100644 --- a/dpctl/tensor/libtensor/source/device_support_queries.cpp +++ b/dpctl/tensor/libtensor/source/device_support_queries.cpp @@ -25,9 +25,9 @@ #include #include "dpctl4pybind11.hpp" -#include #include #include +#include namespace dpctl { diff --git a/dpctl/tensor/libtensor/source/device_support_queries.hpp b/dpctl/tensor/libtensor/source/device_support_queries.hpp index 3367f8bfc2..efffd4ac93 100644 --- a/dpctl/tensor/libtensor/source/device_support_queries.hpp +++ b/dpctl/tensor/libtensor/source/device_support_queries.hpp @@ -26,9 +26,9 @@ #include #include "dpctl4pybind11.hpp" -#include #include #include +#include namespace dpctl { diff --git a/dpctl/tensor/libtensor/source/elementwise_functions.cpp b/dpctl/tensor/libtensor/source/elementwise_functions.cpp index cca0ac7c0a..86288d1387 100644 --- a/dpctl/tensor/libtensor/source/elementwise_functions.cpp +++ b/dpctl/tensor/libtensor/source/elementwise_functions.cpp @@ -24,10 +24,10 @@ //===----------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include +#include #include #include "elementwise_functions.hpp" diff --git a/dpctl/tensor/libtensor/source/elementwise_functions.hpp b/dpctl/tensor/libtensor/source/elementwise_functions.hpp index 523e4259c3..666e34773c 100644 --- a/dpctl/tensor/libtensor/source/elementwise_functions.hpp +++ b/dpctl/tensor/libtensor/source/elementwise_functions.hpp @@ -26,10 +26,10 @@ #pragma once #include "dpctl4pybind11.hpp" -#include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/eye_ctor.cpp b/dpctl/tensor/libtensor/source/eye_ctor.cpp index 5d7657d047..c768a5e395 100644 --- a/dpctl/tensor/libtensor/source/eye_ctor.cpp +++ b/dpctl/tensor/libtensor/source/eye_ctor.cpp @@ -22,7 +22,7 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===--------------------------------------------------------------------===// -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/eye_ctor.hpp b/dpctl/tensor/libtensor/source/eye_ctor.hpp index 4307e0f3b2..58249f08d7 100644 --- a/dpctl/tensor/libtensor/source/eye_ctor.hpp +++ b/dpctl/tensor/libtensor/source/eye_ctor.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/full_ctor.cpp b/dpctl/tensor/libtensor/source/full_ctor.cpp index 085bdcaf2a..c8004bfae8 100644 --- a/dpctl/tensor/libtensor/source/full_ctor.cpp +++ b/dpctl/tensor/libtensor/source/full_ctor.cpp @@ -23,10 +23,10 @@ //===--------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/full_ctor.hpp b/dpctl/tensor/libtensor/source/full_ctor.hpp index 3894babf1f..66456f9a7f 100644 --- a/dpctl/tensor/libtensor/source/full_ctor.hpp +++ b/dpctl/tensor/libtensor/source/full_ctor.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp b/dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp index a17a229fc1..0fd3d2615d 100644 --- a/dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp +++ b/dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp @@ -23,13 +23,13 @@ /// dpctl.tensor.put //===----------------------------------------------------------------------===// -#include #include #include #include #include #include #include +#include #include #include "dpctl4pybind11.hpp" diff --git a/dpctl/tensor/libtensor/source/integer_advanced_indexing.hpp b/dpctl/tensor/libtensor/source/integer_advanced_indexing.hpp index f845f7d23b..011fe670a9 100644 --- a/dpctl/tensor/libtensor/source/integer_advanced_indexing.hpp +++ b/dpctl/tensor/libtensor/source/integer_advanced_indexing.hpp @@ -24,7 +24,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/linear_sequences.cpp b/dpctl/tensor/libtensor/source/linear_sequences.cpp index 34db93de12..72d292df5f 100644 --- a/dpctl/tensor/libtensor/source/linear_sequences.cpp +++ b/dpctl/tensor/libtensor/source/linear_sequences.cpp @@ -23,10 +23,10 @@ //===--------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/linear_sequences.hpp b/dpctl/tensor/libtensor/source/linear_sequences.hpp index 61e613b45f..fd13677680 100644 --- a/dpctl/tensor/libtensor/source/linear_sequences.hpp +++ b/dpctl/tensor/libtensor/source/linear_sequences.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/repeat.cpp b/dpctl/tensor/libtensor/source/repeat.cpp index 0dbfb17a5d..de7ccd6554 100644 --- a/dpctl/tensor/libtensor/source/repeat.cpp +++ b/dpctl/tensor/libtensor/source/repeat.cpp @@ -23,11 +23,11 @@ //===--------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/repeat.hpp b/dpctl/tensor/libtensor/source/repeat.hpp index 87fb0a0847..18046a2a3e 100644 --- a/dpctl/tensor/libtensor/source/repeat.hpp +++ b/dpctl/tensor/libtensor/source/repeat.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/sum_reductions.cpp b/dpctl/tensor/libtensor/source/sum_reductions.cpp index 529096f5b6..e7c4b83fff 100644 --- a/dpctl/tensor/libtensor/source/sum_reductions.cpp +++ b/dpctl/tensor/libtensor/source/sum_reductions.cpp @@ -22,10 +22,10 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===--------------------------------------------------------------------===// -#include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/sum_reductions.hpp b/dpctl/tensor/libtensor/source/sum_reductions.hpp index ac612ec1f7..7aff280a02 100644 --- a/dpctl/tensor/libtensor/source/sum_reductions.hpp +++ b/dpctl/tensor/libtensor/source/sum_reductions.hpp @@ -23,8 +23,8 @@ //===--------------------------------------------------------------------===// #pragma once -#include #include +#include namespace dpctl { diff --git a/dpctl/tensor/libtensor/source/tensor_py.cpp b/dpctl/tensor/libtensor/source/tensor_py.cpp index 2ce7c72add..1096db2701 100644 --- a/dpctl/tensor/libtensor/source/tensor_py.cpp +++ b/dpctl/tensor/libtensor/source/tensor_py.cpp @@ -22,12 +22,12 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===----------------------------------------------------------------------===// -#include #include #include #include #include #include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/triul_ctor.cpp b/dpctl/tensor/libtensor/source/triul_ctor.cpp index 40dd5cf48a..03fcd2994c 100644 --- a/dpctl/tensor/libtensor/source/triul_ctor.cpp +++ b/dpctl/tensor/libtensor/source/triul_ctor.cpp @@ -22,7 +22,7 @@ /// This file defines functions of dpctl.tensor._tensor_impl extensions //===--------------------------------------------------------------------===// -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/triul_ctor.hpp b/dpctl/tensor/libtensor/source/triul_ctor.hpp index 9e7053c638..de80d20407 100644 --- a/dpctl/tensor/libtensor/source/triul_ctor.hpp +++ b/dpctl/tensor/libtensor/source/triul_ctor.hpp @@ -23,7 +23,7 @@ //===--------------------------------------------------------------------===// #pragma once -#include +#include #include #include diff --git a/dpctl/tensor/libtensor/source/where.cpp b/dpctl/tensor/libtensor/source/where.cpp index ed782bda34..e533fd2ee1 100644 --- a/dpctl/tensor/libtensor/source/where.cpp +++ b/dpctl/tensor/libtensor/source/where.cpp @@ -24,12 +24,12 @@ //===----------------------------------------------------------------------===// #include "dpctl4pybind11.hpp" -#include #include #include #include #include #include +#include #include #include "kernels/where.hpp" diff --git a/dpctl/tensor/libtensor/source/where.hpp b/dpctl/tensor/libtensor/source/where.hpp index 6fe6527080..2ca3b39e02 100644 --- a/dpctl/tensor/libtensor/source/where.hpp +++ b/dpctl/tensor/libtensor/source/where.hpp @@ -24,7 +24,7 @@ //===----------------------------------------------------------------------===// #pragma once -#include +#include #include #include