cilkify a for loop

cilkify a for loop

Bild des Benutzers newport_j

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

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Barry Tannenbaum (Intel)

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

Melden Sie sich an, um einen Kommentar zu hinterlassen.