bricks: gcc-7 doesn't align variables up to a maximum of 16 bytes
* bricks/brick-shmem: here.
This commit is contained in:
parent
ad005121ae
commit
1fc3d7f935
1 changed files with 4 additions and 0 deletions
|
|
@ -54,8 +54,12 @@
|
|||
#define BRICK_SHMEM_H
|
||||
|
||||
#ifndef BRICKS_CACHELINE
|
||||
#if (__GNUC__ >= 7) // Please new Versions of GCC
|
||||
#define BRICKS_CACHELINE 16
|
||||
#else
|
||||
#define BRICKS_CACHELINE 64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace brick {
|
||||
namespace shmem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue