diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index 0a1774b769f..8247b6ecfa2 100644 --- a/conda/environments/all_cuda-120_arch-x86_64.yaml +++ b/conda/environments/all_cuda-120_arch-x86_64.yaml @@ -3,76 +3,23 @@ channels: - rapidsai - rapidsai-nightly -- dask/label/dev -- pytorch -- pyg -- dglteam/label/cu118 - conda-forge - nvidia dependencies: -- aiohttp -- breathe - c-compiler - cmake>=3.26.4 - cuda-nvcc -- cuda-version=12.0 -- cudf==23.12.* -- cupy>=12.0.0 +- cuda-version=12.2 - cxx-compiler -- cython>=3.0.0 -- dask-core==2023.9.2 -- dask-cuda==23.12.* -- dask-cudf==23.12.* -- dask>=2023.7.1 -- distributed>=2023.7.1 -- doxygen -- fsspec>=0.6.0 - gcc_linux-64=11.* - gmock>=1.13.0 -- graphviz - gtest>=1.13.0 -- ipython - libcudf==23.12.* - libcugraphops==23.12.* - libraft-headers==23.12.* - libraft==23.12.* - librmm==23.12.* -- nbsphinx - nccl>=2.9.9 -- networkx>=2.5.1 -- networkx>=3.0 - ninja -- notebook>=0.5.0 -- numba>=0.57 -- numpy>=1.21 -- numpydoc - openmpi -- packaging>=21 -- pandas -- pre-commit -- pydata-sphinx-theme -- pylibcugraphops==23.12.* -- pylibraft==23.12.* -- pylibwholegraph==23.12.* -- pytest -- pytest-benchmark -- pytest-cov -- pytest-mpl -- pytest-xdist -- python-louvain -- raft-dask==23.12.* -- recommonmark -- requests -- rmm==23.12.* -- scikit-build>=0.13.1 -- scikit-learn>=0.23.1 -- scipy -- setuptools>=61.0.0 -- sphinx-copybutton -- sphinx-markdown-tables -- sphinx<6 -- sphinxcontrib-websupport -- ucx-proc=*=gpu -- ucx-py==0.35.* -- wheel name: all_cuda-120_arch-x86_64 diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 41870cbc92b..c020efe7eb7 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -182,116 +182,116 @@ endif() set(CUGRAPH_SOURCES src/detail/shuffle_vertices.cu src/detail/shuffle_vertex_pairs.cu - src/detail/collect_local_vertex_values.cu +# src/detail/collect_local_vertex_values.cu src/detail/groupby_and_count.cu - src/sampling/random_walks_mg.cu - src/community/detail/common_methods_mg.cu - src/community/detail/common_methods_sg.cu - src/community/detail/refine_sg.cu - src/community/detail/refine_mg.cu - src/community/detail/mis_sg.cu - src/community/detail/mis_mg.cu +# src/sampling/random_walks_mg.cu +# src/community/detail/common_methods_mg.cu +# src/community/detail/common_methods_sg.cu +# src/community/detail/refine_sg.cu +# src/community/detail/refine_mg.cu +# src/community/detail/mis_sg.cu +# src/community/detail/mis_mg.cu src/detail/utility_wrappers.cu src/structure/graph_view_mg.cu - src/utilities/path_retrieval.cu - src/structure/legacy/graph.cu - src/linear_assignment/legacy/hungarian.cu - src/link_prediction/jaccard_sg.cu - src/link_prediction/sorensen_sg.cu - src/link_prediction/overlap_sg.cu - src/link_prediction/jaccard_mg.cu - src/link_prediction/sorensen_mg.cu - src/link_prediction/overlap_mg.cu - src/layout/legacy/force_atlas2.cu - src/converters/legacy/COOtoCSR.cu - src/community/legacy/spectral_clustering.cu - src/community/louvain_sg.cu - src/community/louvain_mg.cu - src/community/leiden_sg.cu - src/community/leiden_mg.cu - src/community/legacy/louvain.cu - src/community/legacy/ktruss.cu - src/community/legacy/ecg.cu - src/community/egonet_sg.cu - src/community/egonet_mg.cu - src/sampling/random_walks.cu - src/sampling/random_walks_sg.cu - src/sampling/detail/prepare_next_frontier_sg.cu - src/sampling/detail/prepare_next_frontier_mg.cu - src/sampling/detail/gather_one_hop_edgelist_sg.cu - src/sampling/detail/gather_one_hop_edgelist_mg.cu - src/sampling/detail/remove_visited_vertices_from_frontier.cu - src/sampling/detail/sample_edges_sg.cu - src/sampling/detail/sample_edges_mg.cu - src/sampling/detail/shuffle_and_organize_output_mg.cu - src/sampling/uniform_neighbor_sampling_mg.cpp - src/sampling/uniform_neighbor_sampling_sg.cpp - src/sampling/renumber_sampled_edgelist_sg.cu - src/sampling/sampling_post_processing_sg.cu - src/cores/core_number_sg.cu - src/cores/core_number_mg.cu - src/cores/k_core_sg.cu - src/cores/k_core_mg.cu - src/components/legacy/connectivity.cu +# src/utilities/path_retrieval.cu +# src/structure/legacy/graph.cu +# src/linear_assignment/legacy/hungarian.cu +# src/link_prediction/jaccard_sg.cu +# src/link_prediction/sorensen_sg.cu +# src/link_prediction/overlap_sg.cu +# src/link_prediction/jaccard_mg.cu +# src/link_prediction/sorensen_mg.cu +# src/link_prediction/overlap_mg.cu +# src/layout/legacy/force_atlas2.cu +# src/converters/legacy/COOtoCSR.cu +# src/community/legacy/spectral_clustering.cu +# src/community/louvain_sg.cu +# src/community/louvain_mg.cu +# src/community/leiden_sg.cu +# src/community/leiden_mg.cu +# src/community/legacy/louvain.cu +# src/community/legacy/ktruss.cu +# src/community/legacy/ecg.cu +# src/community/egonet_sg.cu +# src/community/egonet_mg.cu +# src/sampling/random_walks.cu +# src/sampling/random_walks_sg.cu +# src/sampling/detail/prepare_next_frontier_sg.cu +# src/sampling/detail/prepare_next_frontier_mg.cu +# src/sampling/detail/gather_one_hop_edgelist_sg.cu +# src/sampling/detail/gather_one_hop_edgelist_mg.cu +# src/sampling/detail/remove_visited_vertices_from_frontier.cu +# src/sampling/detail/sample_edges_sg.cu +# src/sampling/detail/sample_edges_mg.cu +# src/sampling/detail/shuffle_and_organize_output_mg.cu +# src/sampling/uniform_neighbor_sampling_mg.cpp +# src/sampling/uniform_neighbor_sampling_sg.cpp +# src/sampling/renumber_sampled_edgelist_sg.cu +# src/sampling/sampling_post_processing_sg.cu +# src/cores/core_number_sg.cu +# src/cores/core_number_mg.cu +# src/cores/k_core_sg.cu +# src/cores/k_core_mg.cu +# src/components/legacy/connectivity.cu src/generators/generate_rmat_edgelist.cu - src/generators/generate_bipartite_rmat_edgelist.cu +# src/generators/generate_bipartite_rmat_edgelist.cu src/generators/generator_tools.cu - src/generators/simple_generators.cu - src/generators/erdos_renyi_generator.cu +# src/generators/simple_generators.cu +# src/generators/erdos_renyi_generator.cu src/structure/graph_sg.cu src/structure/graph_mg.cu src/structure/graph_view_sg.cu src/structure/decompress_to_edgelist_sg.cu src/structure/decompress_to_edgelist_mg.cu - src/structure/symmetrize_graph_sg.cu - src/structure/symmetrize_graph_mg.cu - src/structure/transpose_graph_sg.cu - src/structure/transpose_graph_mg.cu - src/structure/transpose_graph_storage_sg.cu - src/structure/transpose_graph_storage_mg.cu - src/structure/coarsen_graph_sg.cu - src/structure/coarsen_graph_mg.cu +# src/structure/symmetrize_graph_sg.cu +# src/structure/symmetrize_graph_mg.cu +# src/structure/transpose_graph_sg.cu +# src/structure/transpose_graph_mg.cu +# src/structure/transpose_graph_storage_sg.cu +# src/structure/transpose_graph_storage_mg.cu +# src/structure/coarsen_graph_sg.cu +# src/structure/coarsen_graph_mg.cu src/structure/graph_weight_utils_mg.cu src/structure/graph_weight_utils_sg.cu src/structure/renumber_edgelist_sg.cu src/structure/renumber_edgelist_mg.cu src/structure/renumber_utils_sg.cu src/structure/renumber_utils_mg.cu - src/structure/relabel_sg.cu - src/structure/relabel_mg.cu - src/structure/induced_subgraph_sg.cu - src/structure/induced_subgraph_mg.cu +# src/structure/relabel_sg.cu +# src/structure/relabel_mg.cu +# src/structure/induced_subgraph_sg.cu +# src/structure/induced_subgraph_mg.cu src/structure/select_random_vertices_sg.cu src/structure/select_random_vertices_mg.cu - src/traversal/extract_bfs_paths_sg.cu - src/traversal/extract_bfs_paths_mg.cu +# src/traversal/extract_bfs_paths_sg.cu +# src/traversal/extract_bfs_paths_mg.cu src/traversal/bfs_sg.cu src/traversal/bfs_mg.cu src/traversal/sssp_sg.cu - src/traversal/od_shortest_distances_sg.cu +# src/traversal/od_shortest_distances_sg.cu src/traversal/sssp_mg.cu - src/link_analysis/hits_sg.cu - src/link_analysis/hits_mg.cu +# src/link_analysis/hits_sg.cu +# src/link_analysis/hits_mg.cu src/link_analysis/pagerank_sg.cu src/link_analysis/pagerank_mg.cu - src/centrality/katz_centrality_sg.cu - src/centrality/katz_centrality_mg.cu - src/centrality/eigenvector_centrality_sg.cu - src/centrality/eigenvector_centrality_mg.cu - src/centrality/betweenness_centrality_sg.cu - src/centrality/betweenness_centrality_mg.cu - src/tree/legacy/mst.cu - src/components/weakly_connected_components_sg.cu - src/components/weakly_connected_components_mg.cu +# src/centrality/katz_centrality_sg.cu +# src/centrality/katz_centrality_mg.cu +# src/centrality/eigenvector_centrality_sg.cu +# src/centrality/eigenvector_centrality_mg.cu +# src/centrality/betweenness_centrality_sg.cu +# src/centrality/betweenness_centrality_mg.cu +# src/tree/legacy/mst.cu +# src/components/weakly_connected_components_sg.cu +# src/components/weakly_connected_components_mg.cu src/structure/create_graph_from_edgelist_sg.cu src/structure/create_graph_from_edgelist_mg.cu src/structure/symmetrize_edgelist_sg.cu src/structure/symmetrize_edgelist_mg.cu - src/community/triangle_count_sg.cu - src/community/triangle_count_mg.cu - src/traversal/k_hop_nbrs_sg.cu - src/traversal/k_hop_nbrs_mg.cu - src/mtmg/vertex_result.cu +# src/community/triangle_count_sg.cu +# src/community/triangle_count_mg.cu +# src/traversal/k_hop_nbrs_sg.cu +# src/traversal/k_hop_nbrs_mg.cu +# src/mtmg/vertex_result.cu ) if(USE_CUGRAPH_OPS) @@ -398,44 +398,44 @@ endif() add_library(cugraph_c src/c_api/resource_handle.cpp - src/c_api/array.cpp - src/c_api/error.cpp - src/c_api/graph_sg.cpp - src/c_api/graph_mg.cpp - src/c_api/graph_functions.cpp - src/c_api/pagerank.cpp - src/c_api/katz.cpp - src/c_api/centrality_result.cpp - src/c_api/eigenvector_centrality.cpp - src/c_api/betweenness_centrality.cpp - src/c_api/core_number.cpp - src/c_api/core_result.cpp - src/c_api/extract_ego.cpp - src/c_api/k_core.cpp - src/c_api/hierarchical_clustering_result.cpp - src/c_api/induced_subgraph.cpp - src/c_api/capi_helper.cu - src/c_api/legacy_spectral.cpp - src/c_api/legacy_ecg.cpp - src/c_api/graph_helper_sg.cu - src/c_api/graph_helper_mg.cu - src/c_api/graph_generators.cpp - src/c_api/induced_subgraph_result.cpp - src/c_api/hits.cpp - src/c_api/bfs.cpp - src/c_api/sssp.cpp - src/c_api/extract_paths.cpp - src/c_api/random_walks.cpp - src/c_api/random.cpp - src/c_api/similarity.cpp - src/c_api/leiden.cpp - src/c_api/louvain.cpp - src/c_api/triangle_count.cpp - src/c_api/uniform_neighbor_sampling.cpp - src/c_api/labeling_result.cpp - src/c_api/weakly_connected_components.cpp - src/c_api/strongly_connected_components.cpp - src/c_api/legacy_k_truss.cpp + #src/c_api/array.cpp + #src/c_api/error.cpp + #src/c_api/graph_sg.cpp + #src/c_api/graph_mg.cpp + #src/c_api/graph_functions.cpp + #src/c_api/pagerank.cpp + #src/c_api/katz.cpp + #src/c_api/centrality_result.cpp + #src/c_api/eigenvector_centrality.cpp + #src/c_api/betweenness_centrality.cpp + #src/c_api/core_number.cpp + #src/c_api/core_result.cpp + #src/c_api/extract_ego.cpp + #src/c_api/k_core.cpp + #src/c_api/hierarchical_clustering_result.cpp + #src/c_api/induced_subgraph.cpp + #src/c_api/capi_helper.cu + #src/c_api/legacy_spectral.cpp + #src/c_api/legacy_ecg.cpp + #src/c_api/graph_helper_sg.cu + #src/c_api/graph_helper_mg.cu + #src/c_api/graph_generators.cpp + #src/c_api/induced_subgraph_result.cpp + #src/c_api/hits.cpp + #src/c_api/bfs.cpp + #src/c_api/sssp.cpp + #src/c_api/extract_paths.cpp + #src/c_api/random_walks.cpp + #src/c_api/random.cpp + #src/c_api/similarity.cpp + #src/c_api/leiden.cpp + #src/c_api/louvain.cpp + #src/c_api/triangle_count.cpp + #src/c_api/uniform_neighbor_sampling.cpp + #src/c_api/labeling_result.cpp + #src/c_api/weakly_connected_components.cpp + #src/c_api/strongly_connected_components.cpp + #src/c_api/legacy_k_truss.cpp ) add_library(cugraph::cugraph_c ALIAS cugraph_c) @@ -507,71 +507,3 @@ if(BUILD_TESTS) add_subdirectory(tests) endif() -################################################################################ -# - install targets ------------------------------------------------------------ -rapids_cmake_install_lib_dir( lib_dir ) -include(CPack) - -install(TARGETS cugraph - DESTINATION ${lib_dir} - EXPORT cugraph-exports) - -install(DIRECTORY include/cugraph/ - DESTINATION include/cugraph) - -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/cugraph/version_config.hpp - DESTINATION include/cugraph) - -install(TARGETS cugraph_c - DESTINATION ${lib_dir} - EXPORT cugraph-exports) - -install(DIRECTORY include/cugraph_c/ - DESTINATION include/cugraph_c) - -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/cugraph_c/version_config.hpp - DESTINATION include/cugraph_c) - -################################################################################ -# - install export ------------------------------------------------------------- - -set(doc_string -[=[ -Provide targets for cuGraph. - -cuGraph library is a collection of GPU accelerated graph algorithms that process data found in -[GPU DataFrames](https://github.com/rapidsai/cudf). - -]=]) - -rapids_export(INSTALL cugraph - EXPORT_SET cugraph-exports - GLOBAL_TARGETS cugraph cugraph_c - NAMESPACE cugraph:: - DOCUMENTATION doc_string - ) - -################################################################################ -# - build export --------------------------------------------------------------- -rapids_export(BUILD cugraph - EXPORT_SET cugraph-exports - GLOBAL_TARGETS cugraph cugraph_c - NAMESPACE cugraph:: - DOCUMENTATION doc_string - ) - -################################################################################ -# - make documentation --------------------------------------------------------- -# requires doxygen and graphviz to be installed -# from build directory, run make docs_cugraph - -# doc targets for cugraph -find_package(Doxygen 1.8.11) -if(Doxygen_FOUND) - add_custom_command(OUTPUT CUGRAPH_DOXYGEN - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doxygen - COMMAND doxygen Doxyfile - VERBATIM) - - add_custom_target(docs_cugraph DEPENDS CUGRAPH_DOXYGEN) -endif() diff --git a/cpp/src/detail/groupby_and_count.cu b/cpp/src/detail/groupby_and_count.cu index cbb37f76207..3f4c6e8e010 100644 --- a/cpp/src/detail/groupby_and_count.cu +++ b/cpp/src/detail/groupby_and_count.cu @@ -263,42 +263,6 @@ rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( return result; } -template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( - raft::handle_t const& handle, - rmm::device_uvector& d_edgelist_majors, - rmm::device_uvector& d_edgelist_minors, - std::optional>& d_edgelist_weights, - std::optional>& d_edgelist_edge_ids, - std::optional>& d_edgelist_edge_types, - bool groupby_and_counts_local_partition); - -template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( - raft::handle_t const& handle, - rmm::device_uvector& d_edgelist_majors, - rmm::device_uvector& d_edgelist_minors, - std::optional>& d_edgelist_weights, - std::optional>& d_edgelist_edge_ids, - std::optional>& d_edgelist_edge_types, - bool groupby_and_counts_local_partition); - -template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( - raft::handle_t const& handle, - rmm::device_uvector& d_edgelist_majors, - rmm::device_uvector& d_edgelist_minors, - std::optional>& d_edgelist_weights, - std::optional>& d_edgelist_edge_ids, - std::optional>& d_edgelist_edge_types, - bool groupby_and_counts_local_partition); - -template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( - raft::handle_t const& handle, - rmm::device_uvector& d_edgelist_majors, - rmm::device_uvector& d_edgelist_minors, - std::optional>& d_edgelist_weights, - std::optional>& d_edgelist_edge_ids, - std::optional>& d_edgelist_edge_types, - bool groupby_and_counts_local_partition); - template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( raft::handle_t const& handle, rmm::device_uvector& d_edgelist_majors, @@ -308,14 +272,5 @@ template rmm::device_uvector groupby_and_count_edgelist_by_local_partiti std::optional>& d_edgelist_edge_types, bool groupby_and_counts_local_partition); -template rmm::device_uvector groupby_and_count_edgelist_by_local_partition_id( - raft::handle_t const& handle, - rmm::device_uvector& d_edgelist_majors, - rmm::device_uvector& d_edgelist_minors, - std::optional>& d_edgelist_weights, - std::optional>& d_edgelist_edge_ids, - std::optional>& d_edgelist_edge_types, - bool groupby_and_counts_local_partition); - } // namespace detail } // namespace cugraph diff --git a/cpp/src/detail/shuffle_vertex_pairs.cu b/cpp/src/detail/shuffle_vertex_pairs.cu index eb81e21c017..bf1e08fb002 100644 --- a/cpp/src/detail/shuffle_vertex_pairs.cu +++ b/cpp/src/detail/shuffle_vertex_pairs.cu @@ -356,58 +356,6 @@ shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( minor_comm_size}); } -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types); - template std::tuple, rmm::device_uvector, std::optional>, @@ -421,75 +369,6 @@ shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( std::optional>&& edge_ids, std::optional>&& edge_types); -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_ext_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types, - std::vector const& vertex_partition_range_lasts); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types, - std::vector const& vertex_partition_range_lasts); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types, - std::vector const& vertex_partition_range_lasts); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types, - std::vector const& vertex_partition_range_lasts); - template std::tuple, rmm::device_uvector, std::optional>, @@ -504,19 +383,5 @@ shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( std::optional>&& edge_types, std::vector const& vertex_partition_range_lasts); -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>, - std::optional>> -shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& majors, - rmm::device_uvector&& minors, - std::optional>&& weights, - std::optional>&& edge_ids, - std::optional>&& edge_types, - std::vector const& vertex_partition_range_lasts); - } // namespace detail } // namespace cugraph diff --git a/cpp/src/detail/shuffle_vertices.cu b/cpp/src/detail/shuffle_vertices.cu index bc450ce3bbf..ba0d0bd485c 100644 --- a/cpp/src/detail/shuffle_vertices.cu +++ b/cpp/src/detail/shuffle_vertices.cu @@ -164,23 +164,11 @@ shuffle_int_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( return return_value; } -template rmm::device_uvector shuffle_int_vertices_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& vertices, - std::vector const& vertex_partition_range_lasts); - template rmm::device_uvector shuffle_int_vertices_to_local_gpu_by_vertex_partitioning( raft::handle_t const& handle, rmm::device_uvector&& vertices, std::vector const& vertex_partition_range_lasts); -template std::tuple, rmm::device_uvector> -shuffle_int_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& d_vertices, - rmm::device_uvector&& d_values, - std::vector const& vertex_partition_range_lasts); - template std::tuple, rmm::device_uvector> shuffle_int_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( raft::handle_t const& handle, @@ -188,30 +176,9 @@ shuffle_int_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( rmm::device_uvector&& d_values, std::vector const& vertex_partition_range_lasts); -template rmm::device_uvector shuffle_ext_vertices_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, rmm::device_uvector&& d_vertices); - template rmm::device_uvector shuffle_ext_vertices_to_local_gpu_by_vertex_partitioning( raft::handle_t const& handle, rmm::device_uvector&& d_vertices); -template std::tuple, rmm::device_uvector> -shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& vertices, - rmm::device_uvector&& values); - -template std::tuple, rmm::device_uvector> -shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& vertices, - rmm::device_uvector&& values); - -template std::tuple, rmm::device_uvector> -shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& vertices, - rmm::device_uvector&& values); - template std::tuple, rmm::device_uvector> shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( raft::handle_t const& handle, @@ -230,11 +197,5 @@ shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( rmm::device_uvector&& vertices, rmm::device_uvector&& values); -template std::tuple, rmm::device_uvector> -shuffle_ext_vertex_value_pairs_to_local_gpu_by_vertex_partitioning( - raft::handle_t const& handle, - rmm::device_uvector&& vertices, - rmm::device_uvector&& values); - } // namespace detail } // namespace cugraph diff --git a/cpp/src/detail/utility_wrappers.cu b/cpp/src/detail/utility_wrappers.cu index 2d5bf6215b1..0671ef67d77 100644 --- a/cpp/src/detail/utility_wrappers.cu +++ b/cpp/src/detail/utility_wrappers.cu @@ -51,13 +51,6 @@ void uniform_random_fill(rmm::cuda_stream_view const& stream_view, } } -template void uniform_random_fill(rmm::cuda_stream_view const& stream_view, - int32_t* d_value, - size_t size, - int32_t min_value, - int32_t max_value, - raft::random::RngState& rng_state); - template void uniform_random_fill(rmm::cuda_stream_view const& stream_view, int64_t* d_value, size_t size, @@ -72,24 +65,12 @@ template void uniform_random_fill(rmm::cuda_stream_view const& stream_view, float max_value, raft::random::RngState& rng_state); -template void uniform_random_fill(rmm::cuda_stream_view const& stream_view, - double* d_value, - size_t size, - double min_value, - double max_value, - raft::random::RngState& rng_state); - template void scalar_fill(raft::handle_t const& handle, value_t* d_value, size_t size, value_t value) { thrust::fill_n(handle.get_thrust_policy(), d_value, size, value); } -template void scalar_fill(raft::handle_t const& handle, - int32_t* d_value, - size_t size, - int32_t value); - template void scalar_fill(raft::handle_t const& handle, int64_t* d_value, size_t size, @@ -99,8 +80,6 @@ template void scalar_fill(raft::handle_t const& handle, size_t* d_value, size_t template void scalar_fill(raft::handle_t const& handle, float* d_value, size_t size, float value); -template void scalar_fill(raft::handle_t const& handle, double* d_value, size_t size, double value); - template void sequence_fill(rmm::cuda_stream_view const& stream_view, value_t* d_value, @@ -110,11 +89,6 @@ void sequence_fill(rmm::cuda_stream_view const& stream_view, thrust::sequence(rmm::exec_policy(stream_view), d_value, d_value + size, start_value); } -template void sequence_fill(rmm::cuda_stream_view const& stream_view, - int32_t* d_value, - size_t size, - int32_t start_value); - template void sequence_fill(rmm::cuda_stream_view const& stream_view, int64_t* d_value, size_t size, @@ -142,11 +116,6 @@ vertex_t compute_maximum_vertex_id(rmm::cuda_stream_view const& stream_view, thrust::maximum()); } -template int32_t compute_maximum_vertex_id(rmm::cuda_stream_view const& stream_view, - int32_t const* d_edgelist_srcs, - int32_t const* d_edgelist_dsts, - size_t num_edges); - template int64_t compute_maximum_vertex_id(rmm::cuda_stream_view const& stream_view, int64_t const* d_edgelist_srcs, int64_t const* d_edgelist_dsts, @@ -180,16 +149,6 @@ std::tuple, rmm::device_uvector> filter_de return std::make_tuple(std::move(d_vertices), std::move(d_out_degs)); } -template std::tuple, rmm::device_uvector> -filter_degree_0_vertices(raft::handle_t const& handle, - rmm::device_uvector&& d_vertices, - rmm::device_uvector&& d_out_degs); - -template std::tuple, rmm::device_uvector> -filter_degree_0_vertices(raft::handle_t const& handle, - rmm::device_uvector&& d_vertices, - rmm::device_uvector&& d_out_degs); - template std::tuple, rmm::device_uvector> filter_degree_0_vertices(raft::handle_t const& handle, rmm::device_uvector&& d_vertices, @@ -214,12 +173,6 @@ bool is_equal(raft::handle_t const& handle, return thrust::equal(handle.get_thrust_policy(), span1.begin(), span1.end(), span2.begin()); } -template bool is_equal(raft::handle_t const& handle, - raft::device_span span1, - raft::device_span span2); -template bool is_equal(raft::handle_t const& handle, - raft::device_span span1, - raft::device_span span2); template bool is_equal(raft::handle_t const& handle, raft::device_span span1, raft::device_span span2); diff --git a/cpp/src/generators/generate_rmat_edgelist.cu b/cpp/src/generators/generate_rmat_edgelist.cu index bcafd2661d5..e43b7a532f5 100644 --- a/cpp/src/generators/generate_rmat_edgelist.cu +++ b/cpp/src/generators/generate_rmat_edgelist.cu @@ -228,17 +228,6 @@ generate_rmat_edgelists(raft::handle_t const& handle, scramble_vertex_ids); } -template std::tuple, rmm::device_uvector> -generate_rmat_edgelist(raft::handle_t const& handle, - raft::random::RngState& rng_state, - size_t scale, - size_t num_edges, - double a, - double b, - double c, - bool clip_and_flip, - bool scramble_vertex_ids); - template std::tuple, rmm::device_uvector> generate_rmat_edgelist(raft::handle_t const& handle, raft::random::RngState& rng_state, @@ -250,18 +239,6 @@ generate_rmat_edgelist(raft::handle_t const& handle, bool clip_and_flip, bool scramble_vertex_ids); -template std::vector, rmm::device_uvector>> -generate_rmat_edgelists(raft::handle_t const& handle, - raft::random::RngState& rng_state, - size_t n_edgelists, - size_t min_scale, - size_t max_scale, - size_t edge_factor, - generator_distribution_t size_distribution, - generator_distribution_t edge_distribution, - bool clip_and_flip, - bool scramble_vertex_ids); - template std::vector, rmm::device_uvector>> generate_rmat_edgelists(raft::handle_t const& handle, raft::random::RngState& rng_state, @@ -275,16 +252,6 @@ generate_rmat_edgelists(raft::handle_t const& handle, bool scramble_vertex_ids); /* DEPRECATED */ -template std::tuple, rmm::device_uvector> -generate_rmat_edgelist(raft::handle_t const& handle, - size_t scale, - size_t num_edges, - double a, - double b, - double c, - uint64_t seed, - bool clip_and_flip, - bool scramble_vertex_ids); template std::tuple, rmm::device_uvector> generate_rmat_edgelist(raft::handle_t const& handle, @@ -297,18 +264,6 @@ generate_rmat_edgelist(raft::handle_t const& handle, bool clip_and_flip, bool scramble_vertex_ids); -template std::vector, rmm::device_uvector>> -generate_rmat_edgelists(raft::handle_t const& handle, - size_t n_edgelists, - size_t min_scale, - size_t max_scale, - size_t edge_factor, - generator_distribution_t size_distribution, - generator_distribution_t edge_distribution, - uint64_t seed, - bool clip_and_flip, - bool scramble_vertex_ids); - template std::vector, rmm::device_uvector>> generate_rmat_edgelists(raft::handle_t const& handle, size_t n_edgelists, diff --git a/cpp/src/generators/generator_tools.cu b/cpp/src/generators/generator_tools.cu index 1650d3c15c6..235df931dee 100644 --- a/cpp/src/generators/generator_tools.cu +++ b/cpp/src/generators/generator_tools.cu @@ -257,35 +257,16 @@ symmetrize_edgelist_from_triangular( optional_d_weights_v ? std::move(optional_d_weights_v) : std::nullopt); } -template rmm::device_uvector scramble_vertex_ids(raft::handle_t const& handle, - rmm::device_uvector&& vertices, - size_t lgN); - template rmm::device_uvector scramble_vertex_ids(raft::handle_t const& handle, rmm::device_uvector&& vertices, size_t lgN); -template std::tuple, rmm::device_uvector> scramble_vertex_ids( - raft::handle_t const& handle, - rmm::device_uvector&& srcs, - rmm::device_uvector&& dsts, - size_t lgN); - template std::tuple, rmm::device_uvector> scramble_vertex_ids( raft::handle_t const& handle, rmm::device_uvector&& srcs, rmm::device_uvector&& dsts, size_t lgN); -template std::tuple, - rmm::device_uvector, - std::optional>> -combine_edgelists(raft::handle_t const& handle, - std::vector>&& sources, - std::vector>&& dests, - std::optional>>&& optional_d_weights, - bool remove_multi_edges); - template std::tuple, rmm::device_uvector, std::optional>> @@ -295,34 +276,6 @@ combine_edgelists(raft::handle_t const& handle, std::optional>>&& optional_d_weights, bool remove_multi_edges); -template std::tuple, - rmm::device_uvector, - std::optional>> -combine_edgelists(raft::handle_t const& handle, - std::vector>&& sources, - std::vector>&& dests, - std::optional>>&& optional_d_weights, - bool remove_multi_edges); - -template std::tuple, - rmm::device_uvector, - std::optional>> -combine_edgelists(raft::handle_t const& handle, - std::vector>&& sources, - std::vector>&& dests, - std::optional>>&& optional_d_weights, - bool remove_multi_edges); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist_from_triangular( - raft::handle_t const& handle, - rmm::device_uvector&& d_src_v, - rmm::device_uvector&& d_dst_v, - std::optional>&& optional_d_weights_v, - bool check_diagonal); - template std::tuple, rmm::device_uvector, std::optional>> @@ -333,24 +286,4 @@ symmetrize_edgelist_from_triangular( std::optional>&& optional_d_weights_v, bool check_diagonal); -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist_from_triangular( - raft::handle_t const& handle, - rmm::device_uvector&& d_src_v, - rmm::device_uvector&& d_dst_v, - std::optional>&& optional_d_weights_v, - bool check_diagonal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist_from_triangular( - raft::handle_t const& handle, - rmm::device_uvector&& d_src_v, - rmm::device_uvector&& d_dst_v, - std::optional>&& optional_d_weights_v, - bool check_diagonal); - } // namespace cugraph diff --git a/cpp/src/link_analysis/pagerank_mg.cu b/cpp/src/link_analysis/pagerank_mg.cu index dc9892f69a8..74cbd90f55d 100644 --- a/cpp/src/link_analysis/pagerank_mg.cu +++ b/cpp/src/link_analysis/pagerank_mg.cu @@ -18,62 +18,6 @@ namespace cugraph { // MG instantiation -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - float* pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - float* pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - template void pagerank(raft::handle_t const& handle, graph_view_t const& graph_view, std::optional> edge_weight_view, @@ -88,72 +32,6 @@ template void pagerank(raft::handle_t const& handle, bool has_initial_guess, bool do_expensive_check); -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - template std::tuple, centrality_algorithm_metadata_t> pagerank( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -167,17 +45,4 @@ template std::tuple, centrality_algorithm_metadata_t> size_t max_iterations, bool do_expensive_check); -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/link_analysis/pagerank_sg.cu b/cpp/src/link_analysis/pagerank_sg.cu index 51d123fe337..079db4782b8 100644 --- a/cpp/src/link_analysis/pagerank_sg.cu +++ b/cpp/src/link_analysis/pagerank_sg.cu @@ -18,62 +18,6 @@ namespace cugraph { // SG instantiation -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - float* pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - float* pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - template void pagerank(raft::handle_t const& handle, graph_view_t const& graph_view, std::optional> edge_weight_view, @@ -88,72 +32,6 @@ template void pagerank(raft::handle_t const& handle, bool has_initial_guess, bool do_expensive_check); -template void pagerank(raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional precomputed_vertex_out_weight_sums, - std::optional personalization_vertices, - std::optional personalization_values, - std::optional personalization_vector_size, - double* pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool has_initial_guess, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - float alpha, - float epsilon, - size_t max_iterations, - bool do_expensive_check); - -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - template std::tuple, centrality_algorithm_metadata_t> pagerank( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -167,17 +45,4 @@ template std::tuple, centrality_algorithm_metadata_t> size_t max_iterations, bool do_expensive_check); -template std::tuple, centrality_algorithm_metadata_t> pagerank( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> precomputed_vertex_out_weight_sums, - std::optional, raft::device_span>> - personalization, - std::optional> initial_pageranks, - double alpha, - double epsilon, - size_t max_iterations, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/structure/create_graph_from_edgelist_mg.cu b/cpp/src/structure/create_graph_from_edgelist_mg.cu index 79ffcfdb659..a9bce2b3fd0 100644 --- a/cpp/src/structure/create_graph_from_edgelist_mg.cu +++ b/cpp/src/structure/create_graph_from_edgelist_mg.cu @@ -19,174 +19,6 @@ namespace cugraph { // explicit instantiations -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - template std::tuple< cugraph::graph_t, std::optional< @@ -229,46 +61,4 @@ create_graph_from_edgelist, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/structure/create_graph_from_edgelist_sg.cu b/cpp/src/structure/create_graph_from_edgelist_sg.cu index 1c051cd8168..b397aa64df6 100644 --- a/cpp/src/structure/create_graph_from_edgelist_sg.cu +++ b/cpp/src/structure/create_graph_from_edgelist_sg.cu @@ -19,174 +19,6 @@ namespace cugraph { // explicit instantiations -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, float>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - template std::tuple< cugraph::graph_t, std::optional< @@ -229,46 +61,4 @@ create_graph_from_edgelist, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - -template std::tuple< - cugraph::graph_t, - std::optional< - cugraph::edge_property_t, double>>, - std::optional< - cugraph::edge_property_t, int64_t>>, - std::optional< - cugraph::edge_property_t, int32_t>>, - std::optional>> -create_graph_from_edgelist( - raft::handle_t const& handle, - std::optional>&& vertex_span, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - std::optional>&& edgelist_edge_ids, - std::optional>&& edgelist_edge_types, - graph_properties_t graph_properties, - bool renumber, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/structure/decompress_to_edgelist_mg.cu b/cpp/src/structure/decompress_to_edgelist_mg.cu index fbe56ca9b04..3b70ce34f8d 100644 --- a/cpp/src/structure/decompress_to_edgelist_mg.cu +++ b/cpp/src/structure/decompress_to_edgelist_mg.cu @@ -19,102 +19,6 @@ namespace cugraph { // MG instantiation -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - template std::tuple, rmm::device_uvector, std::optional>, @@ -139,28 +43,4 @@ decompress_to_edgelist( std::optional> renumber_map, bool do_expensive_check); -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/structure/decompress_to_edgelist_sg.cu b/cpp/src/structure/decompress_to_edgelist_sg.cu index 5b8e410e087..4a5479142c9 100644 --- a/cpp/src/structure/decompress_to_edgelist_sg.cu +++ b/cpp/src/structure/decompress_to_edgelist_sg.cu @@ -19,102 +19,6 @@ namespace cugraph { // SG instantiation -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - template std::tuple, rmm::device_uvector, std::optional>, @@ -139,28 +43,4 @@ decompress_to_edgelist( std::optional> renumber_map, bool do_expensive_check); -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - -template std::tuple, - rmm::device_uvector, - std::optional>, - std::optional>> -decompress_to_edgelist( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> edge_id_view, - std::optional> renumber_map, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/structure/graph_mg.cu b/cpp/src/structure/graph_mg.cu index 293e464fd19..907151e58b9 100644 --- a/cpp/src/structure/graph_mg.cu +++ b/cpp/src/structure/graph_mg.cu @@ -19,10 +19,6 @@ namespace cugraph { // MG instantiation -template class graph_t; -template class graph_t; -template class graph_t; -template class graph_t; template class graph_t; template class graph_t; diff --git a/cpp/src/structure/graph_sg.cu b/cpp/src/structure/graph_sg.cu index bac0b3f0be9..c349645c1e7 100644 --- a/cpp/src/structure/graph_sg.cu +++ b/cpp/src/structure/graph_sg.cu @@ -19,10 +19,6 @@ namespace cugraph { // SG instantiation -template class graph_t; -template class graph_t; -template class graph_t; -template class graph_t; template class graph_t; template class graph_t; diff --git a/cpp/src/structure/graph_view_mg.cu b/cpp/src/structure/graph_view_mg.cu index 6ccd0150fe0..3d25a69c075 100644 --- a/cpp/src/structure/graph_view_mg.cu +++ b/cpp/src/structure/graph_view_mg.cu @@ -19,10 +19,6 @@ namespace cugraph { // MG instantiation -template class graph_view_t; -template class graph_view_t; -template class graph_view_t; -template class graph_view_t; template class graph_view_t; template class graph_view_t; diff --git a/cpp/src/structure/graph_view_sg.cu b/cpp/src/structure/graph_view_sg.cu index 0472d918d23..bb3c8d20756 100644 --- a/cpp/src/structure/graph_view_sg.cu +++ b/cpp/src/structure/graph_view_sg.cu @@ -19,10 +19,6 @@ namespace cugraph { // SG instantiation -template class graph_view_t; -template class graph_view_t; -template class graph_view_t; -template class graph_view_t; template class graph_view_t; template class graph_view_t; diff --git a/cpp/src/structure/graph_weight_utils_mg.cu b/cpp/src/structure/graph_weight_utils_mg.cu index 3e433cb41c0..a1dff48035f 100644 --- a/cpp/src/structure/graph_weight_utils_mg.cu +++ b/cpp/src/structure/graph_weight_utils_mg.cu @@ -21,46 +21,6 @@ namespace cugraph { // compute_in_weight_sums -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template rmm::device_uvector compute_in_weight_sums( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -71,58 +31,8 @@ template rmm::device_uvector compute_in_weight_sums const& graph_view, edge_property_view_t edge_weight_view); -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_out_weight_sums -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template rmm::device_uvector compute_out_weight_sums( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -133,58 +43,8 @@ template rmm::device_uvector compute_out_weight_sums const& graph_view, edge_property_view_t edge_weight_view); -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_max_in_weight_sum -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_max_in_weight_sum( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -195,58 +55,8 @@ template float compute_max_in_weight_sum( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_max_out_weight_sum -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_max_out_weight_sum( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -257,58 +67,8 @@ template float compute_max_out_weight_sum( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_total_edge_weight -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_total_edge_weight( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -319,14 +79,4 @@ template float compute_total_edge_weight( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - } // namespace cugraph diff --git a/cpp/src/structure/graph_weight_utils_sg.cu b/cpp/src/structure/graph_weight_utils_sg.cu index 1b076f08af6..29b87c9a3cf 100644 --- a/cpp/src/structure/graph_weight_utils_sg.cu +++ b/cpp/src/structure/graph_weight_utils_sg.cu @@ -21,46 +21,6 @@ namespace cugraph { // compute_in_weight_sums -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template rmm::device_uvector compute_in_weight_sums( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -71,60 +31,8 @@ template rmm::device_uvector compute_in_weight_sums const& graph_view, edge_property_view_t edge_weight_view); -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_in_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_out_weight_sums -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector -compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector -compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template rmm::device_uvector compute_out_weight_sums( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -135,59 +43,8 @@ template rmm::device_uvector compute_out_weight_sums const& graph_view, edge_property_view_t edge_weight_view); -template rmm::device_uvector -compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template rmm::device_uvector compute_out_weight_sums( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_max_in_weight_sum -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_max_in_weight_sum( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -198,58 +55,8 @@ template float compute_max_in_weight_sum( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_in_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_max_out_weight_sum -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_max_out_weight_sum( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -260,58 +67,8 @@ template float compute_max_out_weight_sum( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_max_out_weight_sum( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - // compute_total_edge_weight -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template float compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - template float compute_total_edge_weight( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -322,14 +79,4 @@ template float compute_total_edge_weight( graph_view_t const& graph_view, edge_property_view_t edge_weight_view); -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - -template double compute_total_edge_weight( - raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view); - } // namespace cugraph diff --git a/cpp/src/structure/renumber_edgelist_mg.cu b/cpp/src/structure/renumber_edgelist_mg.cu index 00ad6b4128e..36cbfe3f060 100644 --- a/cpp/src/structure/renumber_edgelist_mg.cu +++ b/cpp/src/structure/renumber_edgelist_mg.cu @@ -19,28 +19,6 @@ namespace cugraph { // MG instantiation -template std::tuple, renumber_meta_t> -renumber_edgelist( - raft::handle_t const& handle, - std::optional>&& local_vertices, - std::vector const& edgelist_srcs /* [INOUT] */, - std::vector const& edgelist_dsts /* [INOUT] */, - std::vector const& edgelist_edge_counts, - std::optional>> const& edgelist_intra_partition_segment_offsets, - bool store_transposed, - bool do_expensive_check); - -template std::tuple, renumber_meta_t> -renumber_edgelist( - raft::handle_t const& handle, - std::optional>&& local_vertices, - std::vector const& edgelist_srcs /* [INOUT] */, - std::vector const& edgelist_dsts /* [INOUT] */, - std::vector const& edgelist_edge_counts, - std::optional>> const& edgelist_intra_partition_segment_offsets, - bool store_transposed, - bool do_expensive_check); - template std::tuple, renumber_meta_t> renumber_edgelist( raft::handle_t const& handle, diff --git a/cpp/src/structure/renumber_edgelist_sg.cu b/cpp/src/structure/renumber_edgelist_sg.cu index bb9e216224a..6c3e9f1941a 100644 --- a/cpp/src/structure/renumber_edgelist_sg.cu +++ b/cpp/src/structure/renumber_edgelist_sg.cu @@ -19,24 +19,6 @@ namespace cugraph { // SG instantiation -template std::tuple, renumber_meta_t> -renumber_edgelist(raft::handle_t const& handle, - std::optional>&& vertices, - int32_t* edgelist_srcs /* [INOUT] */, - int32_t* edgelist_dsts /* [INOUT] */, - int32_t num_edgelist_edges, - bool store_transposed, - bool do_expensive_check); - -template std::tuple, renumber_meta_t> -renumber_edgelist(raft::handle_t const& handle, - std::optional>&& vertices, - int32_t* edgelist_srcs /* [INOUT] */, - int32_t* edgelist_dsts /* [INOUT] */, - int64_t num_edgelist_edges, - bool store_transposed, - bool do_expensive_check); - template std::tuple, renumber_meta_t> renumber_edgelist(raft::handle_t const& handle, std::optional>&& vertices, diff --git a/cpp/src/structure/renumber_utils_mg.cu b/cpp/src/structure/renumber_utils_mg.cu index 1c111a30cd9..5b5557f0d80 100644 --- a/cpp/src/structure/renumber_utils_mg.cu +++ b/cpp/src/structure/renumber_utils_mg.cu @@ -20,14 +20,6 @@ namespace cugraph { // SG instantiation -template void renumber_ext_vertices(raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - int32_t local_int_vertex_first, - int32_t local_int_vertex_last, - bool do_expensive_check); - template void renumber_ext_vertices(raft::handle_t const& handle, int64_t* vertices, size_t num_vertices, @@ -36,14 +28,6 @@ template void renumber_ext_vertices(raft::handle_t const& handle, int64_t local_int_vertex_last, bool do_expensive_check); -template void renumber_local_ext_vertices(raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - int32_t local_int_vertex_first, - int32_t local_int_vertex_last, - bool do_expensive_check); - template void renumber_local_ext_vertices(raft::handle_t const& handle, int64_t* vertices, size_t num_vertices, @@ -52,14 +36,6 @@ template void renumber_local_ext_vertices(raft::handle_t const& h int64_t local_int_vertex_last, bool do_expensive_check); -template void unrenumber_int_vertices( - raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - std::vector const& vertex_partition_range_lasts, - bool do_expensive_check); - template void unrenumber_int_vertices( raft::handle_t const& handle, int64_t* vertices, @@ -68,26 +44,6 @@ template void unrenumber_int_vertices( std::vector const& vertex_partition_range_lasts, bool do_expensive_check); -template void unrenumber_local_int_edges( - raft::handle_t const& handle, - std::vector const& edgelist_srcs /* [INOUT] */, - std::vector const& edgelist_dsts /* [INOUT] */, - std::vector const& edgelist_edge_counts, - int32_t const* renumber_map_labels, - std::vector const& vertex_partition_range_lasts, - std::optional>> const& edgelist_intra_partition_segment_offsets, - bool do_expensive_check); - -template void unrenumber_local_int_edges( - raft::handle_t const& handle, - std::vector const& edgelist_srcs /* [INOUT] */, - std::vector const& edgelist_dsts /* [INOUT] */, - std::vector const& edgelist_edge_counts, - int32_t const* renumber_map_labels, - std::vector const& vertex_partition_range_lasts, - std::optional>> const& edgelist_intra_partition_segment_offsets, - bool do_expensive_check); - template void unrenumber_local_int_edges( raft::handle_t const& handle, std::vector const& edgelist_srcs /* [INOUT] */, diff --git a/cpp/src/structure/renumber_utils_sg.cu b/cpp/src/structure/renumber_utils_sg.cu index ba977563d24..f0453d8aa32 100644 --- a/cpp/src/structure/renumber_utils_sg.cu +++ b/cpp/src/structure/renumber_utils_sg.cu @@ -20,14 +20,6 @@ namespace cugraph { // SG instantiation -template void renumber_ext_vertices(raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - int32_t local_int_vertex_first, - int32_t local_int_vertex_last, - bool do_expensive_check); - template void renumber_ext_vertices(raft::handle_t const& handle, int64_t* vertices, size_t num_vertices, @@ -36,14 +28,6 @@ template void renumber_ext_vertices(raft::handle_t const& handle int64_t local_int_vertex_last, bool do_expensive_check); -template void renumber_local_ext_vertices(raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - int32_t local_int_vertex_first, - int32_t local_int_vertex_last, - bool do_expensive_check); - template void renumber_local_ext_vertices(raft::handle_t const& handle, int64_t* vertices, size_t num_vertices, @@ -52,14 +36,6 @@ template void renumber_local_ext_vertices(raft::handle_t const& int64_t local_int_vertex_last, bool do_expensive_check); -template void unrenumber_local_int_vertices(raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - int32_t local_int_vertex_first, - int32_t local_int_vertex_last, - bool do_expensive_check); - template void unrenumber_local_int_vertices(raft::handle_t const& handle, int64_t* vertices, size_t num_vertices, @@ -68,14 +44,6 @@ template void unrenumber_local_int_vertices(raft::handle_t const& handl int64_t local_int_vertex_last, bool do_expensive_check); -template void unrenumber_int_vertices( - raft::handle_t const& handle, - int32_t* vertices, - size_t num_vertices, - int32_t const* renumber_map_labels, - std::vector const& vertex_partition_range_lasts, - bool do_expensive_check); - template void unrenumber_int_vertices( raft::handle_t const& handle, int64_t* vertices, @@ -84,23 +52,6 @@ template void unrenumber_int_vertices( std::vector const& vertex_partition_range_lasts, bool do_expensive_check); -template void unrenumber_local_int_edges( - raft::handle_t const& handle, - int32_t* edgelist_srcs /* [INOUT] */, - int32_t* edgelist_dsts /* [INOUT] */, - size_t num_edgelist_edges, - int32_t const* renumber_map_labels, - int32_t num_vertices, - bool do_expensive_check); - -template void unrenumber_local_int_edges(raft::handle_t const& handle, - int32_t* edgelist_srcs /* [INOUT] */, - int32_t* edgelist_dsts /* [INOUT] */, - size_t num_edgelist_edges, - int32_t const* renumber_map_labels, - int32_t num_vertices, - bool do_expensive_check); - template void unrenumber_local_int_edges( raft::handle_t const& handle, int64_t* edgelist_srcs /* [INOUT] */, diff --git a/cpp/src/structure/select_random_vertices_mg.cu b/cpp/src/structure/select_random_vertices_mg.cu index 595da12f678..81478db653a 100644 --- a/cpp/src/structure/select_random_vertices_mg.cu +++ b/cpp/src/structure/select_random_vertices_mg.cu @@ -18,26 +18,6 @@ namespace cugraph { -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - template rmm::device_uvector select_random_vertices( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -48,26 +28,6 @@ template rmm::device_uvector select_random_vertices( bool sort_vertices, bool do_expensive_check); -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - template rmm::device_uvector select_random_vertices( raft::handle_t const& handle, graph_view_t const& graph_view, diff --git a/cpp/src/structure/select_random_vertices_sg.cu b/cpp/src/structure/select_random_vertices_sg.cu index 1ca1878c9db..4fcb2825680 100644 --- a/cpp/src/structure/select_random_vertices_sg.cu +++ b/cpp/src/structure/select_random_vertices_sg.cu @@ -18,26 +18,6 @@ namespace cugraph { -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - template rmm::device_uvector select_random_vertices( raft::handle_t const& handle, graph_view_t const& graph_view, @@ -48,26 +28,6 @@ template rmm::device_uvector select_random_vertices( bool sort_vertices, bool do_expensive_check); -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - -template rmm::device_uvector select_random_vertices( - raft::handle_t const& handle, - graph_view_t const& graph_view, - std::optional> given_set, - raft::random::RngState& rng_state, - size_t select_count, - bool with_replacement, - bool sort_vertices, - bool do_expensive_check); - template rmm::device_uvector select_random_vertices( raft::handle_t const& handle, graph_view_t const& graph_view, diff --git a/cpp/src/structure/symmetrize_edgelist_mg.cu b/cpp/src/structure/symmetrize_edgelist_mg.cu index ad75c8a450e..06782243b9e 100644 --- a/cpp/src/structure/symmetrize_edgelist_mg.cu +++ b/cpp/src/structure/symmetrize_edgelist_mg.cu @@ -19,46 +19,6 @@ namespace cugraph { // MG instantiation -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - template std::tuple, rmm::device_uvector, std::optional>> @@ -79,24 +39,4 @@ symmetrize_edgelist( std::optional>&& edgelist_weights, bool reciprocal); -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - } // namespace cugraph diff --git a/cpp/src/structure/symmetrize_edgelist_sg.cu b/cpp/src/structure/symmetrize_edgelist_sg.cu index 3dab0d801c7..9e9d90b19e5 100644 --- a/cpp/src/structure/symmetrize_edgelist_sg.cu +++ b/cpp/src/structure/symmetrize_edgelist_sg.cu @@ -19,46 +19,6 @@ namespace cugraph { // SG instantiation -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - template std::tuple, rmm::device_uvector, std::optional>> @@ -79,24 +39,4 @@ symmetrize_edgelist( std::optional>&& edgelist_weights, bool reciprocal); -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - -template std::tuple, - rmm::device_uvector, - std::optional>> -symmetrize_edgelist( - raft::handle_t const& handle, - rmm::device_uvector&& edgelist_srcs, - rmm::device_uvector&& edgelist_dsts, - std::optional>&& edgelist_weights, - bool reciprocal); - } // namespace cugraph diff --git a/cpp/src/traversal/bfs_mg.cu b/cpp/src/traversal/bfs_mg.cu index 3a28487ad71..2e04e5a830e 100644 --- a/cpp/src/traversal/bfs_mg.cu +++ b/cpp/src/traversal/bfs_mg.cu @@ -20,26 +20,6 @@ namespace cugraph { // MG instantiation -template void bfs(raft::handle_t const& handle, - graph_view_t const& graph_view, - int32_t* distances, - int32_t* predecessors, - int32_t const* sources, - size_t n_sources, - bool direction_optimizing, - int32_t depth_limit, - bool do_expensive_check); - -template void bfs(raft::handle_t const& handle, - graph_view_t const& graph_view, - int32_t* distances, - int32_t* predecessors, - int32_t const* sources, - size_t n_sources, - bool direction_optimizing, - int32_t depth_limit, - bool do_expensive_check); - template void bfs(raft::handle_t const& handle, graph_view_t const& graph_view, int64_t* distances, diff --git a/cpp/src/traversal/bfs_sg.cu b/cpp/src/traversal/bfs_sg.cu index f9ef4f24d30..ecae372b789 100644 --- a/cpp/src/traversal/bfs_sg.cu +++ b/cpp/src/traversal/bfs_sg.cu @@ -20,26 +20,6 @@ namespace cugraph { // SG instantiation -template void bfs(raft::handle_t const& handle, - graph_view_t const& graph_view, - int32_t* distances, - int32_t* predecessors, - int32_t const* sources, - size_t n_sources, - bool direction_optimizing, - int32_t depth_limit, - bool do_expensive_check); - -template void bfs(raft::handle_t const& handle, - graph_view_t const& graph_view, - int32_t* distances, - int32_t* predecessors, - int32_t const* sources, - size_t n_sources, - bool direction_optimizing, - int32_t depth_limit, - bool do_expensive_check); - template void bfs(raft::handle_t const& handle, graph_view_t const& graph_view, int64_t* distances, diff --git a/cpp/src/traversal/sssp_mg.cu b/cpp/src/traversal/sssp_mg.cu index 0a67eb8c422..ed636d6ab40 100644 --- a/cpp/src/traversal/sssp_mg.cu +++ b/cpp/src/traversal/sssp_mg.cu @@ -19,42 +19,6 @@ namespace cugraph { // MG instantiation -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - float* distances, - int32_t* predecessors, - int32_t source_vertex, - float cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int32_t* predecessors, - int32_t source_vertex, - double cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - float* distances, - int32_t* predecessors, - int32_t source_vertex, - float cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int32_t* predecessors, - int32_t source_vertex, - double cutoff, - bool do_expensive_check); - template void sssp(raft::handle_t const& handle, graph_view_t const& graph_view, edge_property_view_t edge_weight_view, @@ -64,13 +28,4 @@ template void sssp(raft::handle_t const& handle, float cutoff, bool do_expensive_check); -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int64_t* predecessors, - int64_t source_vertex, - double cutoff, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/src/traversal/sssp_sg.cu b/cpp/src/traversal/sssp_sg.cu index 83b457050fc..d8e266e8900 100644 --- a/cpp/src/traversal/sssp_sg.cu +++ b/cpp/src/traversal/sssp_sg.cu @@ -19,42 +19,6 @@ namespace cugraph { // SG instantiation -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - float* distances, - int32_t* predecessors, - int32_t source_vertex, - float cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int32_t* predecessors, - int32_t source_vertex, - double cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - float* distances, - int32_t* predecessors, - int32_t source_vertex, - float cutoff, - bool do_expensive_check); - -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int32_t* predecessors, - int32_t source_vertex, - double cutoff, - bool do_expensive_check); - template void sssp(raft::handle_t const& handle, graph_view_t const& graph_view, edge_property_view_t edge_weight_view, @@ -64,13 +28,4 @@ template void sssp(raft::handle_t const& handle, float cutoff, bool do_expensive_check); -template void sssp(raft::handle_t const& handle, - graph_view_t const& graph_view, - edge_property_view_t edge_weight_view, - double* distances, - int64_t* predecessors, - int64_t source_vertex, - double cutoff, - bool do_expensive_check); - } // namespace cugraph diff --git a/cpp/tests/CMakeLists.txt b/cpp/tests/CMakeLists.txt index 2a4bb8ab2a5..8fb64557113 100644 --- a/cpp/tests/CMakeLists.txt +++ b/cpp/tests/CMakeLists.txt @@ -23,18 +23,18 @@ rapids_test_init() # - common test utils ----------------------------------------------------------------------------- add_library(cugraphtestutil STATIC - utilities/matrix_market_file_utilities.cu - utilities/csv_file_utilities.cu +# utilities/matrix_market_file_utilities.cu +# utilities/csv_file_utilities.cu utilities/thrust_wrapper.cu utilities/misc_utilities.cpp - utilities/test_utilities_sg.cu - link_prediction/similarity_compare.cpp - centrality/betweenness_centrality_validate.cu - community/egonet_validate.cu - cores/k_core_validate.cu - structure/induced_subgraph_validate.cu - sampling/random_walks_check_sg.cu - ../../thirdparty/mmio/mmio.c) + utilities/test_utilities_sg.cu) +# link_prediction/similarity_compare.cpp +# centrality/betweenness_centrality_validate.cu +# community/egonet_validate.cu +# cores/k_core_validate.cu +# structure/induced_subgraph_validate.cu +# sampling/random_walks_check_sg.cu +# ../../thirdparty/mmio/mmio.c) target_compile_options(cugraphtestutil PUBLIC "$<$:${CUGRAPH_CXX_FLAGS}>" @@ -233,97 +233,97 @@ endif(RAPIDS_DATASET_ROOT_DIR) ################################################################################################### # - graph generator tests ------------------------------------------------------------------------- -ConfigureTest(GRAPH_GENERATORS_TEST generators/generators_test.cpp) +#ConfigureTest(GRAPH_GENERATORS_TEST generators/generators_test.cpp) ################################################################################################### # - erdos renyi graph generator tests ------------------------------------------------------------- -ConfigureTest(ERDOS_RENYI_GENERATOR_TEST generators/erdos_renyi_test.cpp) +#ConfigureTest(ERDOS_RENYI_GENERATOR_TEST generators/erdos_renyi_test.cpp) ################################################################################################### # - LOUVAIN tests --------------------------------------------------------------------------------- -ConfigureTest(LOUVAIN_TEST community/louvain_test.cpp) +#ConfigureTest(LOUVAIN_TEST community/louvain_test.cpp) ################################################################################################### # - LEIDEN tests ---------------------------------------------------------------------------------- -ConfigureTest(LEIDEN_TEST community/leiden_test.cpp) +#ConfigureTest(LEIDEN_TEST community/leiden_test.cpp) ################################################################################################### # - ECG tests ------------------------------------------------------------------------------------- -ConfigureTest(ECG_TEST community/ecg_test.cpp) +#ConfigureTest(ECG_TEST community/ecg_test.cpp) ################################################################################################### # - Balanced cut clustering tests ----------------------------------------------------------------- -ConfigureTest(BALANCED_TEST community/balanced_edge_test.cpp) +#ConfigureTest(BALANCED_TEST community/balanced_edge_test.cpp) ################################################################################################### # - EGO tests ------------------------------------------------------------------------------------- -ConfigureTest(EGO_TEST community/egonet_test.cpp GPUS 1 PERCENT 75) +#ConfigureTest(EGO_TEST community/egonet_test.cpp GPUS 1 PERCENT 75) ################################################################################################### # - FORCE ATLAS 2 tests -------------------------------------------------------------------------- -ConfigureTest(LEGACY_FA2_TEST layout/legacy/force_atlas2_test.cu) +#ConfigureTest(LEGACY_FA2_TEST layout/legacy/force_atlas2_test.cu) ################################################################################################### # - STRONGLY CONNECTED COMPONENTS tests ---------------------------------------------------------- -ConfigureTest(SCC_TEST components/scc_test.cu) +#ConfigureTest(SCC_TEST components/scc_test.cu) ################################################################################################### #-Hungarian (Linear Assignment Problem) tests ---------------------------------------------------- -ConfigureTest(HUNGARIAN_TEST linear_assignment/hungarian_test.cu) +#ConfigureTest(HUNGARIAN_TEST linear_assignment/hungarian_test.cu) ################################################################################################### # - MST tests ------------------------------------------------------------------------------------- -ConfigureTest(MST_TEST tree/mst_test.cu) +#ConfigureTest(MST_TEST tree/mst_test.cu) ################################################################################################### # - Stream tests ---------------------------------------------------------------------------------- -ConfigureTest(STREAM_TEST structure/streams.cu) +#ConfigureTest(STREAM_TEST structure/streams.cu) ################################################################################################### # - R-mat graph generation tests ------------------------------------------------------------------ -ConfigureTest(GENERATE_RMAT_TEST generators/generate_rmat_test.cpp) +#ConfigureTest(GENERATE_RMAT_TEST generators/generate_rmat_test.cpp) ################################################################################################### # - Bipartite R-mat graph generation tests -------------------------------------------------------- -ConfigureTest(GENERATE_BIPARTITE_RMAT_TEST generators/generate_bipartite_rmat_test.cpp - GPUS 1 PERCENT 100) +#ConfigureTest(GENERATE_BIPARTITE_RMAT_TEST generators/generate_bipartite_rmat_test.cpp +# GPUS 1 PERCENT 100) ################################################################################################### # - Graph mask tests ------------------------------------------------------------------------------ -ConfigureTest(GRAPH_MASK_TEST structure/graph_mask_test.cpp) +#ConfigureTest(GRAPH_MASK_TEST structure/graph_mask_test.cpp) ################################################################################################### # - Symmetrize tests ------------------------------------------------------------------------------ -ConfigureTest(SYMMETRIZE_TEST structure/symmetrize_test.cpp) +#ConfigureTest(SYMMETRIZE_TEST structure/symmetrize_test.cpp) ################################################################################################### # - Transpose tests ------------------------------------------------------------------------------- -ConfigureTest(TRANSPOSE_TEST structure/transpose_test.cpp) +#ConfigureTest(TRANSPOSE_TEST structure/transpose_test.cpp) ################################################################################################### # - Transpose Storage tests ----------------------------------------------------------------------- -ConfigureTest(TRANSPOSE_STORAGE_TEST structure/transpose_storage_test.cpp) +#ConfigureTest(TRANSPOSE_STORAGE_TEST structure/transpose_storage_test.cpp) ################################################################################################### # - Weight-sum tests ------------------------------------------------------------------------------ -ConfigureTest(WEIGHT_SUM_TEST structure/weight_sum_test.cpp) +#ConfigureTest(WEIGHT_SUM_TEST structure/weight_sum_test.cpp) ################################################################################################### # - Degree tests ---------------------------------------------------------------------------------- -ConfigureTest(DEGREE_TEST structure/degree_test.cpp) +#ConfigureTest(DEGREE_TEST structure/degree_test.cpp) ################################################################################################### # - Count self-loops and multi-edges tests -------------------------------------------------------- -ConfigureTest(COUNT_SELF_LOOPS_AND_MULTI_EDGES_TEST - "structure/count_self_loops_and_multi_edges_test.cpp") +#ConfigureTest(COUNT_SELF_LOOPS_AND_MULTI_EDGES_TEST +# "structure/count_self_loops_and_multi_edges_test.cpp") ################################################################################################### # - Coarsening tests ------------------------------------------------------------------------------ -ConfigureTest(COARSEN_GRAPH_TEST structure/coarsen_graph_test.cpp) +#ConfigureTest(COARSEN_GRAPH_TEST structure/coarsen_graph_test.cpp) ################################################################################################### # - Induced subgraph tests ------------------------------------------------------------------------ -ConfigureTest(INDUCED_SUBGRAPH_TEST structure/induced_subgraph_test.cpp) +#ConfigureTest(INDUCED_SUBGRAPH_TEST structure/induced_subgraph_test.cpp) ################################################################################################### # - BFS tests ------------------------------------------------------------------------------------- @@ -331,12 +331,12 @@ ConfigureTest(BFS_TEST traversal/bfs_test.cpp) ################################################################################################### # - Extract BFS Paths tests ----------------------------------------------------------------------- -ConfigureTest(EXTRACT_BFS_PATHS_TEST - traversal/extract_bfs_paths_test.cu) +#ConfigureTest(EXTRACT_BFS_PATHS_TEST +# traversal/extract_bfs_paths_test.cu) ################################################################################################### # - Multi-source BFS tests ------------------------------------------------------------------------ -ConfigureTest(MSBFS_TEST traversal/ms_bfs_test.cu) +#ConfigureTest(MSBFS_TEST traversal/ms_bfs_test.cu) ################################################################################################### # - SSSP tests ------------------------------------------------------------------------------------ @@ -344,11 +344,11 @@ ConfigureTest(SSSP_TEST traversal/sssp_test.cpp) ################################################################################################### # - OD_SHORTEST_DISTANCES tests ------------------------------------------------------------------- -ConfigureTest(OD_SHORTEST_DISTANCES_TEST traversal/od_shortest_distances_test.cpp) +#ConfigureTest(OD_SHORTEST_DISTANCES_TEST traversal/od_shortest_distances_test.cpp) ################################################################################################### # - HITS tests ------------------------------------------------------------------------------------ -ConfigureTest(HITS_TEST link_analysis/hits_test.cpp) +#ConfigureTest(HITS_TEST link_analysis/hits_test.cpp) ################################################################################################### # - PAGERANK tests -------------------------------------------------------------------------------- @@ -356,76 +356,75 @@ ConfigureTest(PAGERANK_TEST link_analysis/pagerank_test.cpp) ################################################################################################### # - KATZ_CENTRALITY tests ------------------------------------------------------------------------- -ConfigureTest(KATZ_CENTRALITY_TEST centrality/katz_centrality_test.cpp) +#ConfigureTest(KATZ_CENTRALITY_TEST centrality/katz_centrality_test.cpp) ################################################################################################### # - EIGENVECTOR_CENTRALITY tests ------------------------------------------------------------------ -ConfigureTest(EIGENVECTOR_CENTRALITY_TEST centrality/eigenvector_centrality_test.cpp) +#ConfigureTest(EIGENVECTOR_CENTRALITY_TEST centrality/eigenvector_centrality_test.cpp) ################################################################################################### # - BETWEENNESS_CENTRALITY tests ------------------------------------------------------------------ -ConfigureTest(BETWEENNESS_CENTRALITY_TEST centrality/betweenness_centrality_test.cpp) -ConfigureTest(EDGE_BETWEENNESS_CENTRALITY_TEST centrality/edge_betweenness_centrality_test.cpp) +#ConfigureTest(BETWEENNESS_CENTRALITY_TEST centrality/betweenness_centrality_test.cpp) +#ConfigureTest(EDGE_BETWEENNESS_CENTRALITY_TEST centrality/edge_betweenness_centrality_test.cpp) ################################################################################################### # - WEAKLY CONNECTED COMPONENTS tests ------------------------------------------------------------- -ConfigureTest(WEAKLY_CONNECTED_COMPONENTS_TEST components/weakly_connected_components_test.cpp) +#ConfigureTest(WEAKLY_CONNECTED_COMPONENTS_TEST components/weakly_connected_components_test.cpp) ################################################################################################### # - SIMILARITY tests ------------------------------------------------------------------------------ -ConfigureTest(SIMILARITY_TEST link_prediction/similarity_test.cpp) +#ConfigureTest(SIMILARITY_TEST link_prediction/similarity_test.cpp) ################################################################################################### # - WEIGHTED_SIMILARITY tests ------------------------------------------------------------------------------ -ConfigureTest(WEIGHTED_SIMILARITY_TEST link_prediction/weighted_similarity_test.cpp) +#ConfigureTest(WEIGHTED_SIMILARITY_TEST link_prediction/weighted_similarity_test.cpp) ################################################################################################### # - RANDOM_WALKS tests ---------------------------------------------------------------------------- # FIXME: Rename to random_walks_test.cu once the legacy implementation is deleted -ConfigureTest(RANDOM_WALKS_TEST sampling/sg_random_walks_test.cpp) +#ConfigureTest(RANDOM_WALKS_TEST sampling/sg_random_walks_test.cpp) ################################################################################################### # - NBR SAMPLING tests ---------------------------------------------------------------------------- -ConfigureTest(UNIFORM_NEIGHBOR_SAMPLING_TEST sampling/sg_uniform_neighbor_sampling.cu) -target_link_libraries(UNIFORM_NEIGHBOR_SAMPLING_TEST PRIVATE cuco::cuco) +#ConfigureTest(UNIFORM_NEIGHBOR_SAMPLING_TEST sampling/sg_uniform_neighbor_sampling.cu) +#target_link_libraries(UNIFORM_NEIGHBOR_SAMPLING_TEST PRIVATE cuco::cuco) ################################################################################################### # - SAMPLING_POST_PROCESSING tests ---------------------------------------------------------------- -ConfigureTest(SAMPLING_POST_PROCESSING_TEST sampling/sampling_post_processing_test.cu) -target_link_libraries(SAMPLING_POST_PROCESSING_TEST PRIVATE cuco::cuco) +#ConfigureTest(SAMPLING_POST_PROCESSING_TEST sampling/sampling_post_processing_test.cu) +#target_link_libraries(SAMPLING_POST_PROCESSING_TEST PRIVATE cuco::cuco) ################################################################################################### # - Renumber tests -------------------------------------------------------------------------------- -ConfigureTest(RENUMBERING_TEST structure/renumbering_test.cpp) +#ConfigureTest(RENUMBERING_TEST structure/renumbering_test.cpp) ################################################################################################### # - Core Number tests ----------------------------------------------------------------------------- -ConfigureTest(CORE_NUMBER_TEST cores/core_number_test.cpp) +#ConfigureTest(CORE_NUMBER_TEST cores/core_number_test.cpp) ################################################################################################### # - Core Number tests ----------------------------------------------------------------------------- -ConfigureTest(K_CORE_TEST cores/k_core_test.cpp) +#ConfigureTest(K_CORE_TEST cores/k_core_test.cpp) ################################################################################################### # - Triangle Count tests -------------------------------------------------------------------------- -ConfigureTest(TRIANGLE_COUNT_TEST community/triangle_count_test.cpp) +#ConfigureTest(TRIANGLE_COUNT_TEST community/triangle_count_test.cpp) ################################################################################################### # - K-hop Neighbors tests ------------------------------------------------------------------------- -ConfigureTest(K_HOP_NBRS_TEST traversal/k_hop_nbrs_test.cpp) - +#ConfigureTest(K_HOP_NBRS_TEST traversal/k_hop_nbrs_test.cpp) ################################################################################################### # - install tests --------------------------------------------------------------------------------- -rapids_test_install_relocatable(INSTALL_COMPONENT_SET testing DESTINATION bin/gtests/libcugraph) +#rapids_test_install_relocatable(INSTALL_COMPONENT_SET testing DESTINATION bin/gtests/libcugraph) ################################################################################################### # - MTMG tests ------------------------------------------------------------------------- -ConfigureTest(MTMG_TEST mtmg/threaded_test.cu) -target_link_libraries(MTMG_TEST - PRIVATE - UCP::UCP - ) +#ConfigureTest(MTMG_TEST mtmg/threaded_test.cu) +#target_link_libraries(MTMG_TEST +# PRIVATE +# UCP::UCP +# ) ################################################################################################### # - MG tests -------------------------------------------------------------------------------------- @@ -439,8 +438,8 @@ if(BUILD_CUGRAPH_MG_TESTS) utilities/device_comm_wrapper.cu utilities/mg_utilities.cpp utilities/test_utilities_mg.cu - sampling/random_walks_check_mg.cu - c_api/mg_test_utils.cpp +# sampling/random_walks_check_mg.cu +# c_api/mg_test_utils.cpp ) set_property(TARGET cugraphmgtestutil PROPERTY POSITION_INDEPENDENT_CODE ON) @@ -475,20 +474,20 @@ if(BUILD_CUGRAPH_MG_TESTS) ############################################################################################### # - MG SYMMETRIZE tests ----------------------------------------------------------------------- - ConfigureTestMG(MG_SYMMETRIZE_TEST structure/mg_symmetrize_test.cpp) +# ConfigureTestMG(MG_SYMMETRIZE_TEST structure/mg_symmetrize_test.cpp) ############################################################################################### # - MG Transpose tests ------------------------------------------------------------------------ - ConfigureTestMG(MG_TRANSPOSE_TEST structure/mg_transpose_test.cpp) +# ConfigureTestMG(MG_TRANSPOSE_TEST structure/mg_transpose_test.cpp) ############################################################################################### # - MG Transpose Storage tests ---------------------------------------------------------------- - ConfigureTestMG(MG_TRANSPOSE_STORAGE_TEST structure/mg_transpose_storage_test.cpp) +# ConfigureTestMG(MG_TRANSPOSE_STORAGE_TEST structure/mg_transpose_storage_test.cpp) ############################################################################################### # - MG Count self-loops and multi-edges tests ------------------------------------------------- - ConfigureTestMG(MG_COUNT_SELF_LOOPS_AND_MULTI_EDGES_TEST - "structure/mg_count_self_loops_and_multi_edges_test.cpp") +# ConfigureTestMG(MG_COUNT_SELF_LOOPS_AND_MULTI_EDGES_TEST +# "structure/mg_count_self_loops_and_multi_edges_test.cpp") ############################################################################################### # - MG PAGERANK tests ------------------------------------------------------------------------- @@ -496,20 +495,20 @@ if(BUILD_CUGRAPH_MG_TESTS) ############################################################################################### # - MG HITS tests ----------------------------------------------------------------------------- - ConfigureTestMG(MG_HITS_TEST link_analysis/mg_hits_test.cpp) +# ConfigureTestMG(MG_HITS_TEST link_analysis/mg_hits_test.cpp) ############################################################################################### # - MG KATZ CENTRALITY tests ------------------------------------------------------------------ - ConfigureTestMG(MG_KATZ_CENTRALITY_TEST centrality/mg_katz_centrality_test.cpp) +# ConfigureTestMG(MG_KATZ_CENTRALITY_TEST centrality/mg_katz_centrality_test.cpp) ############################################################################################### # - MG EIGENVECTOR CENTRALITY tests ----------------------------------------------------------- - ConfigureTestMG(MG_EIGENVECTOR_CENTRALITY_TEST centrality/mg_eigenvector_centrality_test.cpp) +# ConfigureTestMG(MG_EIGENVECTOR_CENTRALITY_TEST centrality/mg_eigenvector_centrality_test.cpp) ############################################################################################### # - MG BETWEENNESS CENTRALITY tests ----------------------------------------------------------- - ConfigureTestMG(MG_BETWEENNESS_CENTRALITY_TEST centrality/mg_betweenness_centrality_test.cpp) - ConfigureTestMG(MG_EDGE_BETWEENNESS_CENTRALITY_TEST centrality/mg_edge_betweenness_centrality_test.cpp) +# ConfigureTestMG(MG_BETWEENNESS_CENTRALITY_TEST centrality/mg_betweenness_centrality_test.cpp) +# ConfigureTestMG(MG_EDGE_BETWEENNESS_CENTRALITY_TEST centrality/mg_edge_betweenness_centrality_test.cpp) ############################################################################################### # - MG BFS tests ------------------------------------------------------------------------------ @@ -517,8 +516,8 @@ if(BUILD_CUGRAPH_MG_TESTS) ############################################################################################### # - Extract BFS Paths tests ------------------------------------------------------------------- - ConfigureTestMG(MG_EXTRACT_BFS_PATHS_TEST - traversal/mg_extract_bfs_paths_test.cu) +# ConfigureTestMG(MG_EXTRACT_BFS_PATHS_TEST +# traversal/mg_extract_bfs_paths_test.cu) ############################################################################################### # - MG SSSP tests ----------------------------------------------------------------------------- @@ -526,221 +525,163 @@ if(BUILD_CUGRAPH_MG_TESTS) ############################################################################################### # - MG LOUVAIN tests -------------------------------------------------------------------------- - ConfigureTestMG(MG_LOUVAIN_TEST community/mg_louvain_test.cpp) +# ConfigureTestMG(MG_LOUVAIN_TEST community/mg_louvain_test.cpp) ############################################################################################### # - MG LEIDEN tests -------------------------------------------------------------------------- - ConfigureTestMG(MG_LEIDEN_TEST community/mg_leiden_test.cpp) +# ConfigureTestMG(MG_LEIDEN_TEST community/mg_leiden_test.cpp) ############################################################################################### # - MG MIS tests ------------------------------------------------------------------------------ - ConfigureTestMG(MG_MIS_TEST community/mg_mis_test.cu) +# ConfigureTestMG(MG_MIS_TEST community/mg_mis_test.cu) ############################################################################################### # - MG SELECT RANDOM VERTICES tests ----------------------------------------------------------- - ConfigureTestMG(MG_SELECT_RANDOM_VERTICES structure/mg_select_random_vertices_test.cpp) +# ConfigureTestMG(MG_SELECT_RANDOM_VERTICES structure/mg_select_random_vertices_test.cpp) ############################################################################################### # - MG LOUVAIN tests -------------------------------------------------------------------------- - ConfigureTestMG(MG_EGO_TEST community/mg_egonet_test.cu) +# ConfigureTestMG(MG_EGO_TEST community/mg_egonet_test.cu) ############################################################################################### # - MG WEAKLY CONNECTED COMPONENTS tests ------------------------------------------------------ - ConfigureTestMG(MG_WEAKLY_CONNECTED_COMPONENTS_TEST - components/mg_weakly_connected_components_test.cpp) +# ConfigureTestMG(MG_WEAKLY_CONNECTED_COMPONENTS_TEST +# components/mg_weakly_connected_components_test.cpp) ############################################################################################### # - MG Core Number tests ---------------------------------------------------------------------- - ConfigureTestMG(MG_CORE_NUMBER_TEST cores/mg_core_number_test.cpp) +# ConfigureTestMG(MG_CORE_NUMBER_TEST cores/mg_core_number_test.cpp) ############################################################################################### # - MG K Core tests --------------------------------------------------------------------------- - ConfigureTestMG(MG_K_CORE_TEST cores/mg_k_core_test.cpp) +# ConfigureTestMG(MG_K_CORE_TEST cores/mg_k_core_test.cpp) ############################################################################################### # - MG TRIANGLE COUNT tests ------------------------------------------------------------------- - ConfigureTestMG(MG_TRIANGLE_COUNT_TEST community/mg_triangle_count_test.cpp) +# ConfigureTestMG(MG_TRIANGLE_COUNT_TEST community/mg_triangle_count_test.cpp) ############################################################################################### # - MG INDUCED SUBGRAPH tests ----------------------------------------------------------------- - ConfigureTestMG(MG_INDUCED_SUBGRAPH_TEST structure/mg_induced_subgraph_test.cu) +# ConfigureTestMG(MG_INDUCED_SUBGRAPH_TEST structure/mg_induced_subgraph_test.cu) ############################################################################################### # - MG PRIMS COUNT_IF_V tests ----------------------------------------------------------------- - ConfigureTestMG(MG_COUNT_IF_V_TEST prims/mg_count_if_v.cu) - target_link_libraries(MG_COUNT_IF_V_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_COUNT_IF_V_TEST prims/mg_count_if_v.cu) +# target_link_libraries(MG_COUNT_IF_V_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS TRANSFORM_REDUCE_V_FRONTIER_OUTGOING_E_BY_DST tests ------------------------------ - ConfigureTestMG(MG_TRANSFORM_REDUCE_V_FRONTIER_OUTGOING_E_BY_DST_TEST - prims/mg_transform_reduce_v_frontier_outgoing_e_by_dst.cu) - target_link_libraries(MG_TRANSFORM_REDUCE_V_FRONTIER_OUTGOING_E_BY_DST_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_TRANSFORM_REDUCE_V_FRONTIER_OUTGOING_E_BY_DST_TEST +# prims/mg_transform_reduce_v_frontier_outgoing_e_by_dst.cu) +# target_link_libraries(MG_TRANSFORM_REDUCE_V_FRONTIER_OUTGOING_E_BY_DST_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS REDUCE_V tests ------------------------------------------------------------------- - ConfigureTestMG(MG_REDUCE_V_TEST prims/mg_reduce_v.cu) - target_link_libraries(MG_REDUCE_V_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_REDUCE_V_TEST prims/mg_reduce_v.cu) +# target_link_libraries(MG_REDUCE_V_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS TRANSFORM_REDUCE_V tests --------------------------------------------------------- - ConfigureTestMG(MG_TRANSFORM_REDUCE_V_TEST prims/mg_transform_reduce_v.cu) - target_link_libraries(MG_TRANSFORM_REDUCE_V_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_TRANSFORM_REDUCE_V_TEST prims/mg_transform_reduce_v.cu) +# target_link_libraries(MG_TRANSFORM_REDUCE_V_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS TRANSFORM_REDUCE_E tests --------------------------------------------------------- - ConfigureTestMG(MG_TRANSFORM_REDUCE_E_TEST prims/mg_transform_reduce_e.cu) - target_link_libraries(MG_TRANSFORM_REDUCE_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_TRANSFORM_REDUCE_E_TEST prims/mg_transform_reduce_e.cu) +# target_link_libraries(MG_TRANSFORM_REDUCE_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS TRANSFORM_E tests ---------------------------------------------------------------- - ConfigureTestMG(MG_TRANSFORM_E_TEST prims/mg_transform_e.cu) - target_link_libraries(MG_TRANSFORM_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_TRANSFORM_E_TEST prims/mg_transform_e.cu) +# target_link_libraries(MG_TRANSFORM_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS COUNT_IF_E tests ----------------------------------------------------------------- - ConfigureTestMG(MG_COUNT_IF_E_TEST prims/mg_count_if_e.cu) - target_link_libraries(MG_COUNT_IF_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_COUNT_IF_E_TEST prims/mg_count_if_e.cu) +# target_link_libraries(MG_COUNT_IF_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS PER_V_TRANSFORM_REDUCE_INCOMING_OUTGOING_E tests --------------------------------- - ConfigureTestMG(MG_PER_V_TRANSFORM_REDUCE_INCOMING_OUTGOING_E_TEST - prims/mg_per_v_transform_reduce_incoming_outgoing_e.cu) - target_link_libraries(MG_PER_V_TRANSFORM_REDUCE_INCOMING_OUTGOING_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_PER_V_TRANSFORM_REDUCE_INCOMING_OUTGOING_E_TEST +# prims/mg_per_v_transform_reduce_incoming_outgoing_e.cu) +# target_link_libraries(MG_PER_V_TRANSFORM_REDUCE_INCOMING_OUTGOING_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS EXTRACT_TRANSFORM_E tests -------------------------------------------------------- - ConfigureTestMG(MG_EXTRACT_TRANSFORM_E_TEST prims/mg_extract_transform_e.cu) - target_link_libraries(MG_EXTRACT_TRANSFORM_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_EXTRACT_TRANSFORM_E_TEST prims/mg_extract_transform_e.cu) +# target_link_libraries(MG_EXTRACT_TRANSFORM_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS EXTRACT_TRANSFORM_V_FRONTIER_OUTGOING_E tests ------------------------------------ - ConfigureTestMG(MG_EXTRACT_TRANSFORM_V_FRONTIER_OUTGOING_E_TEST - prims/mg_extract_transform_v_frontier_outgoing_e.cu) - target_link_libraries(MG_EXTRACT_TRANSFORM_V_FRONTIER_OUTGOING_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_EXTRACT_TRANSFORM_V_FRONTIER_OUTGOING_E_TEST +# prims/mg_extract_transform_v_frontier_outgoing_e.cu) +# target_link_libraries(MG_EXTRACT_TRANSFORM_V_FRONTIER_OUTGOING_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS PER_V_RANDOM_SELECT_TRANSFORM_OUTGOING_E tests ----------------------------------- - ConfigureTestMG(MG_PER_V_RANDOM_SELECT_TRANSFORM_OUTGOING_E_TEST - prims/mg_per_v_random_select_transform_outgoing_e.cu) - target_link_libraries(MG_PER_V_RANDOM_SELECT_TRANSFORM_OUTGOING_E_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_PER_V_RANDOM_SELECT_TRANSFORM_OUTGOING_E_TEST +# prims/mg_per_v_random_select_transform_outgoing_e.cu) +# target_link_libraries(MG_PER_V_RANDOM_SELECT_TRANSFORM_OUTGOING_E_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS PER_V_PAIR_TRANSFORM_DST_NBR_INTERSECTION tests ---------------------------------- - ConfigureTestMG(MG_PER_V_PAIR_TRANSFORM_DST_NBR_INTERSECTION_TEST - prims/mg_per_v_pair_transform_dst_nbr_intersection.cu) - target_link_libraries(MG_PER_V_PAIR_TRANSFORM_DST_NBR_INTERSECTION_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_PER_V_PAIR_TRANSFORM_DST_NBR_INTERSECTION_TEST +# prims/mg_per_v_pair_transform_dst_nbr_intersection.cu) +# target_link_libraries(MG_PER_V_PAIR_TRANSFORM_DST_NBR_INTERSECTION_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG PRIMS PER_V_PAIR_TRANSFORM_DST_NBR_WEIGHTED_INTERSECTION tests ------------------------- - ConfigureTestMG(MG_PER_V_PAIR_TRANSFORM_DST_NBR_WEIGHTED_INTERSECTION_TEST - prims/mg_per_v_pair_transform_dst_nbr_weighted_intersection.cu) - target_link_libraries(MG_PER_V_PAIR_TRANSFORM_DST_NBR_WEIGHTED_INTERSECTION_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_PER_V_PAIR_TRANSFORM_DST_NBR_WEIGHTED_INTERSECTION_TEST +# prims/mg_per_v_pair_transform_dst_nbr_weighted_intersection.cu) +# target_link_libraries(MG_PER_V_PAIR_TRANSFORM_DST_NBR_WEIGHTED_INTERSECTION_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG NBR SAMPLING tests --------------------------------------------------------------------- - ConfigureTestMG(MG_UNIFORM_NEIGHBOR_SAMPLING_TEST sampling/mg_uniform_neighbor_sampling.cu) - target_link_libraries(MG_UNIFORM_NEIGHBOR_SAMPLING_TEST PRIVATE cuco::cuco) +# ConfigureTestMG(MG_UNIFORM_NEIGHBOR_SAMPLING_TEST sampling/mg_uniform_neighbor_sampling.cu) +# target_link_libraries(MG_UNIFORM_NEIGHBOR_SAMPLING_TEST PRIVATE cuco::cuco) ############################################################################################### # - MG RANDOM_WALKS tests --------------------------------------------------------------------- - ConfigureTestMG(MG_RANDOM_WALKS_TEST sampling/mg_random_walks_test.cpp) +# ConfigureTestMG(MG_RANDOM_WALKS_TEST sampling/mg_random_walks_test.cpp) ############################################################################################### # - MG WEIGHTED_SIMILARITY tests ----------------------------------------------------------------------- - ConfigureTestMG(MG_WEIGHTED_SIMILARITY_TEST link_prediction/mg_weighted_similarity_test.cpp) +# ConfigureTestMG(MG_WEIGHTED_SIMILARITY_TEST link_prediction/mg_weighted_similarity_test.cpp) ############################################################################################### # - MG SIMILARITY tests ----------------------------------------------------------------------- - ConfigureTestMG(MG_SIMILARITY_TEST link_prediction/mg_similarity_test.cpp) +# ConfigureTestMG(MG_SIMILARITY_TEST link_prediction/mg_similarity_test.cpp) ############################################################################################### # - MG K_HOP_NBRS tests ----------------------------------------------------------------------- - ConfigureTestMG(MG_K_HOP_NBRS_TEST traversal/mg_k_hop_nbrs_test.cpp) +# ConfigureTestMG(MG_K_HOP_NBRS_TEST traversal/mg_k_hop_nbrs_test.cpp) ############################################################################################### # - MG C API tests ---------------------------------------------------------------------------- - ConfigureCTestMG(MG_CAPI_CREATE_GRAPH_TEST c_api/mg_create_graph_test.c) - ConfigureCTestMG(MG_CAPI_GENERATE_RMAT_TEST c_api/mg_generate_rmat_test.c) - ConfigureCTestMG(MG_CAPI_PAGERANK_TEST c_api/mg_pagerank_test.c) - ConfigureCTestMG(MG_CAPI_BFS_TEST c_api/mg_bfs_test.c) - ConfigureCTestMG(MG_CAPI_SSSP_TEST c_api/mg_sssp_test.c) - ConfigureCTestMG(MG_CAPI_WEAKLY_CONNECTED_COMPONENTS_TEST c_api/mg_weakly_connected_components_test.c) - ConfigureCTestMG(MG_CAPI_STRONGLY_CONNECTED_COMPONENTS_TEST c_api/mg_strongly_connected_components_test.c) - ConfigureCTestMG(MG_CAPI_KATZ_TEST c_api/mg_katz_test.c) - ConfigureCTestMG(MG_CAPI_EIGENVECTOR_CENTRALITY_TEST c_api/mg_eigenvector_centrality_test.c) - ConfigureCTestMG(MG_CAPI_BETWEENNESS_CENTRALITY_TEST c_api/mg_betweenness_centrality_test.c) - ConfigureCTestMG(MG_CAPI_EDGE_BETWEENNESS_CENTRALITY_TEST c_api/mg_edge_betweenness_centrality_test.c) - ConfigureCTestMG(MG_CAPI_HITS_TEST c_api/mg_hits_test.c) - ConfigureCTestMG(MG_CAPI_UNIFORM_NEIGHBOR_SAMPLE_TEST c_api/mg_uniform_neighbor_sample_test.c) - ConfigureCTestMG(MG_CAPI_RANDOM_WALKS_TEST c_api/mg_random_walks_test.c) - ConfigureCTestMG(MG_CAPI_TRIANGLE_COUNT_TEST c_api/mg_triangle_count_test.c) - ConfigureCTestMG(MG_CAPI_LOUVAIN_TEST c_api/mg_louvain_test.c) - ConfigureCTestMG(MG_CAPI_LEIDEN_TEST c_api/mg_leiden_test.c) - ConfigureCTestMG(MG_CAPI_CORE_NUMBER_TEST c_api/mg_core_number_test.c) - ConfigureCTestMG(MG_CAPI_SIMILARITY_TEST c_api/mg_similarity_test.c) - ConfigureCTestMG(MG_CAPI_K_CORE_TEST c_api/mg_k_core_test.c) - ConfigureCTestMG(MG_CAPI_INDUCED_SUBGRAPH_TEST c_api/mg_induced_subgraph_test.c) - ConfigureCTestMG(MG_CAPI_EGONET_TEST c_api/mg_egonet_test.c) - ConfigureCTestMG(MG_CAPI_TWO_HOP_NEIGHBORS_TEST c_api/mg_two_hop_neighbors_test.c) +# ConfigureCTestMG(MG_CAPI_CREATE_GRAPH_TEST c_api/mg_create_graph_test.c) +# ConfigureCTestMG(MG_CAPI_GENERATE_RMAT_TEST c_api/mg_generate_rmat_test.c) +# ConfigureCTestMG(MG_CAPI_PAGERANK_TEST c_api/mg_pagerank_test.c) +# ConfigureCTestMG(MG_CAPI_BFS_TEST c_api/mg_bfs_test.c) +# ConfigureCTestMG(MG_CAPI_SSSP_TEST c_api/mg_sssp_test.c) +# ConfigureCTestMG(MG_CAPI_WEAKLY_CONNECTED_COMPONENTS_TEST c_api/mg_weakly_connected_components_test.c) +# ConfigureCTestMG(MG_CAPI_STRONGLY_CONNECTED_COMPONENTS_TEST c_api/mg_strongly_connected_components_test.c) +# ConfigureCTestMG(MG_CAPI_KATZ_TEST c_api/mg_katz_test.c) +# ConfigureCTestMG(MG_CAPI_EIGENVECTOR_CENTRALITY_TEST c_api/mg_eigenvector_centrality_test.c) +# ConfigureCTestMG(MG_CAPI_BETWEENNESS_CENTRALITY_TEST c_api/mg_betweenness_centrality_test.c) +# ConfigureCTestMG(MG_CAPI_EDGE_BETWEENNESS_CENTRALITY_TEST c_api/mg_edge_betweenness_centrality_test.c) +# ConfigureCTestMG(MG_CAPI_HITS_TEST c_api/mg_hits_test.c) +# ConfigureCTestMG(MG_CAPI_UNIFORM_NEIGHBOR_SAMPLE_TEST c_api/mg_uniform_neighbor_sample_test.c) +# ConfigureCTestMG(MG_CAPI_RANDOM_WALKS_TEST c_api/mg_random_walks_test.c) +# ConfigureCTestMG(MG_CAPI_TRIANGLE_COUNT_TEST c_api/mg_triangle_count_test.c) +# ConfigureCTestMG(MG_CAPI_LOUVAIN_TEST c_api/mg_louvain_test.c) +# ConfigureCTestMG(MG_CAPI_LEIDEN_TEST c_api/mg_leiden_test.c) +# ConfigureCTestMG(MG_CAPI_CORE_NUMBER_TEST c_api/mg_core_number_test.c) +# ConfigureCTestMG(MG_CAPI_SIMILARITY_TEST c_api/mg_similarity_test.c) +# ConfigureCTestMG(MG_CAPI_K_CORE_TEST c_api/mg_k_core_test.c) +# ConfigureCTestMG(MG_CAPI_INDUCED_SUBGRAPH_TEST c_api/mg_induced_subgraph_test.c) +# ConfigureCTestMG(MG_CAPI_EGONET_TEST c_api/mg_egonet_test.c) +# ConfigureCTestMG(MG_CAPI_TWO_HOP_NEIGHBORS_TEST c_api/mg_two_hop_neighbors_test.c) rapids_test_install_relocatable(INSTALL_COMPONENT_SET testing_mg DESTINATION bin/gtests/libcugraph_mg) endif() -################################################################################################### -# - C API tests ----------------------------------------------------------------------------------- - -################################################################################################### -# - common C API test utils ----------------------------------------------------------------------- - -add_library(cugraph_c_testutil STATIC - c_api/test_utils.cpp) - -target_compile_options(cugraph_c_testutil - PUBLIC "$<$:${CUGRAPH_CXX_FLAGS}>" - "$:${CUGRAPH_CUDA_FLAGS}>>" -) - -set_property(TARGET cugraph_c_testutil PROPERTY POSITION_INDEPENDENT_CODE ON) - -target_include_directories(cugraph_c_testutil - PUBLIC - "${CMAKE_CURRENT_SOURCE_DIR}" - "${CUGRAPH_SOURCE_DIR}/src" -) - -target_link_libraries(cugraph_c_testutil - PUBLIC - cugraph -) - - -ConfigureCTest(CAPI_CREATE_GRAPH_TEST c_api/create_graph_test.c) -ConfigureCTest(CAPI_GENERATE_RMAT_TEST c_api/generate_rmat_test.c) -ConfigureCTest(CAPI_PAGERANK_TEST c_api/pagerank_test.c) -ConfigureCTest(CAPI_KATZ_TEST c_api/katz_test.c) -ConfigureCTest(CAPI_EIGENVECTOR_CENTRALITY_TEST c_api/eigenvector_centrality_test.c) -ConfigureCTest(CAPI_BETWEENNESS_CENTRALITY_TEST c_api/betweenness_centrality_test.c) -ConfigureCTest(CAPI_EDGE_BETWEENNESS_CENTRALITY_TEST c_api/edge_betweenness_centrality_test.c) -ConfigureCTest(CAPI_HITS_TEST c_api/hits_test.c) -ConfigureCTest(CAPI_BFS_TEST c_api/bfs_test.c) -ConfigureCTest(CAPI_SSSP_TEST c_api/sssp_test.c) -ConfigureCTest(CAPI_EXTRACT_PATHS_TEST c_api/extract_paths_test.c) -ConfigureCTest(CAPI_NODE2VEC_TEST c_api/node2vec_test.c) -ConfigureCTest(CAPI_WEAKLY_CONNECTED_COMPONENTS_TEST c_api/weakly_connected_components_test.c) -ConfigureCTest(CAPI_STRONGLY_CONNECTED_COMPONENTS_TEST c_api/strongly_connected_components_test.c) -ConfigureCTest(CAPI_UNIFORM_NEIGHBOR_SAMPLE_TEST c_api/uniform_neighbor_sample_test.c) -ConfigureCTest(CAPI_RANDOM_WALKS_TEST c_api/sg_random_walks_test.c) -ConfigureCTest(CAPI_TRIANGLE_COUNT_TEST c_api/triangle_count_test.c) -ConfigureCTest(CAPI_LOUVAIN_TEST c_api/louvain_test.c) -ConfigureCTest(CAPI_LEIDEN_TEST c_api/leiden_test.c) -ConfigureCTest(CAPI_LEGACY_SPECTRAL_TEST c_api/legacy_spectral_test.c) -ConfigureCTest(CAPI_LEGACY_ECG_TEST c_api/legacy_ecg_test.c) -ConfigureCTest(CAPI_CORE_NUMBER_TEST c_api/core_number_test.c) -ConfigureCTest(CAPI_SIMILARITY_TEST c_api/similarity_test.c) -ConfigureCTest(CAPI_K_CORE_TEST c_api/k_core_test.c) -ConfigureCTest(CAPI_INDUCED_SUBGRAPH_TEST c_api/induced_subgraph_test.c) -ConfigureCTest(CAPI_EGONET_TEST c_api/egonet_test.c) -ConfigureCTest(CAPI_TWO_HOP_NEIGHBORS_TEST c_api/two_hop_neighbors_test.c) -ConfigureCTest(CAPI_LEGACY_K_TRUSS_TEST c_api/legacy_k_truss_test.c) - -rapids_test_install_relocatable(INSTALL_COMPONENT_SET testing_c DESTINATION bin/gtests/libcugraph_c) diff --git a/cpp/tests/link_analysis/mg_pagerank_test.cpp b/cpp/tests/link_analysis/mg_pagerank_test.cpp index 922a6ff2781..99467acb249 100644 --- a/cpp/tests/link_analysis/mg_pagerank_test.cpp +++ b/cpp/tests/link_analysis/mg_pagerank_test.cpp @@ -252,29 +252,8 @@ class Tests_MGPageRank template std::unique_ptr Tests_MGPageRank::handle_ = nullptr; -using Tests_MGPageRank_File = Tests_MGPageRank; using Tests_MGPageRank_Rmat = Tests_MGPageRank; -TEST_P(Tests_MGPageRank_File, CheckInt32Int32FloatFloat) -{ - auto param = GetParam(); - run_current_test(std::get<0>(param), std::get<1>(param)); -} - -TEST_P(Tests_MGPageRank_Rmat, CheckInt32Int32FloatFloat) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - -TEST_P(Tests_MGPageRank_Rmat, CheckInt32Int64FloatFloat) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - TEST_P(Tests_MGPageRank_Rmat, CheckInt64Int64FloatFloat) { auto param = GetParam(); @@ -282,20 +261,6 @@ TEST_P(Tests_MGPageRank_Rmat, CheckInt64Int64FloatFloat) std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); } -INSTANTIATE_TEST_SUITE_P( - file_tests, - Tests_MGPageRank_File, - ::testing::Combine( - // enable correctness checks - ::testing::Values(PageRank_Usecase{0.0, false}, - PageRank_Usecase{0.5, false}, - PageRank_Usecase{0.0, true}, - PageRank_Usecase{0.5, true}), - ::testing::Values(cugraph::test::File_Usecase("karate.csv"), - cugraph::test::File_Usecase("test/datasets/web-Google.mtx"), - cugraph::test::File_Usecase("test/datasets/ljournal-2008.mtx"), - cugraph::test::File_Usecase("test/datasets/webbase-1M.mtx")))); - INSTANTIATE_TEST_SUITE_P(rmat_small_tests, Tests_MGPageRank_Rmat, ::testing::Combine(::testing::Values(PageRank_Usecase{0.0, false}, diff --git a/cpp/tests/link_analysis/pagerank_test.cpp b/cpp/tests/link_analysis/pagerank_test.cpp index 0354b69b8a8..6e531682847 100644 --- a/cpp/tests/link_analysis/pagerank_test.cpp +++ b/cpp/tests/link_analysis/pagerank_test.cpp @@ -356,45 +356,14 @@ class Tests_PageRank } }; -using Tests_PageRank_File = Tests_PageRank; using Tests_PageRank_Rmat = Tests_PageRank; -// FIXME: add tests for type combinations -TEST_P(Tests_PageRank_File, CheckInt32Int32FloatFloat) -{ - run_current_test( - override_File_Usecase_with_cmd_line_arguments(GetParam())); -} - -TEST_P(Tests_PageRank_Rmat, CheckInt32Int32FloatFloat) -{ - run_current_test( - override_Rmat_Usecase_with_cmd_line_arguments(GetParam())); -} - -TEST_P(Tests_PageRank_File, CheckInt32Int64FloatFloat) -{ - run_current_test( - override_File_Usecase_with_cmd_line_arguments(GetParam())); -} - TEST_P(Tests_PageRank_Rmat, CheckInt64Int64FloatFloat) { run_current_test( override_Rmat_Usecase_with_cmd_line_arguments(GetParam())); } -INSTANTIATE_TEST_SUITE_P(file_test, - Tests_PageRank_File, - ::testing::Combine( - // enable correctness checks - ::testing::Values(PageRank_Usecase{0.0, false}, - PageRank_Usecase{0.5, false}, - PageRank_Usecase{0.0, true}, - PageRank_Usecase{0.5, true}), - ::testing::Values(cugraph::test::File_Usecase("karate.csv"), - cugraph::test::File_Usecase("dolphins.csv")))); - INSTANTIATE_TEST_SUITE_P( rmat_small_test, Tests_PageRank_Rmat, @@ -406,21 +375,6 @@ INSTANTIATE_TEST_SUITE_P( PageRank_Usecase{0.5, true}), ::testing::Values(cugraph::test::Rmat_Usecase(10, 16, 0.57, 0.19, 0.19, 0, false, false)))); -INSTANTIATE_TEST_SUITE_P( - file_benchmark_test, /* note that the test filename can be overridden in benchmarking (with - --gtest_filter to select only the file_benchmark_test with a specific - vertex & edge type combination) by command line arguments and do not - include more than one File_Usecase that differ only in filename - (to avoid running same benchmarks more than once) */ - Tests_PageRank_File, - ::testing::Combine( - // disable correctness checks - ::testing::Values(PageRank_Usecase{0.0, false, false}, - PageRank_Usecase{0.5, false, false}, - PageRank_Usecase{0.0, true, false}, - PageRank_Usecase{0.5, true, false}), - ::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx")))); - INSTANTIATE_TEST_SUITE_P( rmat_benchmark_test, /* note that scale & edge factor can be overridden in benchmarking (with --gtest_filter to select only the rmat_benchmark_test with a specific diff --git a/cpp/tests/traversal/bfs_test.cpp b/cpp/tests/traversal/bfs_test.cpp index 7f084c49902..c62c70f69b0 100644 --- a/cpp/tests/traversal/bfs_test.cpp +++ b/cpp/tests/traversal/bfs_test.cpp @@ -233,29 +233,9 @@ class Tests_BFS : public ::testing::TestWithParam; using Tests_BFS_Rmat = Tests_BFS; // FIXME: add tests for type combinations -TEST_P(Tests_BFS_File, CheckInt32Int32) -{ - auto param = GetParam(); - run_current_test(std::get<0>(param), std::get<1>(param)); -} - -TEST_P(Tests_BFS_Rmat, CheckInt32Int32) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - -TEST_P(Tests_BFS_Rmat, CheckInt32Int64) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} TEST_P(Tests_BFS_Rmat, CheckInt64Int64) { @@ -264,19 +244,6 @@ TEST_P(Tests_BFS_Rmat, CheckInt64Int64) std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); } -INSTANTIATE_TEST_SUITE_P( - file_test, - Tests_BFS_File, - ::testing::Values( - // enable correctness checks - std::make_tuple(BFS_Usecase{0}, cugraph::test::File_Usecase("test/datasets/karate.mtx")), - std::make_tuple(BFS_Usecase{0}, cugraph::test::File_Usecase("test/datasets/polbooks.mtx")), - std::make_tuple(BFS_Usecase{0}, cugraph::test::File_Usecase("test/datasets/netscience.mtx")), - std::make_tuple(BFS_Usecase{100}, cugraph::test::File_Usecase("test/datasets/netscience.mtx")), - std::make_tuple(BFS_Usecase{1000}, cugraph::test::File_Usecase("test/datasets/wiki2003.mtx")), - std::make_tuple(BFS_Usecase{1000}, - cugraph::test::File_Usecase("test/datasets/wiki-Talk.mtx")))); - INSTANTIATE_TEST_SUITE_P( rmat_small_test, Tests_BFS_Rmat, diff --git a/cpp/tests/traversal/mg_bfs_test.cpp b/cpp/tests/traversal/mg_bfs_test.cpp index aac231f633f..4cdcb46c7ae 100644 --- a/cpp/tests/traversal/mg_bfs_test.cpp +++ b/cpp/tests/traversal/mg_bfs_test.cpp @@ -250,29 +250,8 @@ class Tests_MGBFS : public ::testing::TestWithParam std::unique_ptr Tests_MGBFS::handle_ = nullptr; -using Tests_MGBFS_File = Tests_MGBFS; using Tests_MGBFS_Rmat = Tests_MGBFS; -TEST_P(Tests_MGBFS_File, CheckInt32Int32) -{ - auto param = GetParam(); - run_current_test(std::get<0>(param), std::get<1>(param)); -} - -TEST_P(Tests_MGBFS_Rmat, CheckInt32Int32) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - -TEST_P(Tests_MGBFS_Rmat, CheckInt32Int64) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - TEST_P(Tests_MGBFS_Rmat, CheckInt64Int64) { auto param = GetParam(); @@ -280,17 +259,6 @@ TEST_P(Tests_MGBFS_Rmat, CheckInt64Int64) std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); } -INSTANTIATE_TEST_SUITE_P( - file_test, - Tests_MGBFS_File, - ::testing::Combine( - // enable correctness checks - ::testing::Values(BFS_Usecase{0}), - ::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"), - cugraph::test::File_Usecase("test/datasets/web-Google.mtx"), - cugraph::test::File_Usecase("test/datasets/ljournal-2008.mtx"), - cugraph::test::File_Usecase("test/datasets/webbase-1M.mtx")))); - INSTANTIATE_TEST_SUITE_P( rmat_small_test, Tests_MGBFS_Rmat, diff --git a/cpp/tests/traversal/mg_sssp_test.cpp b/cpp/tests/traversal/mg_sssp_test.cpp index ea0353c3743..170d8ef134b 100644 --- a/cpp/tests/traversal/mg_sssp_test.cpp +++ b/cpp/tests/traversal/mg_sssp_test.cpp @@ -256,29 +256,8 @@ class Tests_MGSSSP : public ::testing::TestWithParam std::unique_ptr Tests_MGSSSP::handle_ = nullptr; -using Tests_MGSSSP_File = Tests_MGSSSP; using Tests_MGSSSP_Rmat = Tests_MGSSSP; -TEST_P(Tests_MGSSSP_File, CheckInt32Int32Float) -{ - auto param = GetParam(); - run_current_test(std::get<0>(param), std::get<1>(param)); -} - -TEST_P(Tests_MGSSSP_Rmat, CheckInt32Int32Float) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - -TEST_P(Tests_MGSSSP_Rmat, CheckInt32Int64Float) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - TEST_P(Tests_MGSSSP_Rmat, CheckInt64Int64Float) { auto param = GetParam(); @@ -286,16 +265,6 @@ TEST_P(Tests_MGSSSP_Rmat, CheckInt64Int64Float) std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); } -INSTANTIATE_TEST_SUITE_P( - file_test, - Tests_MGSSSP_File, - ::testing::Values( - // enable correctness checks - std::make_tuple(SSSP_Usecase{0}, cugraph::test::File_Usecase("test/datasets/karate.mtx")), - std::make_tuple(SSSP_Usecase{0}, cugraph::test::File_Usecase("test/datasets/dblp.mtx")), - std::make_tuple(SSSP_Usecase{1000}, - cugraph::test::File_Usecase("test/datasets/wiki2003.mtx")))); - INSTANTIATE_TEST_SUITE_P( rmat_small_test, Tests_MGSSSP_Rmat, diff --git a/cpp/tests/traversal/sssp_test.cpp b/cpp/tests/traversal/sssp_test.cpp index ab73d02c912..e9dc69ba174 100644 --- a/cpp/tests/traversal/sssp_test.cpp +++ b/cpp/tests/traversal/sssp_test.cpp @@ -255,30 +255,8 @@ class Tests_SSSP : public ::testing::TestWithParam; using Tests_SSSP_Rmat = Tests_SSSP; -// FIXME: add tests for type combinations -TEST_P(Tests_SSSP_File, CheckInt32Int32Float) -{ - auto param = GetParam(); - run_current_test(std::get<0>(param), std::get<1>(param)); -} - -TEST_P(Tests_SSSP_Rmat, CheckInt32Int32Float) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - -TEST_P(Tests_SSSP_Rmat, CheckInt32Int64Float) -{ - auto param = GetParam(); - run_current_test( - std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); -} - TEST_P(Tests_SSSP_Rmat, CheckInt64Int64Float) { auto param = GetParam(); @@ -286,16 +264,6 @@ TEST_P(Tests_SSSP_Rmat, CheckInt64Int64Float) std::get<0>(param), override_Rmat_Usecase_with_cmd_line_arguments(std::get<1>(param))); } -INSTANTIATE_TEST_SUITE_P( - file_test, - Tests_SSSP_File, - // enable correctness checks - ::testing::Values( - std::make_tuple(SSSP_Usecase{0}, cugraph::test::File_Usecase("test/datasets/karate.mtx")), - std::make_tuple(SSSP_Usecase{0}, cugraph::test::File_Usecase("test/datasets/dblp.mtx")), - std::make_tuple(SSSP_Usecase{1000}, - cugraph::test::File_Usecase("test/datasets/wiki2003.mtx")))); - INSTANTIATE_TEST_SUITE_P( rmat_small_test, Tests_SSSP_Rmat, diff --git a/cpp/tests/utilities/device_comm_wrapper.cu b/cpp/tests/utilities/device_comm_wrapper.cu index cfc65b5d741..1b4005a54d0 100644 --- a/cpp/tests/utilities/device_comm_wrapper.cu +++ b/cpp/tests/utilities/device_comm_wrapper.cu @@ -76,9 +76,6 @@ rmm::device_uvector device_allgatherv(raft::handle_t const& handle, // explicit instantiation -template rmm::device_uvector device_gatherv(raft::handle_t const& handle, - raft::device_span d_input); - template rmm::device_uvector device_gatherv(raft::handle_t const& handle, raft::device_span d_input); @@ -88,12 +85,6 @@ template rmm::device_uvector device_gatherv(raft::handle_t const& handle template rmm::device_uvector device_gatherv(raft::handle_t const& handle, raft::device_span d_input); -template rmm::device_uvector device_gatherv(raft::handle_t const& handle, - raft::device_span d_input); - -template rmm::device_uvector device_allgatherv(raft::handle_t const& handle, - raft::device_span d_input); - template rmm::device_uvector device_allgatherv(raft::handle_t const& handle, raft::device_span d_input); @@ -103,8 +94,5 @@ template rmm::device_uvector device_allgatherv(raft::handle_t const& han template rmm::device_uvector device_allgatherv(raft::handle_t const& handle, raft::device_span d_input); -template rmm::device_uvector device_allgatherv(raft::handle_t const& handle, - raft::device_span d_input); - } // namespace test } // namespace cugraph diff --git a/cpp/tests/utilities/test_utilities_mg.cu b/cpp/tests/utilities/test_utilities_mg.cu index 7366a8376a4..ba0df101ec0 100644 --- a/cpp/tests/utilities/test_utilities_mg.cu +++ b/cpp/tests/utilities/test_utilities_mg.cu @@ -18,94 +18,18 @@ namespace cugraph { namespace test { -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_coo( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_coo( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, rmm::device_uvector, std::optional>> @@ -114,46 +38,6 @@ graph_to_device_coo( cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, rmm::device_uvector, std::optional>> @@ -162,124 +46,18 @@ graph_to_device_coo( cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_csr( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_csr( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple< - cugraph::graph_t, - std::optional, float>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, float>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - template std::tuple< cugraph::graph_t, std::optional, float>>, @@ -291,61 +69,6 @@ mg_graph_to_sg_graph( std::optional> number_map, bool renumber); -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, float>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, float>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - template std::tuple< cugraph::graph_t, std::optional, float>>, @@ -357,75 +80,6 @@ mg_graph_to_sg_graph( std::optional> number_map, bool renumber); -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple< - cugraph::graph_t, - std::optional, double>>, - std::optional>> -mg_graph_to_sg_graph( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view, - std::optional> number_map, - bool renumber); - -template std::tuple>, rmm::device_uvector> -mg_vertex_property_values_to_sg_vertex_property_values( - raft::handle_t const& handle, - std::optional> mg_renumber_map, - std::tuple mg_local_vertex_partition_range, - std::optional> sg_renumber_map, - std::optional> mg_vertices, - raft::device_span mg_values); - -template std::tuple>, rmm::device_uvector> -mg_vertex_property_values_to_sg_vertex_property_values( - raft::handle_t const& handle, - std::optional> mg_renumber_map, - std::tuple mg_local_vertex_partition_range, - std::optional> sg_renumber_map, - std::optional> mg_vertices, - raft::device_span mg_values); - -template std::tuple>, rmm::device_uvector> -mg_vertex_property_values_to_sg_vertex_property_values( - raft::handle_t const& handle, - std::optional> mg_renumber_map, - std::tuple mg_local_vertex_partition_range, - std::optional> sg_renumber_map, - std::optional> mg_vertices, - raft::device_span mg_values); - -template std::tuple>, rmm::device_uvector> -mg_vertex_property_values_to_sg_vertex_property_values( - raft::handle_t const& handle, - std::optional> mg_renumber_map, - std::tuple mg_local_vertex_partition_range, - std::optional> sg_renumber_map, - std::optional> mg_vertices, - raft::device_span mg_values); - template std::tuple>, rmm::device_uvector> mg_vertex_property_values_to_sg_vertex_property_values( raft::handle_t const& handle, @@ -453,14 +107,5 @@ mg_vertex_property_values_to_sg_vertex_property_values( std::optional> mg_vertices, raft::device_span mg_values); -template std::tuple>, rmm::device_uvector> -mg_vertex_property_values_to_sg_vertex_property_values( - raft::handle_t const& handle, - std::optional> mg_renumber_map, - std::tuple mg_local_vertex_partition_range, - std::optional> sg_renumber_map, - std::optional> mg_vertices, - raft::device_span mg_values); - } // namespace test } // namespace cugraph diff --git a/cpp/tests/utilities/test_utilities_sg.cu b/cpp/tests/utilities/test_utilities_sg.cu index aceff526f21..acdbdf67ce1 100644 --- a/cpp/tests/utilities/test_utilities_sg.cu +++ b/cpp/tests/utilities/test_utilities_sg.cu @@ -18,94 +18,18 @@ namespace cugraph { namespace test { -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_coo( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_coo( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, rmm::device_uvector, std::optional>> @@ -114,46 +38,6 @@ graph_to_device_coo( cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, rmm::device_uvector, std::optional>> @@ -162,101 +46,17 @@ graph_to_device_coo( cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, - rmm::device_uvector, - std::optional>> -graph_to_device_coo( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_csr( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - template std::tuple, std::vector, std::optional>> graph_to_host_csr( raft::handle_t const& handle, cugraph::graph_view_t const& graph_view, std::optional> edge_weight_view); -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - -template std::tuple, std::vector, std::optional>> -graph_to_host_csr( - raft::handle_t const& handle, - cugraph::graph_view_t const& graph_view, - std::optional> edge_weight_view); - } // namespace test } // namespace cugraph diff --git a/cpp/tests/utilities/thrust_wrapper.cu b/cpp/tests/utilities/thrust_wrapper.cu index cb7e6f1bd66..a1205b92abd 100644 --- a/cpp/tests/utilities/thrust_wrapper.cu +++ b/cpp/tests/utilities/thrust_wrapper.cu @@ -55,9 +55,6 @@ value_buffer_type sort(raft::handle_t const& handle, value_buffer_type const& va return sorted_values; } -template rmm::device_uvector sort(raft::handle_t const& handle, - rmm::device_uvector const& values); - template rmm::device_uvector sort(raft::handle_t const& handle, rmm::device_uvector const& values); @@ -91,46 +88,11 @@ std::tuple sort_by_key(raft::handle_t const& return std::make_tuple(std::move(sorted_keys), std::move(sorted_values)); } -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - template std::tuple, rmm::device_uvector> sort_by_key( raft::handle_t const& handle, rmm::device_uvector const& keys, rmm::device_uvector const& values); -template std::tuple, rmm::device_uvector> sort_by_key( - raft::handle_t const& handle, - rmm::device_uvector const& keys, - rmm::device_uvector const& values); - template std::tuple, rmm::device_uvector> sort_by_key( raft::handle_t const& handle, rmm::device_uvector const& keys, @@ -141,12 +103,6 @@ template std::tuple, rmm::device_uvector> rmm::device_uvector const& keys, rmm::device_uvector const& values); -template std::tuple, - std::tuple, rmm::device_uvector>> -sort_by_key(raft::handle_t const& handle, - rmm::device_uvector const& keys, - std::tuple, rmm::device_uvector> const& values); - template std::tuple, std::tuple, rmm::device_uvector>> sort_by_key(raft::handle_t const& handle, @@ -164,8 +120,6 @@ vertex_t max_element(raft::handle_t const& handle, raft::device_span vertices); template int64_t max_element(raft::handle_t const& handle, raft::device_span vertices); @@ -190,18 +144,10 @@ void populate_vertex_ids(raft::handle_t const& handle, handle.get_thrust_policy(), d_vertices_v.begin(), d_vertices_v.end(), vertex_id_offset); } -template void translate_vertex_ids(raft::handle_t const& handle, - rmm::device_uvector& vertices, - int32_t vertex_id_offset); - template void translate_vertex_ids(raft::handle_t const& handle, rmm::device_uvector& vertices, int64_t vertex_id_offset); -template void populate_vertex_ids(raft::handle_t const& handle, - rmm::device_uvector& d_vertices_v, - int32_t vertex_id_offset); - template void populate_vertex_ids(raft::handle_t const& handle, rmm::device_uvector& d_vertices_v, int64_t vertex_id_offset); @@ -244,30 +190,12 @@ void remove_self_loops(raft::handle_t const& handle, if (d_weight_v) { (*d_weight_v).shrink_to_fit(handle.get_stream()); } } -template void remove_self_loops( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - -template void remove_self_loops( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - template void remove_self_loops( raft::handle_t const& handle, rmm::device_uvector& d_src_v /* [INOUT] */, rmm::device_uvector& d_dst_v /* [INOUT] */, std::optional>& d_weight_v /* [INOUT] */); -template void remove_self_loops( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - template void sort_and_remove_multi_edges( raft::handle_t const& handle, @@ -308,29 +236,11 @@ void sort_and_remove_multi_edges( if (d_weight_v) { (*d_weight_v).shrink_to_fit(handle.get_stream()); } } -template void sort_and_remove_multi_edges( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - -template void sort_and_remove_multi_edges( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - template void sort_and_remove_multi_edges( raft::handle_t const& handle, rmm::device_uvector& d_src_v /* [INOUT] */, rmm::device_uvector& d_dst_v /* [INOUT] */, std::optional>& d_weight_v /* [INOUT] */); -template void sort_and_remove_multi_edges( - raft::handle_t const& handle, - rmm::device_uvector& d_src_v /* [INOUT] */, - rmm::device_uvector& d_dst_v /* [INOUT] */, - std::optional>& d_weight_v /* [INOUT] */); - } // namespace test } // namespace cugraph