Skip to content
Discussion options

You must be logged in to vote

Hi @aborderies , there is no good example of this as far as I know in the code as it is now. You can use Kokkos atomic function, but this won't be super-efficient. There are a few examples of nested reducers in the Kokkos documentation, but it's not the easiest thing to do... e.g. https://kokkos.org/kokkos-core-wiki/ProgrammingGuide/Custom-Reductions-Built-In-Reducers.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aborderies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants