Xilinx Runtime (XRT) is implemented as as a combination of userspace and kernel driver components. XRT which supports both PCIe based boards and Zynq/MPSoC provides software interface to Xilinx FPGA. The key user APIs are defined in xclhal2.h header file.
Comprehensive documentation on xilinx.github.io/XRT