AnsweredAssumed Answered

GCN: Not sure about ds_write and s_waitcnt

Question asked by realhet on Feb 22, 2013
Latest reply on Feb 23, 2013 by realhet



For the ds_read it is clear for me that I have to wait for lgkmcnt(0).


But what about ds_write?

Do I need an lgkmcnt(0) (as the SI ISA manual suggests for DS commands in general)?

Or do I also need expcnt(0) as well, as it will fetch VRegs later?


In my prog there are big rests between ds_ operations, so it seems like neither lgkmcnt(0) or expcnt(0) needed, but I wanna make 100% sure, I use them reliably.

Please if anyone knows, tell me what counters are incremented when using a ds_write.