Question on the Status of Cilk Plus Support in GCC Mainline

Question on the Status of Cilk Plus Support in GCC Mainline

Hi,

I read from the GCC 4.9.0 release notes that http://gcc.gnu.org/gcc-4.9/changes.html

Support for Cilk Plus has been added and can be enabled with the -fcilkplus option. Cilk Plus is an extension to the C and C++ languages to support data and task parallelism. The present implementation follows ABI version 1.2; all features but _Cilk_for have been implemented.

I wonder if _Cilk_for is the only feature that is missing from the GCC 4.9.0 release as well as the mainline branch.

Another question is about the libcilkplus in the GCC.  For patches to libcilkplus in GCC, is http://www.cilkplus.org/submit-cilk-contribution still the right place to submit a patch? If yes, how often is the GCC libcilkplus synced with the upstream version?

Thanks,
Yufeng
 

8 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply

Unfortunately, the metadata needed by Cilkscreen and Cilkview are also missing from GCC 4.9. We're working with the GCC maintainers to resolve both of these problems.

Yes, the cilkplus.org website is correct place to submit patches. I will submit the patch to GCC as soon as possible. I will also post the updated runtime source at the cilkplus.org website, and in the public git repository.

    - Barry

 

Quote:

Barry Tannenbaum (Intel) wrote:

Unfortunately, the metadata needed by Cilkscreen and Cilkview are also missing from GCC 4.9. We're working with the GCC maintainers to resolve both of these problems.

Yes, the cilkplus.org website is correct place to submit patches. I will submit the patch to GCC as soon as possible. I will also post the updated runtime source at the cilkplus.org website, and in the public git repository.

 

Thank you for the clarification; very helpful.

Btw, can you point to me where the public git repository lives please? I only managed to find the cilkplus on github which targets llvm: https://github.com/cilkplus/

Thanks,
Yufeng

 

The git repository for the Cilk Plus runtime is available at https://intelcilkruntime@bitbucket.org/intelcilkruntime/intel-cilk-runti... . It should be in sync with the sources posted at http://www.cilkplus.org/download#runtime-sources .

   - Barry

P.S. I've added a pointer to the git repository to the runtime source section of the website. Thanks for bringing the oversight to my attention.

Thank you Barry!

Regards,
Yufeng

Hi.

Does anyone knows where I can find a GCC repository with experimental _Cilk_for support, or latest patches maybe?

Thanks.

cilk_for has been in gcc 5.0 and 6.0 for some time.  Still, I haven't had much success with it, and it's not clear how much attention is given to bugzilla reports.

I put my investigations of CilkPlus on hold, pending two show-stopping restrictions being lifted, both in the areas of array-handling (one of which was a limitation in gcc, and the other one in cilk_for).  As far as I know, neither has been.  As I am retiring shortly, I am unlikely to pursue the matter.

Leave a Comment

Please sign in to add a comment. Not a member? Join today