Nvidia_p2p_get_pages RETURN -EINVAL(-22)

Hi,I encountered a problem with nvidia_p2p_get_pages returning -EINVAL when Followinghttps://docs.nvidia.com/cuda/gpudirect-rdma/index.html demo.
I have noticed that there has been some discussion in the past about this issue, which seems to be due to the architecture mismatch of the gpu.

my env

  • NVIDIA TITAN V
  • CUDA Version: 11.7
  • Driver Version: 515.43.04

Does anyone know how to solve this problem?
Thanks