Skip to content
Failed

Changes

Summary

  1. Add warp sync for Cuda parallel reduce (details)
  2. update comment to include final() mention (details)
Commit 4d4a343e50bf4d5998efe20f97e8670c93bdf2dd by tccleve
Add warp sync for Cuda parallel reduce

compute-sanitizer --tool=racecheck discovered a potential racecondition for Cuda parallel reductions (using range policy) where data was being updated on a single thread inside a warp, but the warp was not being synchronized before being read.
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
Commit b00c1e06856af8dc2dede9057968a6ebb96d9960 by tccleve
update comment to include final() mention
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)