PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

How to debug with PVF on visual studio 2008 ?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
HuWei39533



Joined: 06 Dec 2012
Posts: 9

PostPosted: Fri May 03, 2013 8:05 pm    Post subject: How to debug with PVF on visual studio 2008 ? Reply with quote

It aways stop response when I debug the program on VS2008, is there any other good way to degug the openacc program? Or, how to debug with PVF on VS2008?

Thanks very much!
Back to top
View user's profile
mkcolg



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

PostPosted: Tue May 07, 2013 10:40 am    Post subject: Reply with quote

Hi HuWei39533,

For various technical reasons, we don't support debugging of accelerator compute regions. It is something we're working towards but wont be available in the near future.

- Mat
Back to top
View user's profile
HuWei39533



Joined: 06 Dec 2012
Posts: 9

PostPosted: Tue May 07, 2013 11:06 pm    Post subject: Reply with quote

mkcolg wrote:
Hi HuWei39533,

For various technical reasons, we don't support debugging of accelerator compute regions. It is something we're working towards but wont be available in the near future.

- Mat


Even the normal part can not be debug when there is an accelerator compute region in the program?
Back to top
View user's profile
mkcolg



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

PostPosted: Wed May 08, 2013 9:31 am    Post subject: Reply with quote

Quote:
Even the normal part can not be debug when there is an accelerator compute region in the program?
You can still debug the host code even if there are accelerator regions. Though, "-acc" will force "-O2" so you will be debugging optimized host code, which it's always easy to do. Instead, it's better to start by debugging your program without OpenACC enabled. Once you know your program is correct, then start enabling OpenACC.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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