PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Can't use CUDA in Visual Fortran
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
cu239



Joined: 20 Mar 2009
Posts: 14

PostPosted: Fri Sep 03, 2010 7:35 pm    Post subject: Reply with quote

Hi, Hongyon

It is definitely a .CUF file, not .f file. I reported a wrong filename suffix last time, sorry. The matmul.CUF was directly downloaded from your website.

Many thanks,
Bingray
Back to top
View user's profile
cu239



Joined: 20 Mar 2009
Posts: 14

PostPosted: Mon Sep 06, 2010 6:27 pm    Post subject: Reply with quote

Hi,

My classmate's linking errors are still there. By now, the power of CUDA has never been revealed here. How do we fix it?


Thanks a lot,
Bingray
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Tue Sep 07, 2010 11:44 am    Post subject: Reply with quote

Hi,


You will neet to set your property in Visual Fortran.
From Project property page -> Fortran -> Language -> Enable Cuda Fortran.

This should solve the linking problem.

Hongyon
Back to top
View user's profile
cu239



Joined: 20 Mar 2009
Posts: 14

PostPosted: Tue Sep 07, 2010 11:12 pm    Post subject: Reply with quote

Hi, Hongyon.


CUDA fortran works on my classmate's computer now. Thank you!

Last time he had set file property page before setting project property page, which causes lingking errors. Now only the project property page is set, and it works.

We are very glad to see the CUDA code running.


Thank you very much!
Bingray
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation 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