[cfe-dev] Cilk Plus extensions in LLVM/Clang

Langmuir, Ben ben.langmuir at intel.com
Thu Feb 28 12:52:24 PST 2013


Hi Hal,

A porting guide is a great idea, and I would love to see Cilk Plus used on more platforms.  I think we can start by describing at a high-level what the architecture-specific parts of the compiler and runtime are.  This could live on a wiki page so anyone interested in porting Cilk Plus can contribute. Does that seem like a reasonable first step?

Ben

-----Original Message-----
From: Hal Finkel [mailto:hfinkel at anl.gov] 
Sent: Wednesday, February 27, 2013 11:14 PM
To: Langmuir, Ben
Cc: Pan, Wei; Zhang, Andy; Du Toit, Stefanus; Douglas Gregor; Clang Developer's Mailing List
Subject: Re: Cilk Plus extensions in LLVM/Clang

Ben,

This is great news! Thanks for making sure this ended up in the open.

Now what I'd like is some kind of (perhaps informal) "porting guide" for the compiler and the runtime. I'll want to get this working on other architectures, operating systems, etc.

 -Hal

----- Original Message -----
> From: "Ben Langmuir" <ben.langmuir at intel.com>
> To: "Clang Developer's Mailing List" <cfe-dev at cs.uiuc.edu>
> Cc: "Wei Pan" <wei.pan at intel.com>, "Andy Zhang" <andy.zhang at intel.com>, "Stefanus Du Toit"
> <stefanus.du.toit at intel.com>, "Hal Finkel" <hfinkel at anl.gov>, "Douglas 
> Gregor" <dgregor at apple.com>
> Sent: Wednesday, February 27, 2013 11:06:35 AM
> Subject: Cilk Plus extensions in LLVM/Clang
> 
> 
> 
> 
> Hi all,
> 
> 
> 
> The Cilk Plus developers at Intel are pleased to announce that our 
> in-progress implementation of the Cilk Plus C/C++ language extensions 
> in Clang/LLVM is now available on Github:
> 
> 
> 
> http://cilkplus.github.com/
> 
> 
> 
> You may recall that Cilk Plus in Clang was previously discussed here:
> http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-November/thread.html#2
> 5495 , including the reasons for hosting it out of tree. We are 
> committed to continuing development in the open, and we would 
> appreciate any feedback from the community on the design or 
> implementation!
> 
> 
> 
> Repository Info
> 
> ===============
> 
> 
> 
> The code is available in the "cilkplus" branch of each of the 
> following git repositories:
> 
> 
> 
> http://github.com/cilkplus/clang - This repo contains the C/C++ core 
> language extensions (i.e. the tasking keywords).
> 
> http://github.com/cilkplus/compiler-rt - This repo contains a copy of 
> the Cilk Plus runtime library distributed under a BSD 3-clause 
> license.
> 
> http://github.com/cilkplus/llvm - Mostly used to keep our Clang branch 
> synced to a reasonable LLVM revision; it also contains a small 
> Cilk-specific optimization pass.
> 
> 
> 
> Our changes are kept in sync with llvm.org's master branch, and are 
> typically within two weeks of trunk.
> 
> 
> 
> Status
> 
> ======
> 
> 
> 
> This code currently supports the _Cilk_spawn and _Cilk_sync tasking 
> keywords, as well as hyperobjects and the runtime library. The status 
> is summarized at http://cilkplus.github.com/#status .
> 
> 
> 
> The implementation of _Cilk_spawn uses our original implementation of 
> captured statements. We recently proposed this feature to cfe-dev for 
> inclusion in trunk, and an improved version of captured statements is 
> currently in review. We hope to continue upstreaming improvements that 
> are valuable to the broader Clang community into trunk as they come 
> up.
> 
> 
> 
> Regards,
> 
> 
> 
> Ben Langmuir
> 
> 
> 
> Software Developer
> 
> Intel
> 
> 




More information about the cfe-dev mailing list