-Minline for Fortran subroutines containing !$acc ?


Can I inline Fortran subroutines that contain !$acc accelerator
directives using the PGI compiler?

My experiments with v10.6.0 suggest that -ta=nvidia stops -Minline
(and -Mextract) considering such routines, even if I explicitly name
them on the command line.

Is there a way around this? It would get around some very nasty
Fortran77 array-passing tricks in a code I am trying to accelerate.



Hi Alistair,

I sent this one to our engineer since I had never have thought of doing this. Turns out that they missed this one as well. They’ll start work on it and target November’s the 11.0 release.


Thanks for passing this on.