Skip to content

Commit 755f579

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dpctl/tensor/libtensor/source/accumulators.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@
2222
/// This file defines functions of dpctl.tensor._tensor_impl extensions
2323
//===----------------------------------------------------------------------===//
2424

25-
#include "dpctl4pybind11.hpp"
2625
#include <cstdint>
2726
#include <limits>
28-
#include <pybind11/pybind11.h>
29-
#include <pybind11/stl.h>
27+
#include <stdexcept>
3028
#include <sycl/sycl.hpp>
3129
#include <utility>
3230
#include <vector>
3331

32+
#include "dpctl4pybind11.hpp"
33+
#include <pybind11/pybind11.h>
34+
#include <pybind11/stl.h>
35+
3436
#include "kernels/accumulators.hpp"
3537
#include "simplify_iteration_space.hpp"
3638
#include "utils/memory_overlap.hpp"

0 commit comments

Comments
 (0)