PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Quadruple precision

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



Joined: 17 Aug 2008
Posts: 57

PostPosted: Thu May 09, 2013 12:40 pm    Post subject: Quadruple precision Reply with quote

Hi all,

I am having some issues with an algorithm that requires more than double precision for some computations.

The problem is that the math includes cos(z) and sin(z), where z is a complex number with a small real and a large imaginary part. This results in some very large numbers (Numbers of order +-10e40).

Is it possible to get higher than double precision in CUDA Fortran for complex number math?

Thanks, Jan

Edit: I should mention that I tried various ways outside CUDA to get the algorithm to produce correct results. The only successful way was gfortran with REAL(KIND=16).
Back to top
View user's profile
mkcolg



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

PostPosted: Thu May 09, 2013 12:46 pm    Post subject: Reply with quote

Quote:
Is it possible to get higher than double precision in CUDA Fortran for complex number math?
Sorry, no.

- 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