PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

suggestions for debugging unified binary problems?

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



Joined: 03 May 2006
Posts: 1

PostPosted: Tue Aug 25, 2009 12:51 pm    Post subject: suggestions for debugging unified binary problems? Reply with quote

I'm trying the example programs from the June 2009 PGInsider article but having problems with the third example program, C version. I use '-ta=nvidia,host' when compiling but compiler info messages show only a host version of the 'smooth' function is generated. When run, the program has numeric problems (most values fail verification tests).

The Fortran unified version builds both host and GPU kernels and satisfies validation tests. When built with just '-ta=nvidia' the C version builds a GPU kernel and satisfies validation tests.

This is 9.0-3 on Linux (Fedora 10), with a cc11 device.

Any suggestions to debug where this is going wrong, or a workaround for generating working unified binaries?
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Aug 25, 2009 1:51 pm    Post subject: Reply with quote

Hi rothpc,

Looks like a bug. The Fortran example works fine as does the C example if yo set "ACC_DEVICE=HOST". Only when you compile using the unified binary and run on the GPU does it get wrong answers. I'll need to sent this on to engineering for further investigation.

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Sep 15, 2009 10:35 am    Post subject: Reply with quote

Hi rothpc,

FYI, this issue will be resolved in the upcoming 9.0-4 release. A recent NVIDIA driver update started using more XMM registers then we were accounting for.

- 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