We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8840189 commit 559bcc7Copy full SHA for 559bcc7
cpp/include/cuspatial/detail/index/construction/phase_2.cuh
@@ -85,9 +85,9 @@ inline rmm::device_uvector<uint32_t> flatten_point_keys(
85
keys_and_levels + num_valid_nodes,
86
flattened_keys.begin(),
87
[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;
+ auto& key = thrust::get<0>(val);
+ auto& level = thrust::get<1>(val);
+ auto& is_parent = thrust::get<2>(val);
91
// if this is a parent node, return max_key. otherwise
92
// compute the key for one level up the tree. Leaf nodes
93
// whose keys are zero will be removed in a subsequent
0 commit comments