From 900fd1143c6be38a4e974ff598627968eae20a07 Mon Sep 17 00:00:00 2001 From: Seunghwa Kang Date: Tue, 6 Oct 2020 16:31:31 -0400 Subject: [PATCH] fix compile error --- .../update_frontier_v_push_if_out_nbr.cuh | 17 +++++++++-------- cpp/include/utilities/comm_utils.cuh | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/cpp/include/patterns/update_frontier_v_push_if_out_nbr.cuh b/cpp/include/patterns/update_frontier_v_push_if_out_nbr.cuh index a76cf1ee7f3..b1db7f0d0ae 100644 --- a/cpp/include/patterns/update_frontier_v_push_if_out_nbr.cuh +++ b/cpp/include/patterns/update_frontier_v_push_if_out_nbr.cuh @@ -624,12 +624,13 @@ void update_frontier_v_push_if_out_nbr( handle.get_stream())); // to ensure data to be sent are ready (FIXME: this can be removed // if we use ncclSend in raft::comms) - device_isend(comm, - detail::iter_to_raw_ptr(buffer_key_first + tx_offsets[i]), - static_cast(tx_counts[i]), - comm_dst_rank, - int{0} /* tag */, - buffer_requests.data() + i * (1 + tuple_size)); + device_isend( + comm, + buffer_key_first + tx_offsets[i], + static_cast(tx_counts[i]), + comm_dst_rank, + int{0} /* tag */, + buffer_requests.data() + i * (1 + tuple_size)); device_isend( comm, buffer_payload_first + tx_offsets[i], @@ -659,9 +660,9 @@ void update_frontier_v_push_if_out_nbr( buffer_requests.data() + (tx_counts.size() + i + 1) * (1 + tuple_size), std::numeric_limits::max()); } else { - device_irecv( + device_irecv( comm, - detail::iter_to_raw_ptr(buffer_key_first + num_buffer_elements + rx_offsets[i]), + buffer_key_first + num_buffer_elements + rx_offsets[i], static_cast(rx_counts[i]), comm_src_rank, int{0} /* tag */, diff --git a/cpp/include/utilities/comm_utils.cuh b/cpp/include/utilities/comm_utils.cuh index 3239a09ae14..7923d669dbe 100644 --- a/cpp/include/utilities/comm_utils.cuh +++ b/cpp/include/utilities/comm_utils.cuh @@ -829,4 +829,4 @@ auto get_comm_buffer_begin(BufferType& buffer) } } // namespace experimental -} // namespace cugraph \ No newline at end of file +} // namespace cugraph