Skip to content

Commit

Permalink
Modify default value for rowMajorIndex and rowMajorQuery in bf-knn (#173
Browse files Browse the repository at this point in the history
)

This PR modifies the default value for `rowMajorIndex` and `rowMajorQuery` parameters in `brute_force_knn`.

Authors:
  - Victor Lafargue (@viclafargue)
  - Corey J. Nolet (@cjnolet)

Approvers:
  - Corey J. Nolet (@cjnolet)

URL: #173
  • Loading branch information
viclafargue authored Mar 24, 2021
1 parent 9b6ad82 commit e21d9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/spatial/knn/knn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ using deviceAllocator = raft::mr::device::allocator;
inline void brute_force_knn(
raft::handle_t const &handle, std::vector<float *> &input,
std::vector<int> &sizes, int D, float *search_items, int n, int64_t *res_I,
float *res_D, int k, bool rowMajorIndex = false, bool rowMajorQuery = false,
float *res_D, int k, bool rowMajorIndex = true, bool rowMajorQuery = true,
std::vector<int64_t> *translations = nullptr,
distance::DistanceType metric = distance::DistanceType::L2Unexpanded,
float metric_arg = 2.0f) {
Expand Down

0 comments on commit e21d9dd

Please sign in to comment.