FIAS . Impressum . Privacy

scattering from Vc::SimdArray

Matthias Kretz [please enable javascript to see the address]
Tue Jun 7 10:14:11 CEST 2016


On Mittwoch, 20. April 2016 11:22:11 CEST Kay F. Jahnke wrote:
> Hi group!
> 
> I have changed a block of code to operate on Vc::SimdArrays instead of
> Vc::Vectors. The Vc::Vector version used scatter(), but Vc::SimdArray
> doesn't have a scatter method.

Oops, it should have. Did I really forget...?

> How should I proceed to have the content of my Vc::SimdArray scattered
> to memory most efficiently?

Patch Vc (take a look at the other functions to see how it's done) & send me a 
pull request on GitHub. Otherwise you'd have to resort to internal API to make 
this work.

Cheers,
  Matthias

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                                https://kretzfamily.de
 GSI Helmholtzzentrum für Schwerionenforschung             https://gsi.de
 SIMD easy and portable                     https://github.com/VcDevel/Vc
──────────────────────────────────────────────────────────────────────────


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