Skip to content

Commit 11748e7

Browse files
committed
Add missing include of algorithm header for files used std::min()
1 parent fd47618 commit 11748e7

File tree

9 files changed

+11
-0
lines changed

9 files changed

+11
-0
lines changed

dpnp/backend/extensions/common/ext/details/common_internal.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
30+
2931
#include "ext/common.hpp"
3032
#include "utils/type_dispatch.hpp"
3133
#include <pybind11/pybind11.h>

dpnp/backend/extensions/elementwise_functions/common.hpp

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

2929
#pragma once
3030

31+
#include <algorithm>
3132
#include <cstddef>
3233
#include <cstdint>
3334
#include <utility>

dpnp/backend/extensions/lapack/geqrf.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
2930
#include <stdexcept>
3031

3132
#include <pybind11/pybind11.h>

dpnp/backend/extensions/lapack/gesvd_batch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
2930
#include <stdexcept>
3031

3132
#include <pybind11/pybind11.h>

dpnp/backend/extensions/lapack/getrf.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
2930
#include <stdexcept>
3031

3132
#include <pybind11/pybind11.h>

dpnp/backend/extensions/lapack/getrf_batch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
2930
#include <stdexcept>
3031

3132
#include <pybind11/pybind11.h>

dpnp/backend/extensions/statistics/histogramdd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// THE POSSIBILITY OF SUCH DAMAGE.
2727
//*****************************************************************************
2828

29+
#include <algorithm>
2930
#include <memory>
3031

3132
#include <pybind11/pybind11.h>

dpnp/backend/extensions/statistics/sliding_window1d.hpp

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

2929
#pragma once
3030

31+
#include <algorithm>
32+
3133
#include "utils/math_utils.hpp"
3234
#include <sycl/sycl.hpp>
3335
#include <type_traits>

dpnp/backend/kernels/elementwise_functions/nan_to_num.hpp

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

2929
#pragma once
3030

31+
#include <algorithm>
3132
#include <complex>
3233
#include <cstddef>
3334
#include <vector>

0 commit comments

Comments
 (0)