I'm trying to get inlining to work with PGI. I use the
Code: Select all
option to create an inline library and then want to inline using
This works for all function except for one that I cannot get to inline at all. I tried all other options, e.g. setting totalsize=10000, but it just doesn't want to inline this specific function, even though it is extracted correctly during the extract phase. This function is in a different file than from where it is called, so when I copy the function definition to the same file it actually inlines it correctly!
I'm not able to reproduce this at the moment, but are there any other options I can set during compilation to get more information about why it does or doesn't inline a function? Or are there any limitations on inlining across files?