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

Forward-merge branch-24.12 into branch-25.02 #496

Merged
merged 1 commit into from
Nov 26, 2024
Merged
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
18 changes: 9 additions & 9 deletions cpp/include/cuvs/neighbors/cagra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ struct index : cuvs::neighbors::index {
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t, int64_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float, int64_t>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
* In the above example, we have passed a host dataset to build. The returned index will own a
* device copy of the dataset and the knn_graph. In contrast, if we pass the dataset as a
Expand Down Expand Up @@ -530,7 +530,7 @@ struct index : cuvs::neighbors::index {
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -567,7 +567,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -604,7 +604,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -640,7 +640,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -676,7 +676,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -713,7 +713,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -750,7 +750,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down Expand Up @@ -787,7 +787,7 @@ auto build(raft::resources const& res,
* // search K nearest neighbours
* auto neighbors = raft::make_device_matrix<uint32_t>(res, n_queries, k);
* auto distances = raft::make_device_matrix<float>(res, n_queries, k);
* cagra::search(res, search_params, index, queries, neighbors, distances);
* cagra::search(res, search_params, index, queries, neighbors.view(), distances.view());
* @endcode
*
* @param[in] res
Expand Down
Loading