Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Cilk serialization with gcc

leifblaese
Beginner
679 Views

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

0 Kudos
3 Replies
jimdempseyatthecove
Honored Contributor III
679 Views
#define cilk_for for
0 Kudos
leifblaese
Beginner
679 Views
well..that was easy.. -.- thanks.
0 Kudos
Barry_T_Intel
Employee
679 Views
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
0 Kudos
Reply