[Cplex] Integrating OpenMP and Cilk into C++

Pablo Halpern lwg at halpernwightsoftware.com
Wed Jun 26 21:08:37 CEST 2013


On 6/25/2013 5:28 AM, Al Grant wrote:
>
> Cilk Plus does a better job of percolating exceptions up to the spawning
> task, but the description in
>
> http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-4E7C022C-557B-4366-9F67-30AAD4C2C6E1.htm
> suggests there are some non-obvious issues with exception-handling
> regions stopping parallelism happening – they have a workaround
> involving a 1-iteration cilk_for loop.  I would hope this wouldn’t be
> necessary in any standardized language features.

The proposal we are preparing for the C++ committee does not have this 
wart.  Instead, each try block would comprise a task block, eliminating 
the need to sync before entering a try block.

-Pablo




More information about the Cplex mailing list