Graph-Theoretically Optimal Memory Banking for Stencil-Based Computing Kernels
Graph-Theoretically Optimal Memory Banking for Stencil-Based Computing Kernels
复制标题
基于模板的计算内核的图论最优内存银行
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Mingjie Lin
中科院分区:
文献类型:
--
作者:
Juan Escobedo;Mingjie Lin
High-Level Synthesis (HLS) has advanced significantly in compiling high-level "soft»» programs into efficient register-transfer level (RTL) "hard»» specifications. However, manually rewriting C-like code is still often required in order to effectively optimize the access performance of synthesized memory subsystems. As such, extensive research has been performed on developing and implementing automated memory optimization techniques, among which memory banking has been a key technique for access performance improvement. However, several key questions remain to be answered: given a stencil-based computing kernel, what constitutes an optimal memory banking scheme that minimizes the number of memory banks required for conflict-free accesses? Furthermore, if such an optimal memory banking scheme exists, how can an FPGA designer automatically determine it? Finally, does any stencil-based kernel have the optimal banking scheme? In this paper we attempt to optimally solve memory banking problem for synthesizing stencil-based computing kernels with well-known theorems in graph theory. Our graph-based methodology not only computes the minimum memory partition factor for any given stencil, but also exploits the repeatability of coloring entire memory access conflict graph, which significantly improves hardware efficiency.