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!!!

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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.

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen