Generality of the observed detrimental impact of loop blocking and sorting under view-based SoA conversion
Ascertain whether the observed detrimental effect of loop blocking and explicit data sorting, when using compiler-guided temporary SoA views, persists across different particle struct sizes, deeper memory hierarchies, and algorithms with significant long-range interactions.
References
However, it is not clear if we can uphold this observation for all particle types, i.e. number of struct members, deeper memory hierarchies or other algorithms. Notably SPH algorithm flavours with a lot of long-range interactions might behave different if the "long-range data" falls out of L3 cache.
— Annotation-guided AoS-to-SoA conversions and GPU offloading with data views in C++
(2502.16517 - Radtke et al., 23 Feb 2025) in Section 6.2 Results — Data transformation impact