PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Profile-Feedback Optimization

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
Sanik



Joined: 26 Jan 2006
Posts: 22
Location: Russia

PostPosted: Thu Aug 31, 2006 11:34 pm    Post subject: Profile-Feedback Optimization Reply with quote

Hi all!

This is a question about Profile-Feedback Optimization using –Mpfi/–Mpfo.

Whal kinds of optimization are better to turn on when compiling a program on each step?

It seems no optimization needs when compiling with -Mpfi in order to instrument the generated executable for collection of profile and data feedback information. I suppose that some optimizations may disfigure this information. Am I right?

On the other hand agressive optimizations should be turned on to enable or enhance certain performance optimizations e.g. –fastsse –Mipa=fast.

What is the best combination?

Thanks.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 01, 2006 12:09 pm    Post subject: Reply with quote

Hi Sanik,

Great question! Certain optimizations, "-mp" and "-Mconcur", are automatically disables when compiling with "-Mpfi" since parallelization can problems during th instrumentations phase. (They're fine for use with -Mpfo). Also, using -Mipa or -Minline with -Mpfi is not recommended. Other optimizations are fine.

For example if your using "-fastsse -Mipa=fast,inline +PFO" set pass 1 to be "-fastsse -Mpfi" and pass 2 to be "-fastsse -Mipa=fast,inline -Mpfo".

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
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