Skip to content

Commit

Permalink
Remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Naim committed Mar 7, 2024
1 parent 74af689 commit da142d1
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 17 deletions.
8 changes: 4 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ set(CUGRAPH_SOURCES
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/mis_sg.cu
src/sampling/mis_mg.cu
src/sampling/coloring_sg.cu
src/sampling/coloring_mg.cu
src/sampling/renumber_sampled_edgelist_sg.cu
src/sampling/sampling_post_processing_sg.cu
src/cores/core_number_sg.cu
Expand Down Expand Up @@ -299,6 +295,10 @@ set(CUGRAPH_SOURCES
src/tree/legacy/mst.cu
src/components/weakly_connected_components_sg.cu
src/components/weakly_connected_components_mg.cu
src/components/mis_sg.cu
src/components/mis_mg.cu
src/components/coloring_sg.cu
src/components/coloring_mg.cu
src/structure/create_graph_from_edgelist_sg.cu
src/structure/create_graph_from_edgelist_mg.cu
src/structure/symmetrize_edgelist_sg.cu
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.
16 changes: 8 additions & 8 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,14 @@ if(BUILD_CUGRAPH_MG_TESTS)
ConfigureTestMG(MG_WEAKLY_CONNECTED_COMPONENTS_TEST
components/mg_weakly_connected_components_test.cpp)

###############################################################################################
# - MG MIS tests ------------------------------------------------------------------------------
ConfigureTestMG(MG_MIS_TEST components/mg_mis_test.cu)

###############################################################################################
# - MG Graph Coloring tests -------------------------------------------------------------------
ConfigureTestMG(MG_COLORING_TEST components/mg_coloring_test.cu)

###############################################################################################
# - MG Core Number tests ----------------------------------------------------------------------
ConfigureTestMG(MG_CORE_NUMBER_TEST cores/mg_core_number_test.cpp)
Expand Down Expand Up @@ -635,14 +643,6 @@ if(BUILD_CUGRAPH_MG_TESTS)
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 MIS tests ------------------------------------------------------------------------------
ConfigureTestMG(MG_MIS_TEST sampling/mg_mis_test.cu)

###############################################################################################
# - MG Graph Coloring tests ------------------------------------------------------------------------------
ConfigureTestMG(MG_COLORING_TEST sampling/mg_coloring_test.cu)

###############################################################################################
# - MG NBR SAMPLING tests ---------------------------------------------------------------------
ConfigureTestMG(MG_UNIFORM_NEIGHBOR_SAMPLING_TEST sampling/mg_uniform_neighbor_sampling.cu)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ class Tests_MGGraphColoring
auto color = thrust::get<0>(color_vetex_and_conflict_flag);
auto v = thrust::get<1>(color_vetex_and_conflict_flag);
auto conflict_flag = thrust::get<2>(color_vetex_and_conflict_flag);
if (conflict_flag != 0) {
std::cout << "vertex: " << int{v} << " color:" << int{color}
<< " conflicting?: " << int{conflict_flag} << std::endl;
}

ASSERT_TRUE(conflict_flag == 0)
<< v << " got same color as one of its neighbor" << std::endl;
});
Expand Down
File renamed without changes.

0 comments on commit da142d1

Please sign in to comment.