CUDA and Fortran

I am new at this so please bear with me…
I’ve been trying to compile the example “FORTRAN interface with CUDA kernel” (ie Fortran_Cuda.tgz) and i am having some serious difficulty. I was hoping someone would be able to give me a step-by-step of how they did it?
Thank you!