Software Archive
Read-only legacy content
17061 토론

Question on the Status of Cilk Plus Support in GCC Mainline

Yufeng_Z_
초급자
1,981 조회수

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 포인트
1 솔루션
Barry_T_Intel
직원
1,981 조회수

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 포인트
7 응답
Barry_T_Intel
직원
1,982 조회수

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 포인트
Yufeng_Z_
초급자
1,981 조회수

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 포인트
Barry_T_Intel
직원
1,981 조회수

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 포인트
Yufeng_Z_
초급자
1,981 조회수

Thank you Barry!

Regards,
Yufeng

0 포인트
Constantine
초급자
1,981 조회수

Hi.

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

Thanks.

0 포인트
TimP
명예로운 기여자 III
1,981 조회수

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 포인트
Nick_M_3
새로운 기여자 I
1,981 조회수

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 포인트
응답