This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [wwwdocs] RFC - mention Cilk Plus in the GCC 4.9 release notes
- From: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- To: Tobias Burnus <burnus at net-b dot de>, Andi Kleen <andi at firstfloor dot org>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Sat, 8 Mar 2014 20:38:02 +0000
- Subject: RE: [wwwdocs] RFC - mention Cilk Plus in the GCC 4.9 release notes
- Authentication-results: sourceware.org; auth=none
- References: <531B60A4 dot 7050209 at net-b dot de> <alpine dot LSU dot 2 dot 11 dot 1403081927560 dot 7314 at tuna dot site> <BF230D13CA30DD48930C31D4099330003A522CE5 at FMSMSX101 dot amr dot corp dot intel dot com> <531B6E35 dot 3050803 at net-b dot de> <BF230D13CA30DD48930C31D4099330003A524D09 at FMSMSX101 dot amr dot corp dot intel dot com> <87zjl05uo7 dot fsf at tassilo dot jf dot intel dot com> <87vbvo5u0h dot fsf at tassilo dot jf dot intel dot com> <531B7E49 dot 8060406 at net-b dot de>
> -----Original Message-----
> From: Tobias Burnus [mailto:burnus@net-b.de]
> Sent: Saturday, March 8, 2014 3:32 PM
> To: Andi Kleen; Iyer, Balaji V
> Cc: Gerald Pfeifer; gcc-patches; Jakub Jelinek
> Subject: Re: [wwwdocs] RFC - mention Cilk Plus in the GCC 4.9 release notes
>
> Am 08.03.2014 21:13, schrieb Andi Kleen:
> > Also it would be good to specify exactly what parts of Cilk are
> > supported currently. It's some what hard to figure out.
>
> My understanding is that everything but cilk_for is supported.
Yes you are correct.
>
> > One trap I ran into (perhaps naively) is that I tried to use
> > cilk_spawn (as documented in some tutorials) instead of _Cilk_spawn
>
> It should work with:
> #include <cilk.h>
^ should be cilk/cilk.h
>
I responded more details in my previous email..
> However, the following file is not installed: libcilkrts/include/cilk/cilk.h I think
> something like the following should work (untested).
>
> Tobias
>
> --- a/libcilkrts/Makefile.am
> +++ b/libcilkrts/Makefile.am
> @@ -53,4 +53,5 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
> # Target list.
> toolexeclib_LTLIBRARIES = libcilkrts.la
> +nodist_libsubinclude_HEADERS = include/cilk/cilk.h
>
> libcilkrts_la_SOURCES = \