Skip to content

Commit

Permalink
for building + CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsolp committed Aug 21, 2024
1 parent 3ec57c7 commit d93aee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/cmake/thirdparty/get_raft.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ endfunction()
# To use a different RAFT locally, set the CMake variable
# CPM_raft_SOURCE=/path/to/local/raft
find_and_configure_raft(VERSION ${CUML_MIN_VERSION_raft}
FORK rapidsai
PINNED_TAG branch-${CUML_BRANCH_VERSION_raft}
FORK jinsolp
PINNED_TAG batch-nnd
EXCLUDE_FROM_ALL ${CUML_EXCLUDE_RAFT_FROM_ALL}
# When PINNED_TAG above doesn't match cuml,
# force local raft clone in build directory
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/umap/knn_graph/algo.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void launcher(const raft::handle_t& handle,

// Functor to post-process distances as L2Sqrt*
template <typename value_idx, typename value_t = float>
struct DistancePostProcessSqrt {
struct DistancePostProcessSqrt : NNDescent::DistEpilogue<value_idx, value_t> {
DI value_t operator()(value_t value, value_idx row, value_idx col) const { return sqrtf(value); }
};

Expand Down

0 comments on commit d93aee6

Please sign in to comment.