首页> 外文会议>Asilomar Conference on Signals, Systems, and Computers >Run fast when you can: Loop pipelining with uncertain and non-uniform memory dependencies
【24h】

Run fast when you can: Loop pipelining with uncertain and non-uniform memory dependencies

机译:可以快速运行:循环流水线,不确定和不均匀的内存依赖项

获取原文
获取外文期刊封面目录资料

摘要

As a key optimisation method in high-level synthesis (HLS), high-performance loop pipelining is enabled by the static scheduling algorithm. When there are non-trivial memory dependencies in the loop, current HLS tools have to apply conservative pipeline schedule that also leads to nearly sequential execution. In this paper, we demonstrate using parametric polyhedral model to mathematically capture uncertain (i.e., parameterised by an undetermined variable) and/or non-uniform (i.e., varying between loop iterations) memory dependence patterns. According to this static analysis, if we always execute the loop with an aggressive (fast) pipeline schedule, we can generate the parameter conditions in which this execution is safe and the parametric break points when the execution encounters memory conflicts. Then, we apply these information into an automated source-to-source code transformation, which implements parametric loop pipelining and loop splitting. The transformed loop is synthesised by Vivado HLS and its execution speed can be adjusted at runtime to avoid memory conflicts. The experiments over a set of benchmark loops show that our optimisation can improve the runtime pipeline performance significantly with a reasonable overhead of hardware resources.
机译:如在高级综合(HLS)一键优化方法,高性能流水线循环通过静态调度算法启用。当有在循环不平凡的内存的依赖,目前的HLS工具必须应用保守的管道时间表,也导致了近顺序执行。在本文中,我们证明了使用参数多面模型在数学上捕获不确定(即,由一个未确定的变量参数化)和/或不均匀的(即,循环迭代之间变化)存储器依赖模式。根据这一静态分析,如果我们总是以积极的(快)管道计划执行的循环中,我们可以生成参数条件,使这个执行是安全参数休息的时候点的执行遇到内存冲突。然后,我们将这些信息转化为一个自动化的来源 - 源代码转换,它实现参数环路流水和循环分裂。将转化的环由Vivado HLS和其执行速度合成可以在运行时,以避免存储器冲突进行调整。在一组基准循环的实验表明,我们的优化可以利用硬件资源的合理开销显著提高运行时管道性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号