Commit 186fee40 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

align cell_buff to 32 bytes, makes swapping more efficient at the cost of four more bytes.

parent d71008ff
...@@ -56,7 +56,7 @@ extern int cell_next_tag; ...@@ -56,7 +56,7 @@ extern int cell_next_tag;
struct cell_buff { struct cell_buff {
double x[3]; double x[3];
int ind; int ind;
}; } SWIFT_STRUCT_ALIGN;
/* Mini struct to link cells to tasks. Used as a linked list. */ /* Mini struct to link cells to tasks. Used as a linked list. */
struct link { struct link {
......
Supports Markdown
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