Boost logo

Boost :

Subject: Re: [boost] [parallel_sort] Proposal
From: Christopher Jefferson (chris_at_[hidden])
Date: 2009-02-01 13:14:01


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk