cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
322 stars 92 forks source link

Vivado HLS takes too long to synthesize the HeteroCL design #278

Open chhzh123 opened 4 years ago

chhzh123 commented 4 years ago

HeteroCL generates flat designs that do not have function calls. Even the same modules (stages) will be repeated in the generated code for several times, which incurs large synthesis time. As a comparison, a hand-written C HLS ResNet-20 may take 10 min to synthesize, while a HeteroCL generated ResNet-20 takes more than 1.5 hours.

zhangzhiru commented 4 years ago

@chhzh123 have you added a test case?