Commit acaed9cf authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

hard-code a finer grained chunk size.

parent 63098d78
......@@ -3640,7 +3640,8 @@ void engine_unskip(struct engine *e) {
/* Activate all the regular tasks */
threadpool_map(&e->threadpool, runner_do_unskip_mapper, e->s->cells_top,
e->s->nr_cells, sizeof(struct cell), 0, e);
e->s->nr_cells, sizeof(struct cell),
e->s->nr_cells / (e->threadpool.num_threads * 20), e);
/* And the top level gravity FFT one */
if (e->s->periodic && (e->policy & engine_policy_self_gravity))
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