lanl / ports-of-call

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

Copy support #20

Closed jhp-lanl closed 1 year ago

jhp-lanl commented 1 year ago

@cmauney brought up that there is some raw Kokkos in spiner for the GetOnDevice() call. Could that sort of copy behavior be wrapped in ports-of-call instead so that there's a Kokkos version and a Cuda version?

Tagging @Yurlungur @chadmeyer @dholladay00 as well

mauneyc-LANL commented 1 year ago

Connecting to https://github.com/lanl/spiner/issues/54

Yurlungur commented 1 year ago

I agree and would prefer that to be in ports-of-call only reason it's currently in spiner is we didn't see a way to write it in a "spiner-agnostic" way when we wrote it. Very much open to suggestions. :)