From e53b3b8082d7413206fd8b597ce804527ce0dcf3 Mon Sep 17 00:00:00 2001 From: Seunghwa Kang Date: Wed, 28 Aug 2024 12:41:36 -0700 Subject: [PATCH] delete debug prints --- cpp/src/prims/detail/per_v_transform_reduce_e.cuh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cpp/src/prims/detail/per_v_transform_reduce_e.cuh b/cpp/src/prims/detail/per_v_transform_reduce_e.cuh index be7b5874324..b4c2a663184 100644 --- a/cpp/src/prims/detail/per_v_transform_reduce_e.cuh +++ b/cpp/src/prims/detail/per_v_transform_reduce_e.cuh @@ -970,7 +970,6 @@ compute_selected_ranks(raft::comms::comms_t const& comm, bool ignore_local_values, rmm::cuda_stream_view stream_view) { - auto time0 = std::chrono::steady_clock::now(); auto const comm_rank = comm.get_rank(); auto const comm_size = comm.get_size(); @@ -998,7 +997,6 @@ compute_selected_ranks(raft::comms::comms_t const& comm, : std::numeric_limits::max(); // lowest priority }); } - auto time1 = std::chrono::steady_clock::now(); device_allreduce(comm, priorities.data(), priorities.data(), @@ -1006,7 +1004,6 @@ compute_selected_ranks(raft::comms::comms_t const& comm, raft::comms::op_t::MIN, stream_view); - auto time2 = std::chrono::steady_clock::now(); if (comm_rank == root) { rmm::device_uvector selected_ranks(priorities.size(), stream_view); auto offset_priority_pair_first = @@ -1024,12 +1021,6 @@ compute_selected_ranks(raft::comms::comms_t const& comm, priority, root, subgroup_size, comm_size, offset); return rank; }); - auto time3 = std::chrono::steady_clock::now(); - std::chrono::duration dur0 = time1 - time0; - std::chrono::duration dur1 = time2 - time1; - std::chrono::duration dur2 = time3 - time2; - std::cout << "root compute_selected_ranks dur=(" << dur0.count() << "," << dur1.count() << "," - << dur2.count() << ")." << std::endl; return selected_ranks; } else { std::optional> keep_flags{std::nullopt}; @@ -1051,12 +1042,6 @@ compute_selected_ranks(raft::comms::comms_t const& comm, return (rank == comm_rank); }); } - auto time3 = std::chrono::steady_clock::now(); - std::chrono::duration dur0 = time1 - time0; - std::chrono::duration dur1 = time2 - time1; - std::chrono::duration dur2 = time3 - time2; - std::cout << "non-root compute_selected_ranks dur=(" << dur0.count() << "," << dur1.count() - << "," << dur2.count() << ")." << std::endl; return keep_flags; } }