5 ms·
Cilk Plus is an Intel language extension for expressing parallelism in C and C++: https://www.cilkplus.org https://www.cilkplus.org Mostly it's supported by In
by nkurz 11y ago
Cilk Plus is an Intel language extension for expressing parallelism in C and C++: https://www.cilkplus.org https://www.cilkplus.org
Mostly it's supported by Intel's ICC and ICPC compilers, but I was interested to see that it's been ported to LLVM.
There's a parallel project for GCC as well: https://www.cilkplus.org/build-gcc-cilkplus https://www.cilkplus.org/build-gcc-cilkplus
- dmpk2k 11y agoYou don't need to do any of that last link for GCC 5.0+, which supports the Cilk extensions out of the box.
- nkurz 11y agoWow, I hadn't realized! That makes it dramatically more likely that Cilk will gain some traction. Full support for Cilk Plus has been added to the GCC compiler. Cilk Plus is an extension to the C and C++ languages to support data and task parallelism https://gcc.gnu.org/gcc-5/changes.html https://gcc.gnu.org/gcc-5/changes.html Do you have any idea if support is likely to be built into clang as well?
- dmpk2k 11y agoYes, the moment GCC landed those Cilk extensions, I started using them. The Cilk5 paper was seminal, and modern Cilk incorporates some support for SIMD, so I was delighted when GCC 5 arrived. I don't know what the status for Clang is, but I'd be surprised if they weren't mainlined soon; that's a largely uneducated opinion though...