| View previous topic :: View next topic |
| Author |
Message |
xray
Joined: 21 Jan 2010 Posts: 71
|
Posted: Wed Mar 06, 2013 3:18 am Post subject: GMEM loads: caching vs. non-caching |
|
|
Hi,
on Fermi GPUs, the default global memory access pattern are caching loads (i.e. a granularity of 128-bytes). With CUDA, you may change it to non-caching loads by compiling with nvcc and "-Xptxas -dlcm=cg".
With PGI's OpenACC, I assume we also have caching loads be default. Right? Is there any chance to use non-caching loads with OpenACC (compiler flag, environment variable,...)?
Sandra |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Mar 08, 2013 3:40 pm Post subject: |
|
|
Hi Sandra,
We do have an experimental flag (-Mx,180,8) that will disable the L1 cache. You are welcome to give it a try. The caveat being that since it's not been exposed at the user level, it is subject to change.
- Mat |
|
| Back to top |
|
 |
xray
Joined: 21 Jan 2010 Posts: 71
|
Posted: Sun Mar 10, 2013 4:02 am Post subject: |
|
|
| Thanks Mat! I will give it a try and will report my results. |
|
| Back to top |
|
 |
|