Skip to content

Commit

Permalink
#276: tutorial: fix missing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jun 13, 2023
1 parent 063a12c commit d18eae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/tutorial_2b.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void ReduceCol::reduceHandler() {
int val = 100;

// Invoke the reduce!
proxy.allreduce<&ReduceCol::reduceTarget>(val);
proxy.allreduce<&ReduceCol::reduceTarget, collective::PlusOp>(val);
}

int number_of_elements = 32;
Expand Down

0 comments on commit d18eae3

Please sign in to comment.