Concurrent write of the same value in device memory

Hi,


Is there any rule concerning concurrent writes in the Metal compute shaders, from different threads, of the exact same value in the exact same place of a device buffer ?


With CUDA, for exemple, it seems that at least one write is guaranteed, involving that the buffer will be correctly updated...

What is the status of such a behavior with Metal ?


Cyril.