Do not use _Pragma in code blocks with CUDA

The current CUDA compiler is crashing when using _Pragma in code blocks, which were being used with clang on apple. Turn these off when compiling with CUDA.

Merge request reports

Loading