Skip to content

Commit 4816161

Browse files
antonwolfyvtavana
andauthored
Technical debt (#2136)
* Add include <stdexcept> for std::runtime_error * Add include <exception> for std::exception --------- Co-authored-by: vtavana <[email protected]>
1 parent 7f4fc14 commit 4816161

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+98
-3
lines changed

dpnp/backend/extensions/blas/dot.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
#pragma once
2727

28+
#include <stdexcept>
29+
2830
#include "dot_common.hpp"
2931

3032
namespace dpnp::extensions::blas

dpnp/backend/extensions/blas/dotc.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
#pragma once
2727

28+
#include <stdexcept>
29+
2830
#include "dot_common.hpp"
2931

3032
namespace dpnp::extensions::blas

dpnp/backend/extensions/blas/dotu.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
#pragma once
2727

28+
#include <stdexcept>
29+
2830
#include "dot_common.hpp"
2931

3032
namespace dpnp::extensions::blas

dpnp/backend/extensions/blas/gemm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
// THE POSSIBILITY OF SUCH DAMAGE.
2424
//*****************************************************************************
2525

26+
#include <stdexcept>
27+
2628
#include <pybind11/pybind11.h>
2729

2830
// dpctl tensor headers

dpnp/backend/extensions/blas/gemm_batch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
// THE POSSIBILITY OF SUCH DAMAGE.
2424
//*****************************************************************************
2525

26+
#include <stdexcept>
27+
2628
#include <pybind11/pybind11.h>
2729

2830
// dpctl tensor headers

dpnp/backend/extensions/blas/gemv.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
// THE POSSIBILITY OF SUCH DAMAGE.
2424
//*****************************************************************************
2525

26+
#include <stdexcept>
27+
2628
#include <pybind11/pybind11.h>
2729

2830
// dpctl tensor headers

dpnp/backend/extensions/elementwise_functions/elementwise_functions.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
#pragma once
2727

28+
#include <exception>
29+
#include <stdexcept>
30+
2831
#include <sycl/sycl.hpp>
2932

3033
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/fft/common.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
#pragma once
2727

28+
#include <stdexcept>
29+
2830
#include <oneapi/mkl.hpp>
2931
#include <pybind11/pybind11.h>
3032
#include <sycl/sycl.hpp>

dpnp/backend/extensions/fft/in_place.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
// THE POSSIBILITY OF SUCH DAMAGE.
2424
//*****************************************************************************
2525

26+
#include <stdexcept>
27+
2628
#include <oneapi/mkl.hpp>
2729
#include <sycl/sycl.hpp>
2830

dpnp/backend/extensions/fft/out_of_place.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
// THE POSSIBILITY OF SUCH DAMAGE.
2424
//*****************************************************************************
2525

26+
#include <stdexcept>
27+
2628
#include <oneapi/mkl.hpp>
2729
#include <sycl/sycl.hpp>
2830

0 commit comments

Comments
 (0)