lanl / spiner

Performance portable routines for generic, tabulated, multi-dimensional data
https://lanl.github.io/spiner
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Avoid deep copies with `getOnDevice` when on host #6

Closed Yurlungur closed 2 years ago

Yurlungur commented 3 years ago

As @dholladay00 points out, It would be best to avoid deep copies with getOnDevice when on host.

Yurlungur commented 2 years ago

Resolved. getOnDevice returns a reference.