Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

FORTRAN CUDA basics

PRADEEP_KUMAR_P_
Beginner
1,485 Views

Hi,
I am interested in developing a FORTRAN code with CUDA routines. I can get few sample programs but i dont knw how to compile the cuda based fortran code in Intel fortran compiler. How can i compile a CUDA based fortran code? 
Should i link library files to intel ?
does the compiling code (ifort _____.f) varies for a CUDA based code ? 
Please guide me to get the solution. 
Thanks in advance. 

0 Kudos
1 Reply
TimP
Honored Contributor III
1,485 Views

You will find references on the method of calling functions built in nvcc from ifort via iso_c_binding. You must use the nvidia software installation.  

 Pgi offers cuda facilities for Fortran but it's not interoperable with Intel compilers.

0 Kudos
Reply