So I had never actually tried calling CUDA Fortran code from Intel compiled code. Turned out to be a bit more tricky then I thought. We do some magic during the initialization of the program that's necessary to get the device working properly. Hence, you have to link with the PGI driver to use CUDA Fortran. Here's the steps I did:

Code:

% cat prog.f90
! just call the main test program
program testp
call test()
end program testp