Skip to content

Commit 56a0042

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dpctl/tensor/libtensor/source/copy_for_reshape.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,20 @@
2222
/// This file defines functions of dpctl.tensor._tensor_impl extensions
2323
//===----------------------------------------------------------------------===//
2424

25+
#include <stdexcept>
2526
#include <sycl/sycl.hpp>
2627
#include <utility>
2728
#include <vector>
2829

29-
#include "copy_for_reshape.hpp"
3030
#include "dpctl4pybind11.hpp"
31+
#include <pybind11/pybind11.h>
32+
33+
#include "copy_for_reshape.hpp"
3134
#include "kernels/copy_and_cast.hpp"
3235
#include "utils/offset_utils.hpp"
3336
#include "utils/output_validation.hpp"
3437
#include "utils/sycl_alloc_utils.hpp"
3538
#include "utils/type_dispatch.hpp"
36-
#include <pybind11/pybind11.h>
3739

3840
namespace dpctl
3941
{

0 commit comments

Comments
 (0)