PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

please help me ,thank you!

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



Joined: 16 Dec 2009
Posts: 31

PostPosted: Mon Feb 22, 2010 11:54 pm    Post subject: please help me ,thank you! Reply with quote

Build the sample cufinfo.cuf

Then:
Linking...
ConsoleApp.obj : error LNK2019: unresolved external symbol cudagetdevicecount_ referenced in function MAIN_

ConsoleApp.obj : error LNK2019: unresolved external symbol cudagetdeviceproperties_ referenced in function MAIN_

ConsoleApp.obj : error LNK2001: unresolved external symbol cudafor_
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Feb 23, 2010 9:53 am    Post subject: Reply with quote

Hi SWL_EGGBABY,

I'm guessing you're using Portland Visual Fortran (PVF)? In this case, you need to set the project's configuration properties language to CUDA Fortran. To do this, right-mouse click on your project (under the 'Solution Explorer' window) and select 'properties'. This open the properties window. Next select the 'Fortran->Language' tab, find the line for 'CUDA Fortran' and select 'yes' in the drop-down box.

Hope this helps,
- 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