Skip to content
Snippets Groups Projects
Commit f4f49216 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Worker] Align 'seed' to cache line

parent 8b6f879c
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// Copyright © 2020 Florian Schmaus // Copyright © 2020 Florian Schmaus
#pragma once #pragma once
#include "Common.hpp"
#include "emper-common.h" #include "emper-common.h"
class Runtime; class Runtime;
...@@ -12,7 +13,7 @@ class Worker { ...@@ -12,7 +13,7 @@ class Worker {
const workerid_t workerId; const workerid_t workerId;
unsigned int seed; ALIGN_TO_CACHE_LINE unsigned int seed;
Worker(workerid_t workerId, unsigned int seed) : workerId(workerId), seed(seed) {} Worker(workerid_t workerId, unsigned int seed) : workerId(workerId), seed(seed) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment