Skip to content

Commit f2b7d76

Browse files
authored
Add missing includes to files in ufunc and VM extensions (#2571)
The PR adds missing includes to source files in ufunc and VM pybind11 extensions.
1 parent 9d1228c commit f2b7d76

Some content is hidden

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

63 files changed

+293
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535
* FFT module is updated to perform in-place FFT in intermediate steps of ND FFT [#2543](https://github.com/IntelPython/dpnp/pull/2543)
3636
* Reused dpctl tensor include to enable experimental SYCL namespace for complex types [#2546](https://github.com/IntelPython/dpnp/pull/2546)
3737
* Changed Windows-specific logic in dpnp initialization [#2553](https://github.com/IntelPython/dpnp/pull/2553)
38+
* Added missing includes to files in ufunc and VM pybind11 extensions [#2571](https://github.com/IntelPython/dpnp/pull/2571)
3839

3940
### Deprecated
4041

dpnp/backend/extensions/ufunc/elementwise_functions/bitwise_count.cpp

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

26+
#include <cstdint>
27+
#include <type_traits>
28+
#include <vector>
29+
2630
#include <sycl/sycl.hpp>
2731

2832
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/degrees.cpp

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

26+
#include <type_traits>
27+
#include <vector>
28+
2629
#include <sycl/sycl.hpp>
2730

2831
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/fabs.cpp

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

26+
#include <type_traits>
27+
#include <vector>
28+
2629
#include <sycl/sycl.hpp>
2730

2831
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/fix.cpp

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

26+
#include <type_traits>
27+
#include <vector>
28+
2629
#include <sycl/sycl.hpp>
2730

2831
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/float_power.cpp

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

26+
#include <complex>
27+
#include <type_traits>
28+
#include <vector>
29+
2630
#include <sycl/sycl.hpp>
2731

2832
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/fmax.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 <vector>
27+
2628
#include <sycl/sycl.hpp>
2729

2830
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/fmin.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 <vector>
27+
2628
#include <sycl/sycl.hpp>
2729

2830
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/fmod.cpp

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

26+
#include <cstdint>
27+
#include <type_traits>
28+
#include <vector>
29+
2630
#include <sycl/sycl.hpp>
2731

2832
#include "dpctl4pybind11.hpp"

dpnp/backend/extensions/ufunc/elementwise_functions/gcd.cpp

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

26+
#include <cstdint>
27+
#include <type_traits>
28+
#include <vector>
29+
2630
#include <sycl/sycl.hpp>
2731

2832
#include "dpctl4pybind11.hpp"

0 commit comments

Comments
 (0)