
1 Feb
2009
1 Feb
'09
6:14 p.m.
On 1 Feb 2009, at 17:49, Edouard A. wrote:
Howdy,
If you don't care to customize, no problem! Just write:
parallel_sort<2>(v.begin(), v.end()); // sort with 2 threads
Does templating on the number of threads produce a large gain, as opposed to making it a run-time option? Having to compile separate executables for different numbers of cores seems a bit limiting. Chris