Cuda: How do I disable global memory caching?

I’m having problem’s trying to debug some code and I think it’s due to the global memory being cached. I need to confirm this.

How do I disable global memory caching? What compiler flag do I use (I looked in the man page but couldn’t find what I was looking for)?

Thanks

Use the following suboption:

-ta=nvidia,nocache