Skip to content

Commit

Permalink
Change include CL/sycl.hpp to sycl/sycl.hpp per SYCL-2020 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Sep 29, 2023
1 parent 157316b commit 7c4b0ca
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/accumulators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
//===----------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <cstdint>
#include <limits>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/accumulators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
//===----------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <cstdint>
#include <limits>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/boolean_reductions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
/// dpctl.tensor.all and dpctl.tensor.any
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <cstdint>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/boolean_reductions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@

#pragma once
#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <algorithm>
#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <algorithm>
#include <complex>
#include <cstdint>
#include <pybind11/complex.h>
#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <thread>
#include <type_traits>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_for_reshape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_for_reshape.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_for_roll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/copy_for_roll.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <algorithm>
#include <sycl/sycl.hpp>
#include <vector>

#include "dpctl4pybind11.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <vector>

#include "dpctl4pybind11.hpp"
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/device_support_queries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
#include <string>

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>

namespace dpctl
{
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/device_support_queries.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include <string>

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>

namespace dpctl
{
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/elementwise_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
//===----------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>

#include "elementwise_functions.hpp"
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/elementwise_functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#pragma once

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/eye_ctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===--------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/eye_ctor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/full_ctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
//===--------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <complex>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/full_ctor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
/// dpctl.tensor.put
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <algorithm>
#include <complex>
#include <cstdint>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>

#include "dpctl4pybind11.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/linear_sequences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
//===--------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <complex>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/linear_sequences.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/repeat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
//===--------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <cstdint>
#include <limits>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/repeat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/sum_reductions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===--------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <algorithm>
#include <cstddef>
#include <string>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/sum_reductions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <pybind11/pybind11.h>
#include <sycl/sycl.hpp>

namespace dpctl
{
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/tensor_py.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===----------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <algorithm>
#include <complex>
#include <cstdint>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <thread>
#include <type_traits>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/triul_ctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// This file defines functions of dpctl.tensor._tensor_impl extensions
//===--------------------------------------------------------------------===//

#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/triul_ctor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//===--------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/where.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
//===----------------------------------------------------------------------===//

#include "dpctl4pybind11.hpp"
#include <CL/sycl.hpp>
#include <complex>
#include <cstdint>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <sycl/sycl.hpp>
#include <utility>

#include "kernels/where.hpp"
Expand Down
2 changes: 1 addition & 1 deletion dpctl/tensor/libtensor/source/where.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//===----------------------------------------------------------------------===//

#pragma once
#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>
#include <utility>
#include <vector>

Expand Down

0 comments on commit 7c4b0ca

Please sign in to comment.