Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Drop the historical comparison from the IVF list pointer upload comment
  • Loading branch information
bdice committed Nov 16, 2026
commit bf503b6b8aca4494476aa67fcb1cd7efbb0c41f1
4 changes: 2 additions & 2 deletions cpp/src/neighbors/ivf_common.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ void recompute_internal_state(const raft::resources& res, Index& index)
auto tmp_res = raft::resource::get_workspace_resource_ref(res);
rmm::device_uvector<uint32_t> sorted_sizes(index.n_lists(), stream, tmp_res);

// Actualize the list pointers: gather them on the host and upload each array with a single copy
// instead of one tiny pageable H2D copy per list. The host buffers outlive the sync_stream below.
// Actualize the list pointers: gather them on the host and upload each array with a single copy.
// The host buffers outlive the sync_stream below.
auto data_ptrs = index.data_ptrs();
auto inds_ptrs = index.inds_ptrs();
std::vector<typename decltype(data_ptrs)::value_type> data_ptrs_host(index.n_lists());
Expand Down
Loading