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

Removing code that explicitly compares equality of rmm memory resources #2047

Merged
merged 14 commits into from
Dec 9, 2023
Prev Previous commit
Next Next commit
Another fix
  • Loading branch information
cjnolet committed Dec 8, 2023
commit e9b5e00bc581e47969fbb6d43d2d805d8093fa7f
2 changes: 1 addition & 1 deletion cpp/include/raft/cluster/detail/kmeans_balanced.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ void build_hierarchical(const raft::resources& handle,
device_memory);
RAFT_EXPECTS(n_clusters_done == n_clusters, "Didn't process all clusters.");

rmm::device_uvector<CounterT> cluster_sizes(n_clusters, stream, device_memory);
rmm::device_uvector<CounterT> cluster_sizes(n_clusters, stream, &managed_memory);
rmm::device_uvector<LabelT> labels(n_rows, stream, device_memory);

// Fine-tuning k-means for all clusters
Expand Down