scattering from Vc::SimdArray
Kay F. Jahnke
[please enable javascript to see the address]
Sat Jun 11 11:26:24 CEST 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimdArray_scatter.patch
Type: text/x-patch
Size: 3410 bytes
Desc: not available
URL: <http://compeng.uni-frankfurt.de/pipermail/vc/attachments/20160611/de44d94c/attachment.bin>
More information about the Vc
mailing list