Thanks for reaching out to us . RTX 50-series are Geforce GPU series , and p2p is not supported for GPU<->GPU P2P.
For GPU lists that can support p2p , there are mainly 2 series , Quadro RTX and Data Center GPUs .
Quadro RTX - desktop class systems, which would need an actively cooled GPU
Data Center GPUs - server class systems, which would need at passively cooled GPU.
Sample cuda-samples/Samples/0_Introduction/simpleP2P/simpleP2P.cu at master · NVIDIA/cuda-samples · GitHub can check if P2P is successfully enabled on a setup .