ACM Transactions on Architecture and Code Optimization · 2017 · 15 citations · 23 references
ComputingComputer EngineeringComputer ScienceCompilersComputer VisionProgramming LanguagesCode GenerationDigital Image ProcessingImage ProcessingInstruction Set ArchitectureMicroarchitecture DesignCode OptimizationCompiler SupportDomain-specific Language DesignDomain-specific Language EngineeringImage Processing UnitsLow-level C ProgrammingScratchpad MemorySoftware Development Methodology
Specialized Digital Signal Processors (DSPs), which can be found in a wide range of modern devices, play an important role in power-efficient, high-performance image processing. Applications including camera sensor post-processing and computer vision benefit from being (partially) mapped onto such DSPs. However, due to their specialized instruction sets and dependence on low-level code optimization, developing applications for DSPs is more time-consuming and error-prone than for general-purpose processors. Halide is a domain-specific language (DSL) that enables low-effort development of portable, high-performance imaging pipelines—a combination of qualities that is hard, if not impossible, to find among DSP programming models. We propose a set of extensions and modifications to Halide to generate code for DSP C compilers, focusing specifically on diverse SIMD target instruction sets and heterogeneous scratchpad memory hierarchies. We implement said techniques for a commercial DSP found in an Intel Image Processing Unit (IPU), demonstrating that this solution can be used to achieve performance within 20% of highly tuned, manually written C code, while leading to a reduction in code complexity. By comparing performance of Halide algorithms using our solution to results on CPU and GPU targets, we confirm the value of using DSP targets with Halide.
23
A Combined Corner and Edge Detector
Chris Harris, Matthew J. Stephens · 1988 · 12.5K citations
Jonathan Ragan‐Kelley, Connelly Barnes, Andrew Adams et al. · 2013 · 895 citations
Monica S. Lam · ACM SIGPLAN Notices · 2004 · 890 citations
Jason Ansel, Shoaib Kamil, Kalyan Veeramachaneni et al. · 2014 · 515 citations · Full text