Skip to content

Commit

Permalink
rename call_e_op_t to transform_reduce_v_froniter_call_e_op_t to avoi…
Browse files Browse the repository at this point in the history
…d name collision
  • Loading branch information
seunghwak committed Jan 23, 2024
1 parent 050b78a commit 3782e1b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
16 changes: 8 additions & 8 deletions cpp/src/prims/transform_reduce_v_frontier_outgoing_e_by_dst.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ template <typename key_t,
typename dst_value_t,
typename e_value_t,
typename EdgeOp>
struct call_e_op_t {
struct transform_reduce_v_frontier_call_e_op_t {
EdgeOp e_op{};

__device__ thrust::optional<
Expand Down Expand Up @@ -331,13 +331,13 @@ transform_reduce_v_frontier_outgoing_e_by_dst(raft::handle_t const& handle,

// 1. fill the buffer

detail::call_e_op_t<key_t,
payload_t,
vertex_t,
typename EdgeSrcValueInputWrapper::value_type,
typename EdgeDstValueInputWrapper::value_type,
typename EdgeValueInputWrapper::value_type,
EdgeOp>
detail::transform_reduce_v_frontier_call_e_op_t<key_t,
payload_t,
vertex_t,
typename EdgeSrcValueInputWrapper::value_type,
typename EdgeDstValueInputWrapper::value_type,
typename EdgeValueInputWrapper::value_type,
EdgeOp>
e_op_wrapper{e_op};

auto [key_buffer, payload_buffer] =
Expand Down
15 changes: 8 additions & 7 deletions cpp/src/traversal/od_shortest_distances_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -639,13 +639,14 @@ rmm::device_uvector<weight_t> od_shortest_distances(
static_cast<od_idx_t>(origins.size()),
cutoff,
invalid_distance};
detail::call_e_op_t<thrust::tuple<vertex_t, od_idx_t>,
weight_t,
vertex_t,
thrust::nullopt_t,
thrust::nullopt_t,
weight_t,
e_op_t<vertex_t, od_idx_t, key_t, weight_t, GraphViewType::is_multi_gpu>>
detail::transform_reduce_v_frontier_call_e_op_t<
thrust::tuple<vertex_t, od_idx_t>,
weight_t,
vertex_t,
thrust::nullopt_t,
thrust::nullopt_t,
weight_t,
e_op_t<vertex_t, od_idx_t, key_t, weight_t, GraphViewType::is_multi_gpu>>
e_op_wrapper{e_op};

auto new_frontier_tagged_vertex_buffer =
Expand Down

0 comments on commit 3782e1b

Please sign in to comment.