<p dir="ltr">Am working on 0.7. Any particular exampke where you load such structures into vectors? </p>
<div class="gmail_quote">On Aug 26, 2015 12:18 PM, "Matthias Kretz" <<a href="mailto:m.kretz@gsi.de">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">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>