mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
don't set affinity by default
This commit is contained in:
parent
0008440e25
commit
7d8ef1a9b4
@ -28,7 +28,7 @@ System::System(const Parameter ¶msArg) :
|
||||
|
||||
bestCollector.reset(new OutputCollector());
|
||||
|
||||
params.SetParameter(cpuAffinityOffset, "cpu-affinity-offset", 0);
|
||||
params.SetParameter(cpuAffinityOffset, "cpu-affinity-offset", -1);
|
||||
params.SetParameter(cpuAffinityOffsetIncr, "cpu-affinity-increment", 1);
|
||||
|
||||
const PARAM_VEC *section;
|
||||
|
@ -345,7 +345,7 @@ Parameter::Parameter()
|
||||
"A key-value map for context-sensitive translation.");
|
||||
AddParam(misc_opts, "context-window",
|
||||
"Context window (in words) for context-sensitive translation: {+|-|+-}<number>.");
|
||||
AddParam(misc_opts, "cpu-affinity-offset", "CPU Affinity");
|
||||
AddParam(misc_opts, "cpu-affinity-offset", "CPU Affinity. Default = -1 (no affinity)");
|
||||
AddParam(misc_opts, "cpu-affinity-increment",
|
||||
"Set to 1 (default) to put each thread on different cores. 0 to run all threads on one core");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user