kokkos / kokkos.github.io

Source code for kokkos.org pages
https://kokkos.org
1 stars 12 forks source link

Discussion Round: Pain Points #91

Open crtrott opened 7 months ago

stvdwtt commented 6 months ago

Clarify blocking status in the documentation: I've been uncertain which Kokkos calls block and which don't, so I add many fences to be safe (e.g. after all deep_copies) under the assumption that they don't block. It makes sense that some fence internally and some don't, I think the best solution is to be clear in the documentation. (Ignore this if that's already been addressed, I haven't checked in a bit.)

_Some deepcopy restrictions unexpected: I don't recall the exact setup, but I've had cases where what cannot be done with deep_copy is not obvious from the description in the documentation. Mostly this has related to deep copying a subview into a compact view with a different layout. I had a conversation on Slack that clarified that deep_copy was acting as it should, so I don't think it is a bug or correctness issue, just a place where perhaps the documentation could be clearer. (Admittedly, this kind of a deep_copy is pretty niche.)

dalg24 commented 6 months ago

Notes