<div dir="ltr"><div>Hi,<br><br></div>Is it possible to use an Arrays of Structs of Arrays (AOSOA) configuration using DMDAs? Something like <br><br><pre>struct node {
  float var1[16], var2[16], var3[16];
}</pre>Instead of <br><pre>struct node {
  float var1, var2, var3;
} <br></pre><pre>as is the usual way of using DMDAs.<br></pre><pre>The global grid size of say a 2D grid would then decrease from NxN to (N/16)xN<br></pre><pre>I'm interested in doing this for ease of vectorization as described in <br>
<a href="http://software.intel.com/en-us/articles/memory-layout-transformations">http://software.intel.com/en-us/articles/memory-layout-transformations</a><br><br></pre><pre>Thanks,<br>Mani<br></pre></div>