开发者

technical problem using intel parallel studio with cilk_spawn

开发者 https://www.devze.com 2023-03-22 15:40 出处:网络
I work with intel parallel studio 2011 and I included: #include <cilk/cilk.h> which seemed to be included j开发者_高级运维ust fine.

I work with intel parallel studio 2011 and I included:

#include <cilk/cilk.h>

which seemed to be included j开发者_高级运维ust fine.

Then I tried using the command:

cilk_spawn (and also _Cilk_spawn)

and got the following error:

Error: identifier "_Cilk_spawn" is undefined.

Does anyone know how to solve this problem?


"Some mysterious problem with the text view which makes look like it is a syntax error" which you refer to in the comment probably means that Microsoft's Intellisense cannot recognize Cilk keywords, which are Intel's extension to C/C++.

I was unable to find any fix or workaround for that, so suggest you ask at Intel's Cilk Plus forum; maybe Intel Parallel Studio can take care of it. Also see a bug report to Microsoft.

0

精彩评论

暂无评论...
验证码 换一张
取 消