Skip to content
Snippets Groups Projects
Commit 71b2986d authored by James Willis's avatar James Willis
Browse files

Use generic SWIFT structure alignment for runner.

parent cf768834
No related branches found
No related tags found
1 merge request!396Avx512 fixes
......@@ -460,7 +460,7 @@ int main(int argc, char *argv[]) {
engine.ti_current = 8;
engine.max_active_bin = num_time_bins;
if (posix_memalign((void **)&runner, part_align, sizeof(struct runner)) !=
if (posix_memalign((void **)&runner, SWIFT_STRUCT_ALIGNMENT, sizeof(struct runner)) !=
0) {
error("couldn't allocate runner");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment