Skip to content

Commit 84bbc80

Browse files
committed
Include <pybind11/stl.h> is required to provide conversion from std::vector to python list
1 parent 2fc9293 commit 84bbc80

Some content is hidden

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

74 files changed

+165
-1
lines changed

dpnp/backend/extensions/lapack/heevd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include <stdexcept>
3030

31+
#include <pybind11/pybind11.h>
3132
#include <pybind11/stl.h>
3233

3334
#include "evd_common.hpp"

dpnp/backend/extensions/lapack/heevd_batch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include <stdexcept>
3030

31+
#include <pybind11/pybind11.h>
3132
#include <pybind11/stl.h>
3233

3334
#include "common_helpers.hpp"

dpnp/backend/extensions/lapack/syevd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include <stdexcept>
3030

31+
#include <pybind11/pybind11.h>
3132
#include <pybind11/stl.h>
3233

3334
#include "evd_common.hpp"

dpnp/backend/extensions/lapack/syevd_batch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include <stdexcept>
3030

31+
#include <pybind11/pybind11.h>
3132
#include <pybind11/stl.h>
3233

3334
#include "common_helpers.hpp"

dpnp/backend/extensions/statistics/histogram.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <vector>
3434

3535
#include <pybind11/pybind11.h>
36+
#include <pybind11/stl.h>
3637

3738
#include "dpnp4pybind11.hpp"
3839

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
#include <pybind11/numpy.h>
3434
#include <pybind11/pybind11.h>
35+
#include <pybind11/stl.h>
3536

3637
#include <sycl/sycl.hpp>
3738

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#include <pybind11/numpy.h>
3333
#include <pybind11/pybind11.h>
34+
#include <pybind11/stl.h>
3435

3536
#include <sycl/sycl.hpp>
3637

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
#include <pybind11/numpy.h>
3434
#include <pybind11/pybind11.h>
35+
#include <pybind11/stl.h>
3536

3637
#include <sycl/sycl.hpp>
3738

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#include <pybind11/numpy.h>
3333
#include <pybind11/pybind11.h>
34+
#include <pybind11/stl.h>
3435

3536
#include <sycl/sycl.hpp>
3637

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#include <pybind11/numpy.h>
3333
#include <pybind11/pybind11.h>
34+
#include <pybind11/stl.h>
3435

3536
#include <sycl/sycl.hpp>
3637

0 commit comments

Comments
 (0)