stdBLAS icon indicating copy to clipboard operation
stdBLAS copied to clipboard

`mdspan_to_view` needs to support transposed layout

Open fnrizzi opened this issue 3 years ago • 1 comments

fnrizzi avatar Apr 20 '22 06:04 fnrizzi

There are a few different options. The easiest thing might be just to write a Kokkos::View adapter for arbitrary mdspan layouts (and accessors!). It could just wrap the mdspan (storing it by value) and defer to its array access operator(). That would solve the problem generally. You could then specialize for specific layouts or accessors if performance warrants the effort.

mhoemmen avatar Apr 20 '22 14:04 mhoemmen