cilkify a for loop

cilkify a for loop

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 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

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

登陆并发表评论。