Xilinx / XRT

Run Time for AIE and FPGA based platforms
https://xilinx.github.io/XRT
Other
555 stars 472 forks source link

P2P between FPGA and GPU #6618

Closed hecmay closed 2 years ago

hecmay commented 2 years ago

XRT provides some examples for FPGA-to-FPGA or SSD-to-FPGA P2P communication: https://xilinx.github.io/XRT/master/html/p2p.html

is it possible to do GPU-FPGA P2P communication?

uday610 commented 2 years ago

Hello,

[ Disclaimer: We don't have any official document/flow for this as of now. You can try on your own, but you may face issues that cannot be helped]

You can use XRT P2P feature to do FPGA to GPU (or GPU to FPGA) p2p communication. You can let GPU read/write directly from/to the Pcie Bar using the mapped pointer of p2p buffer with GPU Memcpy APIs.