Hello everyone,
I have a large project, the makefile of which uses ifort, I would not like to remake everything for the nvfortran or pgf90 compilers, however, I have separate objects that are built by means pgf90/nvfortran, the subroutines of which can speedup my program by using gpu. How can I use these objects in the main project?
Schematically:
pgf90/nvfortran -c file_1.cuf
pgf90/nvfortran -c file_2.cuf (which uses file_1)
ifort -c main.f90
ifort file_1.o file_2.o main.o