MKPipe: a compiler framework for optimizing multi-kernel workloads in OpenCL for FPGA
MKPipe: a compiler framework for optimizing multi-kernel workloads in OpenCL for FPGA
复制标题
MKPipe:用于优化 OpenCL for FPGA 中的多内核工作负载的编译器框架
DOI:
10.1145/3392717.3392757
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Zhou, Huiyang
中科院分区:
文献类型:
--
作者:
Liu, Ji;Kafi, Abdullah-Al;Shen, Xipeng;Zhou, Huiyang
OpenCL for FPGA enables developers to design FPGAs using a programming model similar for processors. Recent works have shown that code optimization at the OpenCL level is important to achieve high computational efficiency. However, existing works either focus primarily on optimizing single kernels or solely depend on channels to design multi-kernel pipelines. In this paper, we propose a source-to-source compiler framework, MKPipe, for optimizing multi-kernel workloads in OpenCL for FPGA. Besides channels, we propose new schemes to enable multi-kernel pipelines. Our optimizing compiler employs a systematic approach to explore the tradeoffs of these optimizations methods. To enable more efficient overlapping between kernel execution, we also propose a novel workitem/workgroup-id remapping technique. Furthermore, we propose new algorithms for throughput balancing and resource balancing to tune the optimizations upon individual kernels in the multi-kernel workloads. Our results show that our compiler-optimized multi-kernels achieve up to 3.6x (1.4x on average) speedup over the baseline, in which the kernels have already been optimized individually.
登录
查看更多内容
DOI:
--
发表时间:
2016
期刊:
ICCD
影响因子:
--
作者:
Q. Jia;Huiyang Zhou
通讯作者:
Huiyang Zhou
DOI:
--
发表时间:
2016
期刊:
影响因子:
--
作者:
Anshuman Verma;A. Helal;K. Krommydas;Wu
通讯作者:
Wu
DOI:
10.1109/fpt.2018.00018
发表时间:
2018
期刊:
2018 International Conference on Field-Programmable Technology (FPT)
影响因子:
--
作者:
A. Sanaullah;Rushi Patel;M. Herbordt
通讯作者:
M. Herbordt
DOI:
10.1109/hotchips.2015.7477458
发表时间:
2015
期刊:
2015 IEEE Hot Chips 27 Symposium (HCS)
影响因子:
--
作者:
M. Hutton
通讯作者:
M. Hutton
DOI:
10.1109/hpec.2017.8091078
发表时间:
2017
期刊:
2017 IEEE High Performance Extreme Computing Conference (HPEC)
影响因子:
--
作者:
Chen Yang;Jiayi Sheng;Rushi Patel;A. Sanaullah;Vipin Sachdeva;M. Herbordt
通讯作者:
M. Herbordt