title: Several threads writing the same value in the same global memory location
body: <p>This question is closely related to <a href="https://stackoverflow.com/questions/8315931/does-writing-the-same-value-to-the-same-memory-location-cause-a-data-race">this one</a>, but mine belongs to the CUDA world.</p>
  
  <p>I have several threads in my kernel that could write the very same value in the same global memory location. This has been working fine, but I'm afraid that it could be potentially bogus, and that so far I was just being lucky.</p>
  
  <p>Is there any possibility of memory corruption or unexpected behavior in my workflow (due to data races, cache syncing, etc)? </p>