Yesterday I got fresh version of XE Composer 2013 (finally...). After painless installation, I have turned on the library [Intel Composer XE 2013 - > Use Intel C++]. Furthermore I have set up additional Include Directories: .../mkl/include & ...compiler/include.
Of course I haven't forgotten about the headers -> #include <cilk\cilk.h>.
So after all of this, Visual Studio 2010 is still showing me the error - "_Cilk_for" is undefined, the same for "spawn" and "sync". Why?
Additionally, since I am writing my code in C, I wanted to use C99 standard, but there is also a problem. "Enable C99 support - > Yes (/Qstd = c99)".
When call a loop :
for(int i, ...)
VS tells me that I cannot typedef int i, inside a loop - so C99 is not working.
What have I done wrong? Thank you for all replies.
PS. Before I have been using intel MKL, without rest of the XE Composer package - no problems there.