LDS operation

Discussion created by Gunter on Aug 22, 2011
Latest reply on Sep 5, 2011 by malcolm3141


I have a question concerning LDS operation.

If I use lds_store_vec_id(0) mem.xyzw ... in my kernel, and two or more (or all) threads write to the same address in LDS, what will be in the LDS locations in question afterwards?

Is it: xyzw from that particular thread that happened to write last,

or possibly x from one thread, y from another, z from the third etc. ?