dc.contributor.author | Barnes, Connelly | |
dc.contributor.author | Adams, Andrew | |
dc.contributor.author | Paris, Sylvain | |
dc.contributor.author | Ragan-Kelley, Jonathan Millar | |
dc.contributor.author | Durand, Fredo | |
dc.contributor.author | Amarasinghe, Saman P. | |
dc.date.accessioned | 2014-03-28T13:55:24Z | |
dc.date.available | 2014-03-28T13:55:24Z | |
dc.date.issued | 2013-06 | |
dc.identifier.issn | 03621340 | |
dc.identifier.uri | http://hdl.handle.net/1721.1/85943 | |
dc.description.abstract | Image processing pipelines combine the challenges of stencil computations and stream programs. They are composed of large graphs of different stencil stages, as well as complex reductions, and stages with global or data-dependent access patterns. Because of their complex structure, the performance difference between a naive implementation of a pipeline and an optimized one is often an order of magnitude. Efficient implementations require optimization of both parallelism and locality, but due to the nature of stencils, there is a fundamental tension between parallelism, locality, and introducing redundant recomputation of shared values.
We present a systematic model of the tradeoff space fundamental to stencil pipelines, a schedule representation which describes concrete points in this space for each stage in an image processing pipeline, and an optimizing compiler for the Halide image processing language that synthesizes high performance implementations from a Halide algorithm and a schedule. Combining this compiler with stochastic search over the space of schedules enables terse, composable programs to achieve state-of-the-art performance on a wide range of real image processing pipelines, and across different hardware architectures, including multicores with SIMD, and heterogeneous CPU+GPU execution. From simple Halide programs written in a few hours, we demonstrate performance up to 5x faster than hand-tuned C, intrinsics, and CUDA implementations optimized by experts over weeks or months, for image processing applications beyond the reach of past automatic compilers. | en_US |
dc.description.sponsorship | United States. Dept. of Energy (Award DE-SC0005288) | en_US |
dc.description.sponsorship | National Science Foundation (U.S.) (Grant 0964004) | en_US |
dc.description.sponsorship | Intel Corporation | en_US |
dc.description.sponsorship | Cognex Corporation | en_US |
dc.description.sponsorship | Adobe Systems | en_US |
dc.language.iso | en_US | |
dc.publisher | Association for Computing Machinery (ACM) | en_US |
dc.relation.isversionof | http://dx.doi.org/10.1145/2499370.2462176 | en_US |
dc.rights | Creative Commons Attribution-Noncommercial-Share Alike | en_US |
dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0/ | en_US |
dc.source | MIT web domain | en_US |
dc.title | Halide: a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines | en_US |
dc.type | Article | en_US |
dc.identifier.citation | Jonathan Ragan-Kelley, Connelly Barnes, Andrew Adams, Sylvain Paris, Fredo Durand, and Saman Amarasinghe. 2013. Halide: a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. SIGPLAN Not. 48, no. 6 (June 23, 2013): 519. | en_US |
dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | en_US |
dc.contributor.department | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science | en_US |
dc.contributor.mitauthor | Ragan-Kelley, Jonathan Millar | en_US |
dc.contributor.mitauthor | Adams, Andrew | en_US |
dc.contributor.mitauthor | Durand, Fredo | en_US |
dc.contributor.mitauthor | Amarasinghe, Saman P. | en_US |
dc.relation.journal | ACM SIGPLAN Notices | en_US |
dc.eprint.version | Author's final manuscript | en_US |
dc.type.uri | http://purl.org/eprint/type/ConferencePaper | en_US |
eprint.status | http://purl.org/eprint/status/NonPeerReviewed | en_US |
dspace.orderedauthors | Ragan-Kelley, Jonathan; Barnes, Connelly; Adams, Andrew; Paris, Sylvain; Durand, Fredo; Amarasinghe, Saman | en_US |
dc.identifier.orcid | https://orcid.org/0000-0001-9919-069X | |
dc.identifier.orcid | https://orcid.org/0000-0002-7231-7643 | |
mit.license | OPEN_ACCESS_POLICY | en_US |
mit.metadata.status | Complete | |