Hi ghandurah,
can this -Mcuda option be used for C code compiled with -ta=nvidia? or is it for CUDA fortran only?
“-Mcuda” is for CUDA Fortran only. For CUDA C, you will need to use NVIDIA’s nvcc.
“-ta=nvidia” can be used with either C or Fortran but only with PGI’s Accelerator directive/pragma model. The accelerator model is distinct from CUDA Fortran.
Please see my response to your other post on how to use the “keepgpu” flag.
- Mat