| View previous topic :: View next topic |
| Author |
Message |
HuWei39533
Joined: 06 Dec 2012 Posts: 7
|
Posted: Fri May 03, 2013 8:05 pm Post subject: How to debug with PVF on visual studio 2008 ? |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5000 Location: The Portland Group Inc.
|
Posted: Tue May 07, 2013 10:40 am Post subject: |
|
|
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 |
|
 |
HuWei39533
Joined: 06 Dec 2012 Posts: 7
|
Posted: Tue May 07, 2013 11:06 pm Post subject: |
|
|
| 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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5000 Location: The Portland Group Inc.
|
Posted: Wed May 08, 2013 9:31 am Post subject: |
|
|
| 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 |
|
 |
|