FIAS . Impressum . Privacy

scattering from Vc::SimdArray

Matthias Kretz [please enable javascript to see the address]
Thu Jun 16 10:04:11 CEST 2016


Perfect. This looks exactly right. Now all that's missing is a unit test, but 
that'll be easy enough for me to add.

Thanks!

Cheers,
  Matthias

On Samstag, 11. Juni 2016 11:26:24 CEST Kay F. Jahnke wrote:
> Am 07.06.2016 um 10:14 schrieb Matthias Kretz:
> > 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.
> 
> Sorry, no pull request, but I have a patch; see attached file.
> 
> I hope this does the trick (works here) - I didn't really quite
> understand what is going on, just copy and pasted, really...
> 
> with regards
> Kay


-- 
──────────────────────────────────────────────────────────────────────────
 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