Cilk functions don't work

Cilk functions don't work

I work with intel parallel studio 2011 and I included:

#include 

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?

Thanks!!!

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya