Skip to content
Snippets Groups Projects
Commit 2ee3cf33 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Applied code formatting script

parent a7621709
Branches
Tags
No related merge requests found
......@@ -278,7 +278,8 @@ int main(int argc, char *argv[]) {
OPT_BOOLEAN('a', "pin", &with_aff,
"Pin runners using processor affinity.", NULL, 0, 0),
OPT_BOOLEAN(0, "interleave", &with_interleave,
"Interleave memory allocations across NUMA regions.", NULL, 0, 0),
"Interleave memory allocations across NUMA regions.", NULL, 0,
0),
OPT_BOOLEAN('d', "dry-run", &dry_run,
"Dry run. Read the parameter file, allocates memory but does "
"not read the particles from ICs. Exits before the start of "
......
......@@ -2715,7 +2715,7 @@ void engine_unpin(void) {
#endif
}
/**
/**
* @brief Define a NUMA memory placement policy of interleave across the
* available NUMA nodes rather than having memory in the local node, which
* means we have a lot of memory associated with the main thread NUMA node, so
......@@ -2761,7 +2761,7 @@ void engine_numa_policies(int rank, int verbose) {
}
/* And set. */
set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size+1);
set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size + 1);
numa_free_nodemask(nodemask);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment