Cilk serialization with gcc

Cilk serialization with gcc

Imagen de leifblaese

Hi,

the Cilk User Guide states that in order to serialize Cilk-code you have to compile with the flag -cilk-serialize when using an Intel compiler. Is there a similar flag for the gcc version?

regards,

leif

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de jimdempseyatthecove

#define cilk_for for

www.quickthreadprogramming.com
Imagen de leifblaese

well..that was easy.. -.-
thanks.

Imagen de Barry Tannenbaum (Intel)

The official answer is you're supposed to include cilk_stub.h, which will define macros for all the Cilk keywords. I believe that the GCC option to do this is

-include cilk_stub.h

- Barry

Inicie sesión para dejar un comentario.