visual studio 2010 - Cannot compile code using Intel Cilk -


i use intel parallel studio xe 2011 .it says supports cilk.when include cilk_for statement in code not compile.it says symbol undefined.i have included cilk.h @ beginning of code , under include directories put location of cilk.h (c:\program files (x86)\intel\composerxe-2011\compiler\include\cilk).can tell me missing? how can compile code.

my guess not picking cilk header correctly. try using cilk keywords (_cilk_spawn, _cilk_sync, , _cilk_for) instead , see if works without header. if does, @ least know cilk stuff in compiler working , header. try using "#include <cilk/cilk.h>" , using cilk_for see if picks header correctly. shouldn't have specifying location of cilk.h file if set correctly. doing on command line or using microsoft's visual studio? if using ms vs sure specifying use intel compiler?


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -