1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Intel Cilk Plus Multi-Threading Support Going Into GCC

Compiler

Published on 08 October 2013 04:28 PM EDT
Written by Michael Larabel in Compiler
1 Comment

This morning there was news of Intel committed their open-source OpenMP Run-Time Library as a new LLVM project. Now this afternoon there's more good news for multi-threading in open-source compilers: the GCC steering committee will allow Intel to add their Cilk+ Runtime Library to the GCC code-base as they add multi-threading Cilk Plus C/C++ support to the compiler.

Cilk Plus is an extension to C and C++ to allow for multi-threaded parallel computing. The language extensions make it easier for 32-bit and 64-bit task and data parallelism. The Cilk+ language extensions principally come down to new cilk_for, cilk_spawn, and cilk_sync keywords for allowing loop bodies to execute in parallel, function calls to execute asynchronously, and waiting for all spawned calls in a function to complete, respectively.

Cilk Plus has been supported by Intel's in-house compiler while they have committed to open-source support in both GCC and LLVM/Clang. Back in 2011 we first wrote about Intel porting Cilk Plus to GCC, then in August of last year that Intel was close to wanting to merge the support, and at the end of last year Intel was waiting for the code to merge.

Intel has the support ready to land and last month sent out new patches for introducing the Cilk_spawn and Cilk_sync keywords into the C and C++ compilers. However, besides the compiler changes, there's also the needed run-time support for Cilk Plus binaries. Intel has already made the run-time library available under the GPLv3 and BSD-3 licenses for GCC and LLVM/Clang, respectively. However, Intel had to wait on permission from the GCC steering committee to introduce a foreign library.

As of today, Red Hat's Jeff Law has shared on the GCC mailing list that the steering committee for the GNU Compiler Collection has approved adding the Cilk+ Runtime System into the GCC repository.

With all of that said, hopefully the code push of the run-time support plus new Cilk Plus keywords will happen soon thus making Intel Cilk Plus multi-threading support a feature of GCC 4.9, which should be released in H1'2014.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  2. Atomic Mode-Setting Still Baking For Samsung's Exynos DRM Driver
  3. Ubuntu Phone Update This Month Brings Many Improvements
  4. Fedora's "Fedup" To Be Replaced In Fedora 23
  5. Android M Should Bring Greater Performance & Efficiency
  6. AMD Teases Upcoming Radeon "Fiji" GPU Launch
  7. Dell Makes An Ubuntu Installation Guide, Suggests Users Try It Out
  8. Running Linux On The Intel Compute Stick
  9. AMD Launches The A10-7870K "Godavari" APU
  10. Linux 4.1 Kernel Benchmarks With An Intel Core i7 IVB System
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  2. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  3. Systemd 220 Has Finally Been Released
  4. Zapcc Claims To Be A "Much Faster C++ Compiler"
  5. LibreOffice 5.0 Beta 1 Released
  6. OpenWRT 15.05 Preparing Improved Security & Better Networking
  7. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  8. Ubuntu's LXD vs. KVM For The Linux Cloud