Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete legacy renumbering implementation #1681

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ add_library(cugraph SHARED
src/link_prediction/jaccard.cu
src/link_prediction/overlap.cu
src/layout/force_atlas2.cu
src/converters/renumber.cu
src/converters/COOtoCSR.cu
src/community/spectral_clustering.cu
src/community/louvain.cu
Expand Down
34 changes: 0 additions & 34 deletions cpp/include/cugraph/functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,40 +44,6 @@ std::unique_ptr<GraphCSR<VT, ET, WT>> coo_to_csr(
GraphCOOView<VT, ET, WT> const &graph,
rmm::mr::device_memory_resource *mr = rmm::mr::get_current_device_resource());

/**
* @brief Renumber source and destination indices
*
* Renumber source and destination indexes to be a dense numbering,
* using contiguous values between 0 and number of vertices minus 1.
*
* @throws cugraph::logic_error when an error occurs.
*
* @tparam VT_IN type of vertex index input
* @tparam VT_OUT type of vertex index output
* @tparam ET type of edge index
*
* @param[in] number_of_edges number of edges in the graph
* @param[in] src Pointer to device memory containing source vertex ids
* @param[in] dst Pointer to device memory containing destination vertex ids
* @param[out] src_renumbered Pointer to device memory containing the output source vertices.
* @param[out] dst_renumbered Pointer to device memory containing the output destination vertices.
* @param[out] map_size Pointer to local memory containing the number of elements in the
* renumbering map
* @param[in] mr Memory resource used to allocate the returned graph
*
* @return Unique pointer to renumbering map
*
*/
template <typename VT_IN, typename VT_OUT, typename ET>
std::unique_ptr<rmm::device_buffer> renumber_vertices(
ET number_of_edges,
VT_IN const *src,
VT_IN const *dst,
VT_OUT *src_renumbered,
VT_OUT *dst_renumbered,
ET *map_size,
rmm::mr::device_memory_resource *mr = rmm::mr::get_current_device_resource());

/**
* @brief Broadcast using handle communicator
*
Expand Down
68 changes: 0 additions & 68 deletions cpp/src/converters/renumber.cu

This file was deleted.

Loading