Was broken after "Optimal tune for 8 cores" patch.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
// Set optimal value for parameter "Minimum Split Depth"
// according to number of available cores.
// Set optimal value for parameter "Minimum Split Depth"
// according to number of available cores.
+ assert(options.find("Threads") != options.end());
assert(options.find("Minimum Split Depth") != options.end());
assert(options.find("Minimum Split Depth") != options.end());
+ Option& thr = options["Threads"];
Option& msd = options["Minimum Split Depth"];
Option& msd = options["Minimum Split Depth"];
+ thr.defaultValue = thr.currentValue = stringify(cpu_count());
+
if (cpu_count() >= 8)
msd.defaultValue = msd.currentValue = stringify(7);
}
if (cpu_count() >= 8)
msd.defaultValue = msd.currentValue = stringify(7);
}