Skip to content

Commit 559bcc7

Browse files
authored
Fix building cuspatial with CCCL main (#1382)
Similar to rapidsai/cudf#15552, we are testing [building RAPIDS with CCCL's main branch](NVIDIA/cccl#1667) to get ahead of any breaking changes. Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Mark Harris (https://github.com/harrism) URL: #1382
1 parent 8840189 commit 559bcc7

File tree

1 file changed

+3
-3
lines changed
  • cpp/include/cuspatial/detail/index/construction

1 file changed

+3
-3
lines changed

cpp/include/cuspatial/detail/index/construction/phase_2.cuh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ inline rmm::device_uvector<uint32_t> flatten_point_keys(
8585
keys_and_levels + num_valid_nodes,
8686
flattened_keys.begin(),
8787
[last_level = max_depth - 1] __device__(auto const& val) {
88-
bool is_parent{false};
89-
uint32_t key{}, level{};
90-
thrust::tie(key, level, is_parent) = val;
88+
auto& key = thrust::get<0>(val);
89+
auto& level = thrust::get<1>(val);
90+
auto& is_parent = thrust::get<2>(val);
9191
// if this is a parent node, return max_key. otherwise
9292
// compute the key for one level up the tree. Leaf nodes
9393
// whose keys are zero will be removed in a subsequent

0 commit comments

Comments
 (0)