layout() function broken for Views with padding -- path forward
We have an issue because the LayoutLeft and LayoutRight class itself (not the mapping) has no place to store stride. As a consequence the following code is wrong:
[implementation suggestion omitted]
Suggested path forward:
restrict layout() to Kokkos::LayoutLeft/Right/Stride and deprecate
error out when calling layout() where stride!=extent
The repository is checked out at /workspace/repo. Work only on production
source code. Do not modify tests, CMake registration, CI configuration, or the
grading environment. Use the existing build tree for local verification.