GCC Lands Intel Cilk Plus Multi-Threading Support

Written by Michael Larabel in Intel on 6 November 2013 at 01:09 AM EST. 2 Comments
INTEL
Last month I wrote about the road being clear for Intel Cilk Plus landing in GCC and as of a few days ago the run-time library and Cilk spawn/sync support was finally merged.

Going back years there's been a port of Intel's Cilk Plus multi-threading support to GCC but it hasn't been quick to reach master. Only last month was it approved by the GCC steering committee that the Cilk Plus run-time library can be merged.

As of last week, the _Cilk_spawn and _Cilk_sync keywords were committed followed immediately by the libcilkrts run-time library. There were also a few other GNU Compiler Collection commits concerning the Cilk Plus enablement.

Cilk Plus is an extension of C and C++ to offer easy yet powerful multi-core / vector processing programming. There's three Cilk Plus keywords to make parallel programming easier and efficient. More details on Cilk Plus, which can now be exploited by GCC, can be found via Wikipedia.

Up to now there's been only official support for Cilk Plus parallel programming within Intel's C++ Compiler but LLVM's Clang has also been working on a yet-to-be-merged implementation. It's great to see this OpenMP alternative being yet another feature for the GCC 4.9 compiler release that will likely premiere in H1'2014.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week