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

cilkify a for loop

newport_j
Beginner
445 Views
If you have a loop where the incremental part - the third part reads

JZb=JZb+ISGN

and ISGN while an integer is not neccessarily 1.

Then you cannot cilkify that loop. I see no way. It remains a for loop.

Any help appreciated. Thanks in advance.

Newport_j
0 Kudos
1 Reply
Barry_T_Intel
Employee
445 Views

I get the following error message:

newport_j_step.c(11): error: _Cilk_for increment must be one of operators ++, --, +=, or -=

Like the message says, you need to use the form

 JZb+=ISGN

- Barry

0 Kudos
Reply