Hello. I'm playing with Carrizo APU and trying to find a way to remove the cache coherency within GPU (L2 cache is synchronization point for GPU) so that GPU's update is visible to CPU without tearing down the wavefront or kernel. Is there any OpenCL API or assembly instruction that can disable caching in GPU (GCN3)? Thank you!
AFAIK, there is no such OpenCL API to disable the GPU caching. I'm not sure about the ISA though. I need to check.
I can see your another question here: How to flush GPU's L2 cache If both the queries are related, then understanding the purpose or usage in detail may help us to provide more information in this regard. Could you please be more explicit?