- Open "Xilinx -> Repositories" in Vitis GUI menu;
- Navigate to "Library Repositories" in left panel;
- Find the "Location" of "Vitis Accelerated Libraries Repository" in development machine;
- Open the location in file manager, and drop the
description.json
file above intoquantitative_finance/L2/benchmarks/TreeEngine/TreeSwaptionEngineHWModel
folder; - Go back to Vitis GUI, close the dialog window and run "Xilinx -> Scan Repositories & Platforms" from menu;
- Recreate the project with U50.
Last active
December 17, 2020 02:30
-
-
Save vt-lib-support/0f5f2bdf00d3e7baa50c83c79845dfbe to your computer and use it in GitHub Desktop.
Work-around for Running "Xilinx Tree Swaption Engine HW Model Benchmark" on Alveo U50 with Vitis GUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"gui": true, | |
"name": "Xilinx Tree Swaption Engine HW Model Benchmark", | |
"description": "", | |
"flow": "vitis", | |
"platform_type": "pcie", | |
"platform_whitelist": [ | |
"u50" | |
], | |
"platform_blacklist": [ | |
"zc" | |
], | |
"platform_properties": { | |
"u50": { | |
"host": { | |
"compiler": { | |
"symbols": [] | |
} | |
}, | |
"v++": { | |
"compiler": { | |
"cflags": ["--config PROJECT/conn_u50.cfg"] | |
} | |
}, | |
"containers": [ | |
{ | |
"ldclflags_mk": "--nk scanTreeKernel:2:scanTreeKernel_1.scanTreeKernel_2", | |
"name": "scanTreeKernel" | |
} | |
] | |
} | |
}, | |
"launch": [ | |
{ | |
"cmd_args": " -xclbin BUILD/scanTreeKernel.xclbin", | |
"name": "generic launch for all flows" | |
} | |
], | |
"host": { | |
"host_exe": "host.exe", | |
"compiler": { | |
"sources": [ | |
"host/main.cpp", | |
"LIB_DIR/ext/xcl2/xcl2.cpp" | |
], | |
"includepaths": [ | |
"LIB_DIR/L1/include", | |
"LIB_DIR/L2/include", | |
"LIB_DIR/L2/benchmarks/TreeEngine/TreeSwaptionEngineHWModel/host", | |
"LIB_DIR/L2/benchmarks/TreeEngine/TreeSwaptionEngineHWModel/kernel", | |
"LIB_DIR/ext/xcl2" | |
], | |
"options": "-O3 ", | |
"symbols": [] | |
} | |
}, | |
"v++": { | |
"compiler": { | |
"includepaths": [ | |
"LIB_DIR/L1/include", | |
"LIB_DIR/L2/include", | |
"LIB_DIR/L2/benchmarks/TreeEngine/TreeSwaptionEngineHWModel/kernel" | |
], | |
"symbols": [] | |
} | |
}, | |
"containers": [ | |
{ | |
"accelerators": [ | |
{ | |
"location": "kernel/scan_tree_kernel.cpp", | |
"frequency": 300, | |
"clflags": " -D DPRAGMA", | |
"name": "scanTreeKernel", | |
"num_compute_units": 2, | |
"compute_units": [ | |
{ | |
"name": "scanTreeKernel_1", | |
"slr": "SLR0", | |
"arguments": [ | |
{ | |
"name": "m_axi_gmem0", | |
"memory": "HBM[0]" | |
}, | |
{ | |
"name": "m_axi_gmem1", | |
"memory": "HBM[0]" | |
} | |
] | |
}, | |
{ | |
"name": "scanTreeKernel_2", | |
"slr": "SLR1", | |
"arguments": [ | |
{ | |
"name": "m_axi_gmem0", | |
"memory": "HBM[2]" | |
}, | |
{ | |
"name": "m_axi_gmem1", | |
"memory": "HBM[2]" | |
} | |
] | |
} | |
] | |
} | |
], | |
"frequency": 300, | |
"name": "scanTreeKernel" | |
} | |
], | |
"testinfo": { | |
"disable": false, | |
"jobs": [ | |
{ | |
"index": 0, | |
"dependency": [], | |
"env": "", | |
"cmd": "", | |
"max_memory_MB": { | |
"vitis_hw_build": 40960, | |
"vitis_hw_emu": 28672, | |
"vitis_sw_emu": 10240, | |
"vitis_hw_run": 10240 | |
}, | |
"max_time_min": { | |
"vitis_hw_build": 1200, | |
"vitis_hw_emu": 300, | |
"vitis_sw_emu": 60, | |
"vitis_hw_run": 10 | |
} | |
} | |
], | |
"targets": [ | |
"vitis_sw_emu", | |
"vitis_hw_emu", | |
"vitis_hw_run" | |
], | |
"category": "canary" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment