Open klevzoff opened 1 year ago
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.hpp
tupleManipulation.hpp
testTupleManipulation.hpp
Layout.hpp
testLayout.hpp
ArraySlice.hpp
ArrayView.hpp
Array.hpp
The type name changes (Array2 etc.) are temporary.
Array2
Build times for time ninja -j8 coreComponents/LvArray/all
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
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.hpp
tupleManipulation.hpp
/testTupleManipulation.hpp
Layout.hpp
/testLayout.hpp
ArraySlice.hpp
/ArrayView.hpp
/Array.hpp
The type name changes (
Array2
etc.) are temporary.Build times for
time ninja -j8 coreComponents/LvArray/all
develop
:feature/klevzoff/layouts
: