Skip to content

Commit

Permalink
kokkos-kernels: Reduce d2 graph test size
Browse files Browse the repository at this point in the history
Reproduce #4940 submitted by @william76
Reduce test size due to very long test times in debug builds.
  • Loading branch information
ndellingwood committed Jun 27, 2019
1 parent a69b6ab commit 2292762
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ run_graphcolor_d2(crsMat_type


// Print out messages based on coloring validation check.
if(d2_coloring_is_valid)
{
std::cout << std::endl << "Distance-2 Graph Coloring is VALID" << std::endl << std::endl;
}
else
if(!d2_coloring_is_valid)
{
std::cout << std::endl
<< "Distance-2 Graph Coloring is NOT VALID" << std::endl
Expand Down Expand Up @@ -253,8 +249,8 @@ test_coloring_d2(lno_type numRows, size_type nnz, lno_type bandwidth, lno_type r
#define EXECUTE_TEST(SCALAR, ORDINAL, OFFSET, DEVICE) \
TEST_F(TestCategory, graph##_##graph_color_d2##_##SCALAR##_##ORDINAL##_##OFFSET##_##DEVICE) \
{ \
test_coloring_d2<SCALAR, ORDINAL, OFFSET, DEVICE>(50000, 50000 * 30, 200, 10); \
test_coloring_d2<SCALAR, ORDINAL, OFFSET, DEVICE>(50000, 50000 * 30, 100, 10); \
test_coloring_d2<SCALAR, ORDINAL, OFFSET, DEVICE>(5000, 5000 * 30, 200, 10); \
test_coloring_d2<SCALAR, ORDINAL, OFFSET, DEVICE>(5000, 5000 * 30, 100, 10); \
}
#if defined(KOKKOSKERNELS_INST_DOUBLE)
#if(defined(KOKKOSKERNELS_INST_ORDINAL_INT) && defined(KOKKOSKERNELS_INST_OFFSET_INT)) \
Expand Down

0 comments on commit 2292762

Please sign in to comment.