Software Archive
Read-only legacy content
17061 Discussions

Question on the Status of Cilk Plus Support in GCC Mainline

Yufeng_Z_
Beginner
1,372 Views

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
 

0 Kudos
1 Solution
Barry_T_Intel
Employee
1,372 Views

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

 

View solution in original post

0 Kudos
7 Replies
Barry_T_Intel
Employee
1,373 Views

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

 

0 Kudos
Yufeng_Z_
Beginner
1,372 Views

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

 

0 Kudos
Barry_T_Intel
Employee
1,372 Views

The git repository for the Cilk Plus runtime is available at https://intelcilkruntime@bitbucket.org/intelcilkruntime/intel-cilk-runtime.git . 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.

0 Kudos
Yufeng_Z_
Beginner
1,372 Views

Thank you Barry!

Regards,
Yufeng

0 Kudos
Constantine
Beginner
1,372 Views

Hi.

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

Thanks.

0 Kudos
TimP
Honored Contributor III
1,372 Views

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.

0 Kudos
Nick_M_3
New Contributor I
1,372 Views

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.

0 Kudos
Reply