PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

CUDA Fortran and PGI Accelerator mix
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



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

PostPosted: Thu May 19, 2011 9:32 am    Post subject: Reply with quote

Hi BL,

Quote:
I am using an interface for the CUFFT library.
Sorry, I was in a rush yesterday and missed the 'use cufft'.

Quote:
Is this still due to an interface problem?
Probably not but I would need to investigate further to determine the actual problem. Let me try to reproduce the error and see what I can determine.

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Fri May 20, 2011 1:58 pm    Post subject: Reply with quote

Hi BL,

It appears that you're using the example CUDA Fortran calling CUFFT code found the CUDA Musing blog (http://cudamusing.blogspot.com/2010/05/calling-cufft-from-cuda-fortran.html). Using the same cufft module and your modified source, I was able to build and run the exe with both CUDA and the PGI Accelerator model enabled. Unfortunately, the code ran correctly and I did not see the reported error.

Most likely it's a problem with your CUDA device driver. Do you mind trying to update to the latest version for your device?

- Mat
Back to top
View user's profile
BL_user



Joined: 27 Jan 2011
Posts: 13

PostPosted: Fri May 20, 2011 3:41 pm    Post subject: Reply with quote

Thanks Mat. Are you referring to CUDA v4.0?

Regards
BL
Back to top
View user's profile
mkcolg



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

PostPosted: Fri May 20, 2011 4:01 pm    Post subject: Reply with quote

Quote:
Are you referring to CUDA v4.0?
You can find the latest CUDA 3.2 development drivers here: http://developer.nvidia.com/cuda-toolkit-32-downloads. The CUDA 4.0 development drivers should work as well but they are still in pre-release (http://developer.nvidia.com/cuda-toolkit-40)

- 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
Goto page Previous  1, 2
Page 2 of 2

 
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