FIAS . Impressum . Privacy

Best way to fill an array of Struct of Float_vs with an array of Struct of floats in VC

Matthias Kretz [please enable javascript to see the address]
Wed Aug 26 14:49:06 CEST 2015


On Wednesday 26 August 2015 14:44:35 Krishna Narasimhan wrote:
> But, am I correct in assuming that interleave works only with structures
> that have exactly two entries.

That's one of the abstractions in Vc. The older one. There's a more advanced 
one: 
http://web-docs.gsi.de/~mkretz/Vc-master/classVc_1_1Common_1_1InterleavedMemoryWrapper.html

> From what I read the simdize has the ability
> to load from struct arrays into struct vector arrays.

I don't think I implemented "load"/"store" for simdized types yet. Feel free 
to open an issue on GitHub if you have a use case for it.



More information about the Vc mailing list
FIAS . Impressum . Privacy