<div dir="ltr">Matthias,<div><br></div><div>As far as I know, in the current implementation you can use *scatter* and *gather* for these operations.</div><div>Please correct me If this is a misconception.</div><div><br></div><div>If I'm on the right track on this, could you provide some code examples that relate</div><div>to what Krishna has in mind? It could be contained in the documentation also.</div><div>We would both appreciate it.<br></div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Jaroslav Malec<br></div><div><br></div><div>tel. 731 160 847</div></div></div></div>
<br><div class="gmail_quote">2015-08-26 12:20 GMT+02:00 Krishna Narasimhan <span dir="ltr"><<a href="mailto:krishna.nm86@gmail.com" target="_blank">krishna.nm86@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Am working on 0.7. Any particular exampke where you load such structures into vectors? </p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Aug 26, 2015 12:18 PM, "Matthias Kretz" <<a href="mailto:m.kretz@gsi.de" target="_blank">m.kretz@gsi.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Krishna,<br>
<br>
On Thursday 13 August 2015 16:48:16 Krishna Narasimhan wrote:<br>
> Struct A{<br>
> float a,b,c<br>
> }<br>
><br>
> Struct A_v<br>
> {<br>
> float_v a_v,b_v,c_v<br>
> }<br>
><br>
> void main()<br>
> {<br>
> A a = new A[1000];<br>
> A_v a_v = new A_v[1000/float_v::Size]<br>
> // Assume here there is a code that populates a with values<br>
><br>
> I want to write a code here which would basically move values of a into<br>
> a_v because deinterleave doesnt work. Is there a form of fill() or store()<br>
> or load() I can use here?<br>
<br>
I have written lots of such code for Vc. I recommend you take a look at Vc<br>
master. Are you currently working on 0.7 or on master?<br>
<br>
In any case. Your mail prompted me to work on my documentation. I'll hopefully<br>
have a new section on Vc::simdize<T> up today. I'll let you know.<br>
<br>
Cheers,<br>
Matthias<br>
<br>
_______________________________________________<br>
Vc mailing list<br>
<a href="mailto:Vc@compeng.uni-frankfurt.de" target="_blank">Vc@compeng.uni-frankfurt.de</a><br>
<a href="https://compeng.uni-frankfurt.de/mailman/listinfo/vc" rel="noreferrer" target="_blank">https://compeng.uni-frankfurt.de/mailman/listinfo/vc</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Vc mailing list<br>
<a href="mailto:Vc@compeng.uni-frankfurt.de">Vc@compeng.uni-frankfurt.de</a><br>
<a href="https://compeng.uni-frankfurt.de/mailman/listinfo/vc" rel="noreferrer" target="_blank">https://compeng.uni-frankfurt.de/mailman/listinfo/vc</a><br>
<br></blockquote></div><br></div>