Skip to content

Commit

Permalink
use reference
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi authored and crtrott committed Nov 18, 2023
1 parent aa2ff89 commit 33a1106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/impl/Kokkos_HostThreadTeam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ KOKKOS_INLINE_FUNCTION
closure(i, accum, false);
}

auto team_member = loop_boundaries.thread;
auto & team_member = loop_boundaries.thread;

// 'accum' output is the exclusive prefix sum
accum = team_member.team_scan(accum);
Expand Down

0 comments on commit 33a1106

Please sign in to comment.