Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building cuspatial with CCCL main #1382

Merged
merged 16 commits into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cpp/include/cuspatial/detail/index/construction/phase_2.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ inline rmm::device_uvector<uint32_t> flatten_point_keys(
keys_and_levels + num_valid_nodes,
flattened_keys.begin(),
[last_level = max_depth - 1] __device__(auto const& val) {
bool is_parent{false};
uint32_t key{}, level{};
thrust::tie(key, level, is_parent) = val;
auto& key = thrust::get<0>(val);
auto& level = thrust::get<1>(val);
auto& is_parent = thrust::get<2>(val);
harrism marked this conversation as resolved.
Show resolved Hide resolved
// if this is a parent node, return max_key. otherwise
// compute the key for one level up the tree. Leaf nodes
// whose keys are zero will be removed in a subsequent
Expand Down
Loading