PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Inline library automation in PVF
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Senya



Joined: 20 Jun 2011
Posts: 58

PostPosted: Wed Nov 06, 2013 7:34 am    Post subject: Inline library automation in PVF Reply with quote

Hello. As of PVF 12.5 I don't see any simple way to automate creation of inline library.
To generate inline library, i have to add -Mextract manually to the file cmd line, run compilation and then, remove -Mextract and compile again, because it will not link, without .obj file, that is omitted in extract mode.

Inlining is two phase, but VS IDE seem can't handle this two phases automatically.

Is it so on newer versions of PVF?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6126
Location: The Portland Group Inc.

PostPosted: Wed Nov 06, 2013 12:11 pm    Post subject: Reply with quote

Hi Senya,

I'll double check, but I don't think our tools engineer's have done anything with regards to supporting the extract step since it's an older method that has mostly been supplanted by IPA.

Are you able to use "-Mipa=inline"? This is roughly equivalent but the extract/inline phases are handled automatically at the compile and link steps.

- Mat
Back to top
View user's profile
Senya



Joined: 20 Jun 2011
Posts: 58

PostPosted: Tue Nov 12, 2013 4:12 am    Post subject: Reply with quote

How can I configure IPA to force making certain functions inlined?
Back to top
View user's profile
Senya



Joined: 20 Jun 2011
Posts: 58

PostPosted: Tue Dec 17, 2013 6:45 pm    Post subject: Reply with quote

My solution configuration has one project for static library and one project for executable.
I've tried to use IPA inline in static library. Subroutine from one module has to inline subroutine from other module by my idea. Both modules are parts of static library. But IPA inlining makes its job on linkage, that is only performed after executable building. As I see during linkage, IPA only applies itself on modules from executable, but it absolutely ignores library.

Doesn't it is supported to make inlining inside static library? If it is supported, what am I doing wrong?

The command line, that I feed to compiler (to certain source files of library only) and to executable linker is:
-Minfo=all,inline -Mipa=libinline,inline
Back to top
View user's profile
Senya



Joined: 20 Jun 2011
Posts: 58

PostPosted: Fri Jan 24, 2014 8:41 am    Post subject: Reply with quote

Hello.
My problem is still urgent.
Can someone help me please?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group