Skip to content

Commit

Permalink
Merge branch 'branch-23.04' into bfknn
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred authored Feb 14, 2023
2 parents 5905b2d + 2347e06 commit d905266
Show file tree
Hide file tree
Showing 200 changed files with 560 additions and 3,630 deletions.
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ if(RAFT_COMPILE_DIST_LIBRARY)
src/distance/distance/specializations/detail/hamming_unexpanded_float_float_float_int.cu
src/distance/distance/specializations/detail/hellinger_expanded_float_float_float_int.cu
src/distance/distance/specializations/detail/hellinger_expanded_double_double_double_int.cu
src/distance/distance/specializations/detail/inner_product_float_float_float_int.cu
src/distance/distance/specializations/detail/inner_product_double_double_double_int.cu
src/distance/distance/specializations/detail/jensen_shannon_float_float_float_int.cu
src/distance/distance/specializations/detail/jensen_shannon_double_double_double_int.cu
src/distance/distance/specializations/detail/kernels/gram_matrix_base_double.cu
Expand Down
2 changes: 1 addition & 1 deletion cpp/bench/cluster/kmeans.cu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <common/benchmark.hpp>
#include <raft/cluster/kmeans.cuh>
#include <raft/cluster/kmeans_params.hpp>
#include <raft/cluster/kmeans_types.hpp>

#if defined RAFT_DISTANCE_COMPILED
#include <raft/distance/specializations.cuh>
Expand Down
4 changes: 2 additions & 2 deletions cpp/bench/common/benchmark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#include <raft/core/detail/macros.hpp>
#include <raft/core/device_mdarray.hpp>
#include <raft/core/device_resources.hpp>
#include <raft/cudart_utils.h>
#include <raft/interruptible.hpp>
#include <raft/core/interruptible.hpp>
#include <raft/random/make_blobs.cuh>
#include <raft/util/cudart_utils.hpp>

#include <benchmark/benchmark.h>

Expand Down
4 changes: 2 additions & 2 deletions cpp/bench/distance/distance_common.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ struct distance : public fixture {
void run_benchmark(::benchmark::State& state) override
{
loop_on_state(state, [this]() {
raft::distance::distance<DType, T, T, T>(x.data(),
raft::distance::distance<DType, T, T, T>(handle,
x.data(),
y.data(),
out.data(),
params.m,
params.n,
params.k,
(void*)workspace.data(),
worksize,
stream,
params.isRowMajor);
});
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/bench/distance/masked_nn.cu
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include <limits>
#include <raft/core/device_mdarray.hpp>
#include <raft/core/device_mdspan.hpp>
#include <raft/core/handle.hpp>
#include <raft/distance/masked_nn.cuh>
#include <raft/handle.hpp>
#include <raft/linalg/norm.cuh>
#include <raft/random/rng.cuh>
#include <raft/util/cudart_utils.hpp>
Expand Down
2 changes: 1 addition & 1 deletion cpp/bench/random/permute.cu
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
*/

#include <common/benchmark.hpp>
#include <raft/cudart_utils.h>
#include <raft/random/permute.cuh>
#include <raft/random/rng.cuh>
#include <raft/util/cudart_utils.hpp>

#include <rmm/device_uvector.hpp>

Expand Down
2 changes: 1 addition & 1 deletion cpp/bench/random/rng.cu
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/

#include <common/benchmark.hpp>
#include <raft/cudart_utils.h>
#include <raft/random/rng.cuh>
#include <raft/util/cudart_utils.hpp>

#include <rmm/device_uvector.hpp>

Expand Down
22 changes: 11 additions & 11 deletions cpp/doxygen/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -887,18 +887,18 @@ EXCLUDE = @CMAKE_CURRENT_SOURCE_DIR@/include/raft/sparse/linalg/s
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/sparse/csr.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/linalg/lanczos.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/linalg/lanczos.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/cuda_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/cudart_utils.h \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/cuda_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/cudart_utils.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/device_atomics.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/device_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/error.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/handle.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/integer_utils.h \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/interruptible.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/mdarray.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/pow2_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/span.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/vectorized.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/device_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/error.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/handle.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/integer_utils.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/interruptible.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/mdarray.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/pow2_utils.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/span.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/util/vectorized.cuh \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/raft.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/core/cudart_utils.hpp \
@CMAKE_CURRENT_SOURCE_DIR@/include/raft/matrix/math.cuh \
Expand Down
22 changes: 0 additions & 22 deletions cpp/include/raft/cluster/kmeans_params.hpp

This file was deleted.

2 changes: 1 addition & 1 deletion cpp/include/raft/comms/detail/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#pragma once

#include <raft/interruptible.hpp>
#include <raft/core/interruptible.hpp>

#include <nccl.h>
#include <raft/core/error.hpp>
Expand Down
31 changes: 0 additions & 31 deletions cpp/include/raft/cuda_utils.cuh

This file was deleted.

23 changes: 0 additions & 23 deletions cpp/include/raft/cudart_utils.h

This file was deleted.

31 changes: 0 additions & 31 deletions cpp/include/raft/device_utils.cuh

This file was deleted.

Loading

0 comments on commit d905266

Please sign in to comment.