Skip to content

Commit

Permalink
remove unneeded funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Nov 3, 2023
1 parent c4bc220 commit 6a5443a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 162 deletions.
21 changes: 0 additions & 21 deletions cpp/include/raft/neighbors/detail/ivf_pq_build.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1467,27 +1467,6 @@ void extend_list_with_codes(raft::resources const& res,
recompute_internal_state(res, *index);
}

/**
* Extend one list of the index in-place, by the list label, skipping the classification and
* encoding steps.
* See the public interface for the api and usage.
*/
template <typename IdxT>
void extend_list_with_compressed_codes(
raft::resources const& res,
index<IdxT>* index,
device_matrix_view<const uint8_t, uint32_t, row_major> new_codes,
device_vector_view<const IdxT, uint32_t, row_major> new_indices,
uint32_t label)
{
// Allocate memory and write indices
auto offset = extend_list_prepare(res, index, new_indices, label);
// Pack the data
pack_list_data<IdxT>(res, index, new_codes, label, offset);
// Update the pointers and the sizes
recompute_internal_state(res, *index);
}

/**
* Extend one list of the index in-place, by the list label, skipping the classification step.
* See the public interface for the api and usage.
Expand Down
141 changes: 0 additions & 141 deletions cpp/include/raft/neighbors/ivf_pq_codepacker.cuh

This file was deleted.

0 comments on commit 6a5443a

Please sign in to comment.