Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
lowener committed Jan 19, 2024
1 parent ef1ec37 commit 7a16b63
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cpp/test/neighbors/naive_knn.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ void naive_knn(raft::resources const& handle,
dist.data(), x + offset * dim, y, batch_size, input_len, dim, type);

raft::matrix::detail::select_k<EvalT, IdxT>(handle,
dist.data(),
nullptr,
batch_size,
input_len,
static_cast<int>(k),
dist_topk + offset * k,
indices_topk + offset * k,
type != cuvs::distance::DistanceType::InnerProduct,
mr);
dist.data(),
nullptr,
batch_size,
input_len,
static_cast<int>(k),
dist_topk + offset * k,
indices_topk + offset * k,
type != cuvs::distance::DistanceType::InnerProduct,
mr);
}
RAFT_CUDA_TRY(cudaStreamSynchronize(stream));
}
Expand Down

0 comments on commit 7a16b63

Please sign in to comment.