Program with mixed OpenMP and CUDA in Visual

Dear All

I have experience in CUDA and OpenMP in Linux. I have also experience in Visual but only some time ago.

Now I trying to made a mixed program in OpenMP and CUDA in Visual. The program only with CUDA (without OpenMP) works. Now I tried to port some CPU code to OpenMP and I am having difficulty.
I included the option /openmp. I included omp.h. And I done only one #pragma omp parallel.
Seems that nvcc filters the #pragma omp parallel and runs only one thread.
CUDA 7.5
Visual Studio 2013

Can anyone give some clue, please?

Thanks

Luis Gonçalves

study the cudaOpenMP sample project on visual studio

Sorry, it is needed also to put /openmp in CUDA settings, Host, Additional Compiler Options