LvArray
LvArray copied to clipboard
Array layouts
Proposal for new array layout types that allow for static (compile-time) extents and strides. Passes all unit tests.
Inspired by: https://github.com/NVIDIA/cutlass/tree/main/include/cute https://github.com/NVIDIA/cutlass/blob/main/media/docs/cute/00_quickstart.md
The main changes to look at (in order):
Constant.hpp/testConstant.hpptupleManipulation.hpp/testTupleManipulation.hppLayout.hpp/testLayout.hpp- then
ArraySlice.hpp/ArrayView.hpp/Array.hpp
The type name changes (Array2 etc.) are temporary.
Build times for time ninja -j8 coreComponents/LvArray/all
develop:
real 4m51.127s
user 36m42.070s
sys 0m58.920s
feature/klevzoff/layouts:
real 4m57.517s
user 36m53.505s
sys 1m0.265s