23 KOKKOS_FUNCTION
void operator()(
const TeamHandleType& team_handle)
const {
24 const auto start_index = team_handle.league_rank() * team_handle.team_size();
26 Kokkos::TeamThreadRange(team_handle, team_handle.team_size()),
27 [&]<std::integral T>(
const T index) { Kokkos::atomic_add(data.data(), start_index + index); });