Release mode cannot be used in CUDA code?

I’ve tried to program CUDA code by using PGI Accelerator Fortran. My GPU is GT640.

If I chose ‘Debug’ mode, the code run fine. However, some errors occurs and the it cannot be successfully compiled. Does anyone also encounter such problem or CUDA code cannot be compiled and run under ‘Release Mode’?

Hi zhanyun,

There’s nothing inherent in ‘Release’ mode that would inhibit CUDA compilation. Can you please give more detail about the specific errors you are encountering?