AnsweredAssumed Answered

How to flush GPU's L2 cache

Question asked by yhwan on Jul 5, 2016
Latest reply on Jul 14, 2016 by dipak

Hello, I'm working with Carrizo APU (GCN3). I'm trying to figure out how I can flush GPU's cache so that cached data in GPU is explicitly flushed to physical memory (which will let CPU see the updated value). By going through GCN3 instruction manual, I found assembly instructions that write back L1 (s_dcache_wb) and scalar data cache (s_dcache_wb_vol). However, I couldn't find any information on how to flush L2 cache. Is there any instruction or way to explicitly flush GPU's L2 cache? Thank you!