PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Accelerator emulation on PGVF90 10.3?

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



Joined: 12 Aug 2008
Posts: 1

PostPosted: Fri Mar 19, 2010 7:52 am    Post subject: Accelerator emulation on PGVF90 10.3? Reply with quote

Hi 'Accelerators'!

It is possible to compile and run F90 Accelerated code (based on directives) on my laptop, which has no GPU attached?

I assume that the -Mcuda=emu gives the option for CUDA Fortran code to execute on non-GPU machines in emulator mode, but what about simple accelerator directive based code? -- The reason; I would like to develop locally and then port to a large system where production should take place.

Just made a clean install of PGVF (v.10.3, on WinXPpro), the entire bundle with VS etc. But depending on which flags I set in under Project properties -> Configuration Properties -> Fortran -> .... etc I get either error at runtime telling med that "nvcuda.dll" is not found, or at linktime that linker cannot find "libacc1mprt.lib". Do I need additional libraries/dlls, or is it just not possible to run directive based accelerator code in non-GPU emulator mode?

Best regards,
Jacob
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 440

PostPosted: Mon Mar 22, 2010 3:53 pm    Post subject: Running CUDA code in emulation mode. Reply with quote

Jacob,

Our -Mcuda=emu switch generates an all x86 version of the code.
If you have cuda libs that you are calling from this emulation code,
they will fail since they would require a GPU to be present to run.

We are not running a simulator, we are replacing cuda runtime libs
with x86 equivalents, and we are compiling the program for an x86.
You can develop code and libs, but all the code and libs
need to be compiled -Mcuda=emu.

regards,
dave
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 440

PostPosted: Mon Mar 22, 2010 4:23 pm    Post subject: Reply with quote

My mistake, I misread your mail and did not answer the question.
No, we do not emulate Accelerator directives, though technically we should be able
to.

Sorry about the last mail.

regards,
dave
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Mar 29, 2010 3:17 pm    Post subject: Reply with quote

FYI, our next target for the Accelerator model will be multi-core x86 which will be similar to CUDA Fortran emulation.

- 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