- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've done this, but i still have the same problem.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page