Feature Request: Add loop unroll semantics to Range policy loops
It would be nice to have semantics for compile time loop unrolling for Range policy. This especially becomes important on memory bound loops where instruction level parallelism in functors is very low. See example below (copied from here)
[implementation suggestion omitted]
I get the following benchmarks on A100
[implementation suggestion omitted]
The loop unrolling parameter could be passed at compile tile to range policy. Similar to Kokkos::ChunkSize.
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. Network access is unavailable and git history contains
only the base revision, so do not spend time looking for upstream commits or
pull requests. Diagnose from the local source, make a production-code change,
and use the smallest relevant target in the existing build tree for local
verification.