Multiple Cards System Compiler¶
This is simple example showcasing the P2P and H2C mode of application code controlling a multi-card accelerator design in system compiler environment.
KEY CONCEPTS: Multiple Cards, P2P, H2C, Syncronization
KEYWORDS: vpp::p2p, vpp::h2c, vpp::squeue, add_card
This example demonstrates the P2P and H2C mode of application code controlling a multi-card accelerator design.
EXCLUDED PLATFORMS:
All NoDMA Platforms, i.e u50 nodma etc
All Embedded Zynq Platforms, i.e zc702, zcu102 etc
All Versal Platforms, i.e vck190 etc
Samsung U.2 SmartSSD
Alveo U25 SmartNIC
AWS VU9P F1
Alveo U280
Alveo U250
Alveo U55c
Alveo U50
DESIGN FILES¶
Application code is located in the src directory. Accelerator binary files will be compiled to the xclbin directory. The xclbin directory is required by the Makefile and its contents will be filled during compilation. A listing of all the files in this example is shown below
src/main.cpp
src/xacc.cpp
src/xacc.hpp
Access these files in the github repo by clicking here.
COMMAND LINE ARGUMENTS¶
Once the environment has been configured, the application can be executed by
./host.exe 0 Makefile ./src/xacc.hpp ./src/xacc.cpp ./src/main.cpp