How to enable P2P atomic operations between two GPUs connected via PCIe Switch?

As far as I know, this is not supported.

I’m considering using CPU memory as an intermediary, so the question becomes: when the GPU operates on CPU memory, does it support atomic operations?

Not sure if the second question here is helpful.