Skip to content

Add helper functions to SOAZip to loop over SOACollection of zips and non-zips with identical code

Michel De Cian requested to merge decianm-addScalarSIMDHelpersSOAZip into master

Adds two functions scalar() and simd() that can be used to loop over SOACollections of zips in the same way as for non-zips, e.g.

for( auto thing : things.simd() ) {...}

where things is either an SOACollection or a zip of SOACollections.

@ahennequ

Edited by Michel De Cian

Merge request reports