Commit 314d38c0 authored by Etienne Renault's avatar Etienne Renault

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

* bricks/brick-shmem: here.
parent 31af5280
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment