Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Jan 25, 2024
1 parent b2308d6 commit d6653db
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cpp/src/prims/per_v_transform_reduce_incoming_outgoing_e.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,10 @@ __global__ void per_v_transform_reduce_e_hypersparse(
identity_element,
result_value_output);
} else {
auto transform_op = [&call_e_op] __device__(auto i) { return call_e_op(i); };

update_result_value_output<update_major>(edge_partition,
indices,
local_degree,
transform_op,
call_e_op,
init,
reduce_op,
major - *(edge_partition).major_hypersparse_first(),
Expand Down Expand Up @@ -323,12 +321,10 @@ __global__ void per_v_transform_reduce_e_low_degree(
identity_element,
result_value_output);
} else {
auto transform_op = [&call_e_op] __device__(auto i) { return call_e_op(i); };

update_result_value_output<update_major>(edge_partition,
indices,
local_degree,
transform_op,
call_e_op,
init,
reduce_op,
idx,
Expand Down

0 comments on commit d6653db

Please sign in to comment.