To ease the burden on developers, Domain-specific languages (DSLs) aim at combining architecture- and domain-specific knowledge, thereby delivering performance, productivity, and portability. HIPAcc is a publicly available framework for the automatic code generation of image processing algorithms on Graphics processing unit (GPU) accelerators. Starting from a C++ embedded DSL, HIPAcc delivers tailored code variants for different target architectures, significantly improving the programmer’s productivity. In this chapter, we use HIPAcc as foundation and extend it to be able to generate C++ code specific to the C-based HLS framework Vivado HLS from Xilinx.
KeywordsGraphic Processing Unit Optical Flow Memory Window Graphic Processing Unit Implementation Compute Unify Device Architecture
This work was partly supported by the German Research Foundation (DFG) as part of the Research Training Group 1773 “Heterogeneous Image Systems”.
- [HS88]C. Harris and M. Stephens. A Combined Corner and Edge Detector. In Proceedings of the 4th Alvey Vision Conference, pages 147–151, 1988.Google Scholar
- [MHT+12]R. Membarth, F. Hannig, J. Teich, M. Körner, and W. Eckert. Generating device-specific GPU code for local operators in medical imaging. In Proceedings of the 26th IEEE International Parallel & Distributed Processing Symposium (IPDPS), pages 569–581. IEEE, May 2012.Google Scholar
- [MRH+15]R. Membarth, O. Reiche, F. Hannig, J. Teich, M. Körner, and W. Eckert. HIPAcc: A domain-specific language and compiler for image processing. IEEE Transactions on Parallel and Distributed Systems, PP(99):1–14, 2015.Google Scholar
- [MRHT14]R. Membarth, O. Reiche, F. Hannig, and J. Teich. Code generation for embedded heterogeneous architectures on Android. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE), March 2014.Google Scholar
- [RSH+14]O. Reiche, M. Schmid, F. Hannig, R. Membarth, and J. Teich. Code generation from a domain-specific language for C-based HLS of hardware accelerators. In Proceedings of the International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS). ACM, October 2014.Google Scholar
- [SAHT14]M. Schmid, N. Apelt, F. Hannig, and J. Teich. An image processing library for C-based high-level synthesis. In Proceedings of the 24th International Conference on Field Programmable Logic and Applications (FPL). IEEE, September 2014.Google Scholar
- [Ste04]F. Stein. Efficient computation of optical flow using the census transform. In Pattern Recognition, volume 3175 of Lecture Notes in Computer Science (LNCS), pages 79–86. Springer, 2004.Google Scholar