Skip to content

Commit 2b799cd

Browse files
authored
Add missing includes for cuda::std::abs (rapidsai#21845)
Followup of rapidsai#21703 This PR addresses rapidsai#21703 (comment) to add missing includes for `cuda::std::abs`. Authors: - Yunsong Wang (https://github.com/PointKernel) Approvers: - Bradley Dice (https://github.com/bdice) - Shruti Shivakumar (https://github.com/shrshi) - Nghia Truong (https://github.com/ttnghia) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: rapidsai#21845
1 parent 03dc96a commit 2b799cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/include/cudf/strings/detail/convert/string_to_float.cuh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
#include <cudf/strings/detail/convert/is_float.cuh>
99
#include <cudf/strings/string_view.cuh>
1010

11+
#include <cuda/std/cmath>
1112
#include <cuda/std/limits>
1213

13-
#include <cmath>
14-
1514
namespace cudf {
1615
namespace strings {
1716
namespace detail {

cpp/src/quantiles/tdigest/tdigest.cu

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

2525
#include <cuda/functional>
2626
#include <cuda/iterator>
27+
#include <cuda/std/cmath>
2728
#include <cuda/std/utility>
2829
#include <thrust/binary_search.h>
2930
#include <thrust/execution_policy.h>

0 commit comments

Comments
 (0)