| View previous topic :: View next topic |
| Author |
Message |
pmitra
Joined: 05 Oct 2010 Posts: 1
|
Posted: Tue Nov 16, 2010 12:45 pm Post subject: Change L1 cache size in Fermi |
|
|
Hi,
I am using PGI workstation on a Fermi (C2050) box. In Fermi, the default memory configuration is 16 KB L1/48 KB shared memory, but it is also possible to change the configuration to 48 KB L1/16KB shared mem. How can it be done using PGI Fortran? |
|
| Back to top |
|
 |
Faustus
Joined: 24 Nov 2010 Posts: 5
|
Posted: Fri Dec 10, 2010 6:30 am Post subject: |
|
|
Hi,
Is there a support of Fermi architecture for PGI Fortran 10.9 ? |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Dec 10, 2010 3:07 pm Post subject: |
|
|
| Quote: | | Is there a support of Fermi architecture for PGI Fortran 10.9 ? | Yes. Fermi support was first added to 10.6.
- Mat |
|
| Back to top |
|
 |
Faustus
Joined: 24 Nov 2010 Posts: 5
|
Posted: Mon Dec 13, 2010 3:37 am Post subject: |
|
|
There is a function cudaFuncSetCacheConfig()
for change of L1 cache size for Fermi architecture.
Will this function support for Cuda Fortran ? |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Dec 17, 2010 3:38 pm Post subject: |
|
|
Hi Faustus,
You should be able to access any CUDA C function from CUDA Fortran. For CUDA C functions without a built-in CUDA Fortran interface, such as cudaFuncSetCacheConfig, you simply need to write an explicit interface to the function before calling it.
- Mat |
|
| Back to top |
|
 |
|