Skip to content
Open
Changes from all commits
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
36 changes: 0 additions & 36 deletions cpp/src/neighbors/cagra.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -475,42 +475,6 @@ void extend(raft::resources const& handle,
extend_core<T, IdxT, DatasetViewT>(handle, index, params, extended_dataset, new_start_row);
}

template <class T, class IdxT, cuvs::neighbors::ann_dataset_view DatasetViewT>
void extend(raft::resources const& handle,
const cagra::extend_params& params,
cuvs::neighbors::device_standard_dataset_view<T, int64_t> extended_dataset,
int64_t new_start_row,
cuvs::neighbors::cagra::index<T, IdxT, DatasetViewT>& index)
{
RAFT_FAIL(
"cagra::extend requires a padded extended dataset view. "
"Concatenate the original and additional vectors into a padded dataset and pass that view.");
}

template <class T, class IdxT, cuvs::neighbors::ann_dataset_view DatasetViewT>
void extend(raft::resources const& handle,
const cagra::extend_params& params,
cuvs::neighbors::host_padded_dataset_view<T, int64_t> extended_dataset,
int64_t new_start_row,
cuvs::neighbors::cagra::index<T, IdxT, DatasetViewT>& index)
{
RAFT_FAIL(
"cagra::extend requires a device-padded extended dataset view. "
"Concatenate on the device (or copy the concatenated host matrix to device) before extend.");
}

template <class T, class IdxT, cuvs::neighbors::ann_dataset_view DatasetViewT>
void extend(raft::resources const& handle,
const cagra::extend_params& params,
cuvs::neighbors::host_standard_dataset_view<T, int64_t> extended_dataset,
int64_t new_start_row,
cuvs::neighbors::cagra::index<T, IdxT, DatasetViewT>& index)
{
RAFT_FAIL(
"cagra::extend requires a device-padded extended dataset view. "
"Concatenate the original and additional vectors into a padded device dataset first.");
}

template <class T, class IdxT, cuvs::neighbors::ann_dataset_view DatasetViewT>
cuvs::neighbors::cagra::index<T, IdxT, DatasetViewT> merge(
raft::resources const& handle,
Expand Down
Loading