bricks: gcc-7 doesn't align variables up to a maximum of 16 bytes

* bricks/brick-shmem: here.
This commit is contained in:
Etienne Renault 2017-03-17 13:34:42 +01:00
parent ad005121ae
commit 1fc3d7f935

View file

@ -54,8 +54,12 @@
#define BRICK_SHMEM_H #define BRICK_SHMEM_H
#ifndef BRICKS_CACHELINE #ifndef BRICKS_CACHELINE
#if (__GNUC__ >= 7) // Please new Versions of GCC
#define BRICKS_CACHELINE 16
#else
#define BRICKS_CACHELINE 64 #define BRICKS_CACHELINE 64
#endif #endif
#endif
namespace brick { namespace brick {
namespace shmem { namespace shmem {