You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement array-of-struct-of-array data containers that set the size of the inner arrays as the SIMD width of the executing architecture. This will allow better caching/coalescing of kernel memory and will increase vectorization.
eg
struct AoS {
int x, y, z;
};
AoS[n];
struct SoA {
int x[n], y[n], z[n];
};
struct AoSoA {
int x[VEC_WIDTH], y[VEC_WIDTH], z[VEC_WIDTH];
};
AoSoA[ N / VEC_WIDTH];
The text was updated successfully, but these errors were encountered:
Implement array-of-struct-of-array data containers that set the size of the inner arrays as the SIMD width of the executing architecture. This will allow better caching/coalescing of kernel memory and will increase vectorization.
eg
The text was updated successfully, but these errors were encountered: