Re:Cilk++ for Linux is available for download (multithread p...
by lutorm on Wednesday December 24, 2008 @07:07PM
(#409265)
Can someone who knows about the thing tell me how it's different from OpenMP? Their little example of accelerating a loop, at least, looks much like a standard OpenMP case.
[ Parent
| on HN ]
Re:Cilk++ for Linux is available for download (multithread p...
by threadman on Thursday December 25, 2008 @07:39AM
(#409564)
1. Cilk++ has nested parallelism that works and provides guaranteed speed-up. OpenMP has nested parallelism, but it is a memory hog and not reliable.
2. Cilk++ guarantees space bounds. On P processors, Cilk++ uses no more than P times the stack space of a serial execution. In OpenMP, not so.
3. Cilk++ has a race detector for debugging and software release. With OpenMP, you are on your own.
4. Cilk++ has serial semantics. With OpenMP, you do not have this benefit – only a subset of OpenMP supports serial semantics.
5. Cilk++ has a solution for global variables (a construct called "hyperobjects"). OpenMP does not.