lanl / ports-of-call

Performance Portability Utilities
https://lanl.github.io/ports-of-call/
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

OpenACC and/or OpenMP support #13

Open chadmeyer opened 2 years ago

chadmeyer commented 2 years ago

Given the ubiquity of these programming models, and some downstream desires, it might be worth looking into what it would take to add these programming models as well.

The basic programming model in both cases is #pragma based decoration. I think there are now examples of at least one of these in Kokkos.

Given how this library is intended to be used, it might be easy to extend it to mark functions as needing to be compiled for device, and we might not need to worry about data locality issues. We probably need to play with some examples in simple downstream codes in order to understand the issues more.

Relates to #12 because it opens the possibility of having Fortran decorators as well.

Yurlungur commented 2 years ago

Agreed---I think OpenMP support has to be on the list to support some downstream needs in the very near future.