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

Integrate accumulate_into_selected from ANN utils into linalg::reduce_rows_by_keys #909

Merged
merged 8 commits into from
Oct 19, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ void calc_centers_and_sizes(const handle_t& handle,

// Compute weight of each cluster
raft::cluster::detail::countLabels(
handle, labels, temp_sizes, (uint32_t)n_rows, (uint32_t)n_clusters, workspace);
handle, labels, temp_sizes, (int64_t)n_rows, (int64_t)n_clusters, workspace);
Nyrio marked this conversation as resolved.
Show resolved Hide resolved

// Add previous sizes if necessary and cast to float
auto counting = thrust::make_counting_iterator<int>(0);
Expand Down