Cilk functions don't work

Cilk functions don't work

I work with intel parallel studio 2011 and I included:


which seemed to be included just 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?


3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The Intel Cilk Plus extension to C++ is only supported by the Intel C/C++ compiler, soyou must convert your project to use the Intel C++ compiler. If you right-click on theproject, there should be an option in the context menu to let you do this. Something like "Intel C++ Composer XE 2011" -> "Use Intel C++..."

- Barry

I've done this, but i still have the same problem.

Leave a Comment

Please sign in to add a comment. Not a member? Join today