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.

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>

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 =            \

Reply via email to