Skip to content

Commit

Permalink
perf measurement code update
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Aug 23, 2024
1 parent 6d8c7ef commit 6bcdbe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cpp/src/prims/detail/per_v_transform_reduce_e.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -2419,8 +2419,8 @@ void per_v_transform_reduce_e(raft::handle_t const& handle,
std::chrono::duration<double> dur1 = time2 - time1;
std::chrono::duration<double> dur2 = time3 - time2;
std::chrono::duration<double> dur3 = time4 - time3;
std::cout << "\t\tdetail::per_v took (" << dur0.count() << "," << dur1.count() << ","
<< dur2.count() << ")" << std::endl;
std::cout << "\t\tdetail::per_v (prep, ep, scatter, comm) took (" << dur0.count() << "," << dur1.count() << ","
<< dur2.count() << "," << dur3.count() << ")" << std::endl;
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions cpp/tests/traversal/mg_bfs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(
// enable correctness checks
std::make_tuple(BFS_Usecase{0, false},
cugraph::test::Rmat_Usecase(10, 16, 0.57, 0.19, 0.19, 0, false, false)),
cugraph::test::Rmat_Usecase(10, 16, 0.57, 0.19, 0.19, 0, true /* undirected */, false)),
std::make_tuple(BFS_Usecase{0, true},
cugraph::test::Rmat_Usecase(10, 16, 0.57, 0.19, 0.19, 0, false, false))));
cugraph::test::Rmat_Usecase(10, 16, 0.57, 0.19, 0.19, 0, true /* undirected */, false))));

INSTANTIATE_TEST_SUITE_P(
rmat_benchmark_test, /* note that scale & edge factor can be overridden in benchmarking (with
Expand Down

0 comments on commit 6bcdbe7

Please sign in to comment.