Skip to content

Commit

Permalink
Assign final sum in Cuda parallel_scan ThreadVectorRange
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Arndt authored and masterleinad committed Sep 19, 2023
1 parent 4a819b6 commit fb20a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/Cuda/Kokkos_Cuda_Team.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ parallel_scan(const Impl::ThreadVectorRangeBoundariesStruct<
}

))
reducer.reference() = accum;
}

//----------------------------------------------------------------------------
Expand Down

0 comments on commit fb20a48

Please sign in to comment.