Skip to content

Commit 99fcdda

Browse files
Add include <stdexcept> for std::runtime_error, reordered headers
1 parent 418d865 commit 99fcdda

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@
2525
#include <algorithm>
2626
#include <complex>
2727
#include <cstdint>
28-
#include <pybind11/complex.h>
29-
#include <pybind11/numpy.h>
30-
#include <pybind11/pybind11.h>
31-
#include <pybind11/stl.h>
28+
#include <stdexcept>
3229
#include <sycl/sycl.hpp>
3330
#include <thread>
3431
#include <type_traits>
3532
#include <utility>
3633

3734
#include "dpctl4pybind11.hpp"
35+
#include <pybind11/complex.h>
36+
#include <pybind11/numpy.h>
37+
#include <pybind11/pybind11.h>
38+
#include <pybind11/stl.h>
3839

3940
#include "kernels/copy_and_cast.hpp"
4041
#include "utils/memory_overlap.hpp"

0 commit comments

Comments
 (0)