PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Change L1 cache size in Fermi
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
pmitra



Joined: 05 Oct 2010
Posts: 1

PostPosted: Tue Nov 16, 2010 12:45 pm    Post subject: Change L1 cache size in Fermi Reply with quote

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
View user's profile
Faustus



Joined: 24 Nov 2010
Posts: 5

PostPosted: Fri Dec 10, 2010 6:30 am    Post subject: Reply with quote

Hi,

Is there a support of Fermi architecture for PGI Fortran 10.9 ?
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Dec 10, 2010 3:07 pm    Post subject: Reply with quote

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
View user's profile
Faustus



Joined: 24 Nov 2010
Posts: 5

PostPosted: Mon Dec 13, 2010 3:37 am    Post subject: Reply with quote

There is a function cudaFuncSetCacheConfig()
for change of L1 cache size for Fermi architecture.

Will this function support for Cuda Fortran ?
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Dec 17, 2010 3:38 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2, 3  Next
Page 1 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