alpaka-group / llama

A Low-Level Abstraction of Memory Access
https://llama-doc.rtfd.io/
Mozilla Public License 2.0
79 stars 10 forks source link

Consider renaming array dimension linearizers #679

Open bernhardmgruber opened 1 year ago

bernhardmgruber commented 1 year ago

The two most common array index linearizers in LLAMA are called LinearizeArrayDimsCpp and LinearizeArrayDimsFortran. While these names may be obvious for some people, the C++23 standard settled on layout_right and layout_left, respectively, for mdspan. These terms may not be well known now, but we believe familiarity will increase with the adoption of newer mdspan via various projects. We should consider renaming the LLAMA array index linearizers accordingly.