Skip to content

Commit

Permalink
add &
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaTrainingG committed Oct 19, 2021
1 parent b9d3555 commit 469b364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/operators/reduce_ops/reduce_op.cu.h
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ __device__ void ReduceAnyKernelImpl(const Tx* input, MPType* reduce_var,
ReduceOp reducer, TransformOp transformer,
MPType init, int reduce_num, int input_idx,
bool reduce_last_dim,
const Calculator reduce_index_calculator,
const Calculator& reduce_index_calculator,
int stride, int num) {
Tx input_reg[REDUCE_VEC_SIZE];
MPType input_compute[REDUCE_VEC_SIZE];
Expand Down

0 comments on commit 469b364

Please sign in to comment.