Skip to content

Commit

Permalink
Removing deprecations from epsilon neighborhood prims
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Sep 26, 2024
1 parent a8b44f8 commit 4a98b5d
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions cpp/include/raft/neighbors/epsilon_neighborhood.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2024, NVIDIA CORPORATION.
* Copyright (c) 2020-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -46,15 +46,15 @@ namespace raft::neighbors::epsilon_neighborhood {
* @param[in] stream cuda stream
*/
template <typename value_t, typename idx_t>
[[deprecated("Use cuVS instead")]] void epsUnexpL2SqNeighborhood(bool* adj,
idx_t* vd,
const value_t* x,
const value_t* y,
idx_t m,
idx_t n,
idx_t k,
value_t eps,
cudaStream_t stream)
void epsUnexpL2SqNeighborhood(bool* adj,
idx_t* vd,
const value_t* x,
const value_t* y,
idx_t m,
idx_t n,
idx_t k,
value_t eps,
cudaStream_t stream)
{
spatial::knn::detail::epsUnexpL2SqNeighborhood<value_t, idx_t>(
adj, vd, x, y, m, n, k, eps, stream);
Expand Down Expand Up @@ -98,13 +98,12 @@ template <typename value_t, typename idx_t>
* squared as we compute L2-squared distance in this method)
*/
template <typename value_t, typename idx_t, typename matrix_idx_t>
[[deprecated("Use cuVS instead")]] void eps_neighbors_l2sq(
raft::resources const& handle,
raft::device_matrix_view<const value_t, matrix_idx_t, row_major> x,
raft::device_matrix_view<const value_t, matrix_idx_t, row_major> y,
raft::device_matrix_view<bool, matrix_idx_t, row_major> adj,
raft::device_vector_view<idx_t, matrix_idx_t> vd,
value_t eps)
void eps_neighbors_l2sq(raft::resources const& handle,
raft::device_matrix_view<const value_t, matrix_idx_t, row_major> x,
raft::device_matrix_view<const value_t, matrix_idx_t, row_major> y,
raft::device_matrix_view<bool, matrix_idx_t, row_major> adj,
raft::device_vector_view<idx_t, matrix_idx_t> vd,
value_t eps)
{
epsUnexpL2SqNeighborhood<value_t, idx_t>(adj.data_handle(),
vd.data_handle(),
Expand Down

0 comments on commit 4a98b5d

Please sign in to comment.