Skip to content

Commit

Permalink
Revert "[FEA] Lanczos solver v2 (#2481)"
Browse files Browse the repository at this point in the history
This reverts commit 64c09d7.
  • Loading branch information
cjnolet committed Nov 22, 2024
1 parent fbdf2df commit 9d3b02f
Show file tree
Hide file tree
Showing 26 changed files with 16 additions and 2,005 deletions.
4 changes: 0 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,6 @@ if(RAFT_COMPILE_LIBRARY)
src/raft_runtime/random/rmat_rectangular_generator_int64_float.cu
src/raft_runtime/random/rmat_rectangular_generator_int_double.cu
src/raft_runtime/random/rmat_rectangular_generator_int_float.cu
src/raft_runtime/solver/lanczos_solver_int64_double.cu
src/raft_runtime/solver/lanczos_solver_int64_float.cu
src/raft_runtime/solver/lanczos_solver_int_double.cu
src/raft_runtime/solver/lanczos_solver_int_float.cu
)
set_target_properties(
raft_objs
Expand Down
20 changes: 1 addition & 19 deletions cpp/include/raft/sparse/linalg/detail/cusparse_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,7 @@ namespace linalg {
namespace detail {

/**
* @brief create a cuSparse dense descriptor for a vector
* @tparam ValueType Data type of vector_view (float/double)
* @tparam IndexType Type of vector_view
* @param[in] vector_view input raft::device_vector_view
* @returns dense vector descriptor to be used by cuSparse API
*/
template <typename ValueType, typename IndexType>
cusparseDnVecDescr_t create_descriptor(raft::device_vector_view<ValueType, IndexType> vector_view)
{
cusparseDnVecDescr_t descr;
RAFT_CUSPARSE_TRY(raft::sparse::detail::cusparsecreatednvec(
&descr,
vector_view.extent(0),
const_cast<std::remove_const_t<ValueType>*>(vector_view.data_handle())));
return descr;
}

/**
* @brief create a cuSparse dense descriptor for a matrix
* @brief create a cuSparse dense descriptor
* @tparam ValueType Data type of dense_view (float/double)
* @tparam IndexType Type of dense_view
* @tparam LayoutPolicy layout of dense_view
Expand Down
Loading

0 comments on commit 9d3b02f

Please sign in to comment.