I have a very simple CUDA fortran code.
! simple.f90
module simple
implicit none
real, allocatable, device :: a_dev(:)
end module
When I compile it with both debug and rdc option on, an error occurs.
[heehoon]$ pgf90 -Mcuda=cc60,debug,rdc -c simple.f90
ptxas fatal : Internal error: section not found
PGF90-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (simple.f90: 1)
PGF90/x86-64 Linux 17.4-0: compilation aborted
If one of options is off, it is compiled without error.
Is it expected behaviour?