diff --git a/cpp/src/community/flatten_dendrogram.hpp b/cpp/src/community/flatten_dendrogram.hpp index 6ca706c7de1..eac20389765 100644 --- a/cpp/src/community/flatten_dendrogram.hpp +++ b/cpp/src/community/flatten_dendrogram.hpp @@ -71,16 +71,6 @@ void leiden_partition_at_level(raft::handle_t const& handle, rmm::device_uvector local_vertex_ids_v(local_num_verts, handle.get_stream()); - for (size_t i = 0; i < level; i++) { - RAFT_CUDA_TRY(cudaDeviceSynchronize()); - std::cout << "\tlevel : " << i << ", dendrogram_size: " << dendrogram.get_level_size_nocheck(i) - << std::endl; - raft::print_device_vector("\tdendrogram.get_level_ptr_nocheck(l):", - dendrogram.get_level_ptr_nocheck(i), - dendrogram.get_level_size_nocheck(i), - std::cout); - } - std::for_each( thrust::make_counting_iterator(0), thrust::make_counting_iterator((level - 1) / 2),