Skip to content

Commit

Permalink
Fix gather_if raft update (#5149)
Browse files Browse the repository at this point in the history
Authors:
  - Micka (https://github.com/lowener)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #5149
  • Loading branch information
lowener authored Jan 23, 2023
1 parent 272f856 commit de32125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/kmeans/kmeans_mg_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ void fit(const raft::handle_t& handle,
centroids.extent(0),
itr_wt,
itr_wt,
wtInCluster.size(),
wtInCluster.extent(0),
newCentroids.data_handle(),
[=] __device__(raft::KeyValuePair<ptrdiff_t, DataT> map) { // predicate
// copy when the # of samples in the cluster is 0
Expand Down

0 comments on commit de32125

Please sign in to comment.