Skip to content

Commit f722b46

Browse files
Add include <stdexcept> for std::runtime_error, reordered headers
1 parent 755f579 commit f722b46

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dpctl/tensor/libtensor/source/accumulators/accumulate_over_axis.hpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@
2424

2525
#pragma once
2626

27-
#include "dpctl4pybind11.hpp"
2827
#include <cstdint>
2928
#include <limits>
30-
#include <pybind11/numpy.h>
31-
#include <pybind11/pybind11.h>
32-
#include <pybind11/stl.h>
29+
#include <stdexcept>
3330
#include <sycl/sycl.hpp>
3431
#include <utility>
3532
#include <vector>
3633

34+
#include "dpctl4pybind11.hpp"
35+
#include <pybind11/numpy.h>
36+
#include <pybind11/pybind11.h>
37+
#include <pybind11/stl.h>
38+
3739
#include "kernels/accumulators.hpp"
3840
#include "simplify_iteration_space.hpp"
3941
#include "utils/memory_overlap.hpp"

0 commit comments

Comments
 (0)