Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Abstract Looping #4

Open
bprather opened this issue Feb 7, 2020 · 0 comments
Open

Abstract Looping #4

bprather opened this issue Feb 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bprather
Copy link
Contributor

bprather commented Feb 7, 2020

Currently, loops in k-harm are implemented directly as Kokkos::parallel_for calls given MDRange objects. This specifies what should be looped over, but also how it should be done. Ideally these should be split: some abstraction should be given an MDRange object, and then decide how (or even whether) to call Kokkos.

This is probably easiest to do by coding a drop-in replacement for parallel_for, which then looks inside the MDRange and decides what to call inside. This will need to be templated on the MDRange Rank.

@bprather bprather added the enhancement New feature or request label Feb 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant