kokkos / kokkos-core-wiki

1 stars 44 forks source link

create_mirror and create_mirror_view: clarified difference #539

Closed RL-S closed 2 months ago

RL-S commented 2 months ago

Added a paragraph to "Usage", before the code example, and added comments to the code example.

I was thinking about changing the variable names in the second half of the code example from host_mirror_space* to space_mirror*, as now they don't have to be in host space, if another space is provided. Though I'm not yet familiar enough with Kokkos to know whether ExecName() is pseudo code or evaluates to the default execution space or something like that.