The adoption of Field-Programmable Gate Array (FPGA) for general use in the High-Performance Computing scenario has been limited by its complex development flow required to get optimised designs coupled with a time-consuming compilation. High-Level Synthesis (HLS) tools are adopted to improve programmability, however the developer must perform several iterations of optimisation schemes in order to achieve reasonable performance results, which is tedious and not trivial. Several works employ Design Space Exploration (DSE) through different optimisation possibilities, coupled with fast performance estimators to avoid the unacceptable compilation times. This paper presents Lina, an expansion of the Lin-Analyzer fast peformance estimator for C/C++ HLS including timing-constrained scheduling and an extended analysis for nested loops. Results over the PolyBench benchmark show that the average relative error dropped from 8.85% to 3.02% when loop unrolling and pipelining directives were considered. As a result Lina becomes a better estimator for non-perfect loop nests and for different timing constraints, which can be adopted as an additional design space exploration knob.
[1]
Yun Liang,et al.
COMBA: A comprehensive model-based analysis framework for high level synthesis of real applications
,
2017,
2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD).
[2]
Satoshi Matsuoka,et al.
Evaluating and Optimizing OpenCL Kernels for High Performance Computing with FPGAs
,
2016,
SC16: International Conference for High Performance Computing, Networking, Storage and Analysis.
[3]
Peng Zhang,et al.
HLScope+,: Fast and accurate performance estimation for FPGA HLS
,
2017,
2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD).
[4]
Philip Brisk,et al.
Predictive Modeling for CPU, GPU, and FPGA Performance and Power Consumption: A Survey
,
2018,
2018 IEEE Computer Society Annual Symposium on VLSI (ISVLSI).
[5]
Yun Liang,et al.
Lin-Analyzer: A high-level performance analysis tool for FPGA-based accelerators
,
2016,
2016 53nd ACM/EDAC/IEEE Design Automation Conference (DAC).