| View previous topic :: View next topic |
| Author |
Message |
jacobtrier
Joined: 12 Aug 2008 Posts: 1
|
Posted: Fri Mar 19, 2010 7:52 am Post subject: Accelerator emulation on PGVF90 10.3? |
|
|
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 |
|
 |
jtull
Joined: 30 Jun 2004 Posts: 234
|
Posted: Mon Mar 22, 2010 3:53 pm Post subject: Running CUDA code in emulation mode. |
|
|
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 |
|
 |
jtull
Joined: 30 Jun 2004 Posts: 234
|
Posted: Mon Mar 22, 2010 4:23 pm Post subject: |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Mar 29, 2010 3:17 pm Post subject: |
|
|
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 |
|
 |
|