diff --git a/src/field/Field.impl.h b/src/field/Field.impl.h index 39b9b227d76ddb481ceed93bc32feebdef124cf4..c9210691eddd8120c08e39f5811225a67dfbc4f3 100644 --- a/src/field/Field.impl.h +++ b/src/field/Field.impl.h @@ -254,14 +254,14 @@ namespace field { // Automatically select allocator if none was given if ( alloc == 0 ) { - const uint_t alignment = 32; + const uint_t alignment = 64; // aligned allocator only used (by default) if ... if ( l == fzyx && // ... we use a structure of arrays layout _xSize * sizeof(T) > alignment && // ... the inner coordinate is sufficiently large sizeof(T) < alignment && // ... the stored data type is smaller than the alignment alignment % sizeof(T) == 0 ) // ... there is an integer number of elements fitting in one aligned line - alloc = make_shared<AllocateAligned<T,32> >(); + alloc = make_shared<AllocateAligned<T,alignment> >(); else alloc = make_shared<StdFieldAlloc<T> > (); }