spcl/hls_tutorial_examples
소개
Examples shown as part of the tutorial "Productive parallel programming on FPGA with high-level synthesis".
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalContent
These are examples used in the tutorial Productive Parallel Programming on FPGA with High-Level Synthesis, given at PPoPP'18, SC'18, SC'19, HiPEAC'20, SC'20, ISC'21, and SC'21.
For comprehensive coverage of HLS transformations for HPC, we refer to our work Transformations of High-Level Synthesis Codes for High-Performance Computing, available on arXiv [1].
Dependencies
These examples depend on hlslib as a
submodule [2]. Make sure you clone with the --recursive flag, or run git submodule update --init after cloning.
All examples use CMake to configure and build both Xilinx and Intel kernels. The
configuration relies on scripts to find the Xilinx and/or Intel tools on your
system by looking for the xocc and aoc binaries, respectively. To ensure
that the tools are found, make sure these are on your PATH.
Building and running
To build the examples, create a build folder and configure it using CMake:
mkdir build
cd build
cmake ..
Depending on your installation of the Intel FPGA tools, you might have to
specify a board package available to your installation, e.g.,
-DINTEL_FPGA_BOARD=p520_hpc_sg280l, to build the Intel emulation kernels.
Each example has one or more synthesis targets (we recommend using a shell that can autocomplete GNU make targets). For example, from your build directory:
cd example_0
make synthesize_example0
Each Xilinx synthesis target will also copy a report.rpt-file into the build
directory, which you can inspect to get more detailed information about the
resulting architecture.
Intel synthesis targets are suffixed with _intel, and are not available for all
examples. Reports are generated in a subdirectory named after the kernel, e.g., Example2/reports.
References
- [1] Johannes de Fine Licht, Maciej Besta, Simon Meierhans, and Torsten Hoefler. "Transformations of High-Level Synthesis Codes for High-Performance Computing." IEEE Transactions on Parallel and Distributed Systems (TPDS), Vol. 32, Issue 5, 2021 (arXiv link).
- [2] Johannes de Fine Licht and Torsten Hoefler. "hlslib: Software Engineering for Hardware Design". arXiv preprint arXiv:1910.04436 (2019).
관련 프로젝트 살펴보기
불러오는 중…