Skip to content
Snippets Groups Projects
Commit 46607528 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

store the rid only if required.

parent e013f493
Branches
Tags
1 merge request!273Lean tasks
......@@ -1231,7 +1231,9 @@ void *runner_main(void *data) {
/* Get the cells. */
struct cell *ci = t->ci;
struct cell *cj = t->cj;
#ifdef SWIFT_DEBUG_TASKS
t->rid = r->cpuid;
#endif
/* Check that we haven't scheduled an inactive task */
#ifdef SWIFT_DEBUG_CHECKS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment