Skip to content

Commit

Permalink
Move experimental source files and a few implementation headers (#1763)
Browse files Browse the repository at this point in the history
Last phase of migrating things out of the experimental namespace.  This PR moves all of the source and test files out of the experimental directory and renames the tests.

Authors:
  - Chuck Hastings (https://github.com/ChuckHastings)

Approvers:
  - Seunghwa Kang (https://github.com/seunghwak)

URL: #1763
  • Loading branch information
ChuckHastings committed Aug 6, 2021
1 parent 009b53b commit 70b4ad3
Show file tree
Hide file tree
Showing 33 changed files with 29 additions and 29 deletions.
22 changes: 11 additions & 11 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,17 @@ add_library(cugraph SHARED
src/generators/generator_tools.cu
src/generators/simple_generators.cu
src/generators/erdos_renyi_generator.cu
src/experimental/graph.cu
src/experimental/graph_view.cu
src/experimental/coarsen_graph.cu
src/experimental/renumber_edgelist.cu
src/experimental/renumber_utils.cu
src/experimental/relabel.cu
src/experimental/induced_subgraph.cu
src/experimental/bfs.cu
src/experimental/sssp.cu
src/experimental/pagerank.cu
src/experimental/katz_centrality.cu
src/structure/graph.cu
src/structure/graph_view.cu
src/structure/coarsen_graph.cu
src/structure/renumber_edgelist.cu
src/structure/renumber_utils.cu
src/structure/relabel.cu
src/structure/induced_subgraph.cu
src/traversal/bfs.cu
src/traversal/sssp.cu
src/link_analysis/pagerank.cu
src/centrality/katz_centrality.cu
src/serialization/serializer.cu
src/tree/mst.cu
src/components/weakly_connected_components.cu
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cpp/src/community/louvain.cu
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#include <community/flatten_dendrogram.cuh>
#include <community/legacy/louvain.cuh>
#include <community/louvain.cuh>
#include <cugraph/graph.hpp>
#include <experimental/louvain.cuh>

#include <rmm/device_uvector.hpp>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cpp/src/generators/generator_tools.cu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <cugraph/graph_generators.hpp>
#include <cugraph/utilities/error.hpp>
#include <experimental/scramble.cuh>
#include <generators/scramble.cuh>

#include <raft/cuda_utils.cuh>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 16 additions & 16 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,51 +327,51 @@ ConfigureTest(MST_TEST tree/mst_test.cu)

###################################################################################################
# - Experimental stream tests -----------------------------------------------------
ConfigureTest(EXPERIMENTAL_STREAM experimental/streams.cu)
ConfigureTest(STREAM_TEST structure/streams.cu)

###################################################################################################
# - Experimental R-mat graph generation tests -----------------------------------------------------
ConfigureTest(EXPERIMENTAL_GENERATE_RMAT_TEST experimental/generate_rmat_test.cpp)
ConfigureTest(GENERATE_RMAT_TEST generators/generate_rmat_test.cpp)

###################################################################################################
# - Experimental Graph tests ----------------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_GRAPH_TEST experimental/graph_test.cpp)
ConfigureTest(GRAPH_TEST structure/graph_test.cpp)

###################################################################################################
# - Experimental weight-sum tests -----------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_WEIGHT_SUM_TEST experimental/weight_sum_test.cpp)
ConfigureTest(WEIGHT_SUM_TEST structure/weight_sum_test.cpp)

###################################################################################################
# - Experimental degree tests ---------------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_DEGREE_TEST experimental/degree_test.cpp)
ConfigureTest(DEGREE_TEST structure/degree_test.cpp)

###################################################################################################
# - Experimental coarsening tests -----------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_COARSEN_GRAPH_TEST experimental/coarsen_graph_test.cpp)
ConfigureTest(COARSEN_GRAPH_TEST structure/coarsen_graph_test.cpp)

###################################################################################################
# - Experimental induced subgraph tests -----------------------------------------------------------
ConfigureTest(EXPERIMENTAL_INDUCED_SUBGRAPH_TEST experimental/induced_subgraph_test.cpp)
ConfigureTest(INDUCED_SUBGRAPH_TEST community/induced_subgraph_test.cpp)

###################################################################################################
# - Experimental BFS tests ------------------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_BFS_TEST experimental/bfs_test.cpp)
ConfigureTest(BFS_TEST traversal/bfs_test.cpp)

###################################################################################################
# - Experimental Multi-source BFS tests -----------------------------------------------------------
ConfigureTest(EXPERIMENTAL_MSBFS_TEST experimental/ms_bfs_test.cpp)
ConfigureTest(MSBFS_TEST traversal/ms_bfs_test.cpp)

###################################################################################################
# - Experimental SSSP tests -----------------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_SSSP_TEST experimental/sssp_test.cpp)
ConfigureTest(SSSP_TEST traversal/sssp_test.cpp)

###################################################################################################
# - Experimental PAGERANK tests -------------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_PAGERANK_TEST experimental/pagerank_test.cpp)
ConfigureTest(PAGERANK_TEST link_analysis/pagerank_test.cpp)

###################################################################################################
# - Experimental KATZ_CENTRALITY tests ------------------------------------------------------------
ConfigureTest(EXPERIMENTAL_KATZ_CENTRALITY_TEST experimental/katz_centrality_test.cpp)
ConfigureTest(KATZ_CENTRALITY_TEST centrality/katz_centrality_test.cpp)

###################################################################################################
# - WEAKLY CONNECTED COMPONENTS tests -------------------------------------------------------------
Expand Down Expand Up @@ -431,19 +431,19 @@ if(BUILD_CUGRAPH_MG_TESTS)
if(MPI_CXX_FOUND)
###########################################################################################
# - MG PAGERANK tests ---------------------------------------------------------------------
ConfigureTestMG(MG_PAGERANK_TEST pagerank/mg_pagerank_test.cpp)
ConfigureTestMG(MG_PAGERANK_TEST link_analysis/mg_pagerank_test.cpp)

###########################################################################################
# - MG KATZ CENTRALITY tests --------------------------------------------------------------
ConfigureTestMG(MG_KATZ_CENTRALITY_TEST experimental/mg_katz_centrality_test.cpp)
ConfigureTestMG(MG_KATZ_CENTRALITY_TEST centrality/mg_katz_centrality_test.cpp)

###########################################################################################
# - MG BFS tests --------------------------------------------------------------------------
ConfigureTestMG(MG_BFS_TEST experimental/mg_bfs_test.cpp)
ConfigureTestMG(MG_BFS_TEST traversal/mg_bfs_test.cpp)

###########################################################################################
# - MG SSSP tests -------------------------------------------------------------------------
ConfigureTestMG(MG_SSSP_TEST experimental/mg_sssp_test.cpp)
ConfigureTestMG(MG_SSSP_TEST traversal/mg_sssp_test.cpp)

###########################################################################################
# - MG LOUVAIN tests ----------------------------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 70b4ad3

Please sign in to comment.