I am trying to complile a simple CUDA code with pgfortran.
attributes(global) subroutine S end subroutine S program P call S<<1, 1>> end program P
As a result, I have this:
# pgfortran test.cuf In function 'p`: /..././test.cuf: undefined reference to 's_`
I am using PGI workstation 10.3
# pgaccelinfo CUDA Driver Version 3020 Device name: Tesla C2050
pgfortran -c test.cuf compiled without any errors
Is there incompatibility between libraries? I have no idea.