I’ve some trouble to get OpenMP running in my current CUDA4RC2 Project. I’m using VS2010 and everything compiles fine and OpenMP is working as expected in all c/cpp files.
Unfortunately the omp pragmas in host code inside .cu files are ignored leading to serialized code.
Therefore I’d like to add some “/openmp” flag somewhere to solve this issue, but the Inet only describes how to use “-Xcompile -fopenmp” for linux systems.
The solution for VS2008 is:
Project Properties > Configuration Properties > CUDA Runtime API > Host > Extra C++ Options
to add /openmp
But VS2010 doesn’t have any “Extra C++ options” Field.