PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Upgrading cuda toolkit from 4 to 5 with PGI 12.3 VS 2010
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Thu Jan 17, 2013 11:10 am    Post subject: RE Reply with quote

Quote:
Can you track down which "log" call is throwing this exception?


how can I look into the log?
Quote:
you should look at what value is being passed to log and how the results are being used.

??

thanks
Dolf
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jan 17, 2013 6:05 pm    Post subject: Reply with quote

Quote:
_fmth_i_dlog
This is a call to a double precision logarithmic (log) function. You need to determine which call to the log function is getting the floating point exception.

- Mat
Back to top
View user's profile
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Fri Jan 18, 2013 6:21 pm    Post subject: Reply with quote

Hi Mat,

for some reason I can't set break point in one of the subroutines which I highly suspect that there is something not right going there, since if I comment it out, everything goes well.
do you have any idea why PGDBG engine can't reach this sub? it just freez before reaching it.

Dolf
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jan 21, 2013 7:52 am    Post subject: Reply with quote

Hi Dolf,

Since "ftm_i_dlog" is an internal name to the PGI runtime, you can't break on it. Instead, you need to break at the line in your code containing the call to "log". If this is what you are trying to do, do you have optimization enabled? Optimization can move code around. Try building with only "-g" enabled.

- Mat
Back to top
View user's profile
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Wed Jan 23, 2013 12:55 pm    Post subject: RE: Reply with quote

Hi Mat.

a hardware team from NVIDIA invited me to test drive there latest Tesla K20m cards on one of their windows 7 machines.
I need your help to guide me how to play with the compiler options and/or the block and grid dimensions in my code to get the full speed improvement.
remember that I have GeForce 460 v2 card, and I am using (as you suggested) a block size of (16,16,1).

many thanks.
Dolf
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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