don't set affinity by default

This commit is contained in:
Hieu Hoang 2016-06-22 00:14:35 +01:00
parent 0008440e25
commit 7d8ef1a9b4
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ System::System(const Parameter &paramsArg) :
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;

View File

@ -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");