• Lorenz Hüdepohl's avatar
    AVX kernels need aligned memory · 59e405e0
    Lorenz Hüdepohl authored
    For the Intel compiler, this was assured with the pragma
    
      !DEC$ ATTRIBUTES ALIGN: 64:: a
    
    however, other compilers such as gcc of course did not honour this,
    which could result in SIGSEGVs in case the variable was not aligned to
    32 bytes (by chance!).
    
    This fixes issue #11, thanks to Nico Holmberg for reporting this.
    59e405e0
aligned_mem.F90 535 Bytes