Intel Cilk Plus Support Continues For GCC
Written by Michael Larabel in Compiler on 16 November 2013 at 02:24 AM EST. 7 Comments
As some more positive news for the GCC compiler after writing how NVIDIA and Mentor Graphics could harm the open-source compiler, Intel engineers are continuing to work on improving the Cilk Plus implementation.

As of earlier this month, Intel landed Cilk Plus multi-threading support in GCC ahead of next year's 4.9 release. Cilk Plus aims to make parallel programming easier. With the initial GCC support there was the new Cilk Plus open-source run-time library added plus the cilk_spawn and cilk_sync keywords. The cilk_spawn keyword allows calling a function that can execute in parallel with the caller while cilk_sync ensures all child function calls spawned have finished before proceeding.

The third and only other programming keyword to Cilk Plus is cilk_for, which turns for-loops into parallel for-loops to execute simultaneously across all available CPU cores. Support for cilk_for is Intel's latest GCC contribution.

As of Friday there's a Cilk_for patch for C and C++ sitting on the GCC mailing list. This final bit of Cilk Plus enablement will hopefully be in great shape for the GCC 4.9 compiler update in 2014.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Compiler News
Popular News
Trending Reviews & Featured Articles