Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Oct 6, 2020
1 parent e0e696a commit 900fd11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions cpp/include/patterns/update_frontier_v_push_if_out_nbr.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t>(tx_counts[i]),
comm_dst_rank,
int{0} /* tag */,
buffer_requests.data() + i * (1 + tuple_size));
device_isend<decltype(buffer_key_first), decltype(buffer_key_first)>(
comm,
buffer_key_first + tx_offsets[i],
static_cast<size_t>(tx_counts[i]),
comm_dst_rank,
int{0} /* tag */,
buffer_requests.data() + i * (1 + tuple_size));
device_isend<decltype(buffer_payload_first), decltype(buffer_payload_first)>(
comm,
buffer_payload_first + tx_offsets[i],
Expand Down Expand Up @@ -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<raft::comms::request_t>::max());
} else {
device_irecv(
device_irecv<decltype(buffer_key_first), decltype(buffer_key_first)>(
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<size_t>(rx_counts[i]),
comm_src_rank,
int{0} /* tag */,
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/utilities/comm_utils.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -829,4 +829,4 @@ auto get_comm_buffer_begin(BufferType& buffer)
}

} // namespace experimental
} // namespace cugraph
} // namespace cugraph

0 comments on commit 900fd11

Please sign in to comment.