Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Nov 15, 2024
1 parent a5442fc commit 4615f0b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ if(BUILD_SHARED_LIBS)
src/distance/distance.cu
src/distance/kernel_gram.cu
src/distance/pairwise_distance.cu
src/dimred/spectral.cu
src/neighbors/brute_force.cu
src/neighbors/cagra_build_float.cu
src/neighbors/cagra_build_half.cu
Expand Down Expand Up @@ -462,7 +463,6 @@ if(BUILD_SHARED_LIBS)
src/selection/select_k_float_int32_t.cu
src/selection/select_k_float_uint32_t.cu
src/selection/select_k_half_uint32_t.cu
src/sparse/embed/spectral.cu
src/stats/silhouette_score.cu
src/stats/trustworthiness_score.cu
${CUVS_MG_ALGOS}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <raft/core/device_coo_matrix.hpp>
#include <raft/core/resources.hpp>

namespace cuvs::sparse::cluster::spectral {
namespace cuvs::dimred::spectral {

/**
* Given a COO formatted (symmetric) knn graph, this function computes the spectral embeddings
Expand All @@ -39,4 +39,4 @@ void fit(const raft::resources& handle,
int n_components,
raft::device_matrix_view<float, int> out,
unsigned long long seed = 0L);
}; // namespace cuvs::sparse::cluster::spectral
}; // namespace cuvs::dimred::spectral
1 change: 1 addition & 0 deletions cpp/include/cuvs/distance/grammian.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#pragma once

#include <cublas_v2.h>
#include <cuvs/distance/distance.hpp>
#include <raft/core/device_csr_matrix.hpp>
#include <raft/core/mdspan.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

#include "../cluster/detail/spectral.cuh"
#include "../sparse/cluster/detail/spectral.cuh"
#include <cuvs/sparse/embed/spectral.hpp>
#include <raft/core/device_coo_matrix.hpp>
#include <raft/core/resources.hpp>

namespace cuvs::sparse::embed::spectral {
namespace cuvs::dimred::spectral {

/**
* Given a COO formatted (symmetric) knn graph, this function computes the spectral embeddings
Expand Down Expand Up @@ -50,4 +50,4 @@ void fit(const raft::resources& handle,
out.data_handle(),
seed);
}
}; // namespace cuvs::sparse::embed::spectral
}; // namespace cuvs::dimred::spectral

0 comments on commit 4615f0b

Please sign in to comment.