nocache option

Hi,
I read in another thread that there is a nocache option i.e. -ta=nvidia,nocache to avoid using the GPU’s cache. However, this option is neither listed for pgcc nor does its denotion has any effect on the compiler feedback of used shared memory bytes. On the other side, the compiler does not complain about it. I use PGI compiler 11.10.
Is there any restriction on this clause? How can I manage to avaoid caching?

Bye, Sandra

Hi Sandra,

The “nocache” is an undocumented sub-option used to work around a customer issue. The intent being that the flag should never be necessary.

I confirmed the flag is still enabled in 11.10 and does suppress the use of shared memory. I’m not sure why you are still getting feedback stating the contrary. Can you post or send and example?

Is there any restriction on this clause?

It is undocumented so could be removed at any time. Though, we certainly could make it permanent if there was a reason to do so.

How can I manage to avaoid caching?

“nocahce” currently is the only method.

  • Mat