How can openmp support be used in the Nsight Eclipse environment

The following error occurred when I was using a cross-compilation environment, and I wasn’t sure which configuration bar to add “-fopenmp”.

/usr/bin/ld: ./src/main.o: undefined reference to symbol ‘omp_set_nested@@OMP_1.0

Hi,

You can set some customized compiler config here:

Properties -> Build -> Settings -> Tool Settings -> NVCC Compiler -> Expert Settings.

Thanks.

Thank you very much for your clarification