Heuristic for profitable AoS-to-SoA conversion
Develop a practical heuristic that predicts, for a given compute kernel, data footprint, particle count, thread configuration, and target architecture, whether applying the proposed compiler-supported temporary out-of-place conversion from array-of-structs (AoS) to structure-of-arrays (SoA) with optional attribute-limited views will yield a net performance benefit compared to leaving the data in AoS.
References
We cannot yet provide a heuristic when conversions pay off.
— Compiler support for semi-manual AoS-to-SoA conversions with data views
(2405.12507 - Radtke et al., 2024) in Section 1 (Introduction)