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