POLSCA: Polyhedral High-Level Synthesis with Compiler Transformations
Abstract
Polyhedral optimization can parallelize nested affine loops for high-level synthesis (HLS), but polyhedral tools are HLS-agnostic and can worsen performance. Moreover, HLS tools require user directives which can produce unreadable polyhedral-transformed code. To address these two challenges, we present POLSCA, a compiler framework that improves polyhedral HLS workflow by automatic code transformation. POLSCA decomposes a design before polyhedral optimization to balance code complexity and parallelism, while revising memory interfaces of polyhedral-transformed code to make partitioning explicit for HLS tools; it enables designs to benefit more easily from polyhedral optimization. Experiments on Polybench/C show that POLSCA designs are 1.5 times faster on average compared with baseline designs generated directly from applying HLS on C code.
BibTeX
@inproceedings{zhao2022polsca,
author = {Ruizhe Zhao and Jianyi Cheng and Wayne Luk and George A. Constantinides},
title = {{POLSCA: Polyhedral High-Level Synthesis with Compiler Transformations}},
booktitle = {FPL},
year = {2022},
url = {https://openreview.net/forum?id=5cPs5yWHexy},
}Ask Althea to put this paper to the test.
Loading related content...