Halide: a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines
The DOI matches its Crossref record; 30 of the 30 references it cites were found in a registry or an index.
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.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“IO-aware algorithms have been critical for similar memory-bound operations, when reading and writing data can account for a large portion of the runtime-such as database joins [71], image processing [70], numerical linear algebra [4], and more [40, 85].”
From FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness (2022) · cites this paper as [70]
Citations
Cites
Brook for GPUs: stream computing on graphics hardware
Buck, I., Foley, T., Horn, D., Sugerman, J., Fatahalian, K., Houston, M., & Hanrahan, P. (2004) · ACM Transactions on Graphics · doi:10.1145/1015706.1015800 · Cited by 1,155
StreamIt: A Language for Streaming Applications
Thies, W., Karczmarek, M., & Amarasinghe, S. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45937-5_14 · Cited by 1,104 · cited 2×
“Graph-structured programs have been studied in the context of streaming languages [4, 11, 29].”
BackgroundMethodSelf-citationSPIRAL: Code Generation for DSP Transforms
Puschel, M., Moura, J. M. F., Johnson, J. R., Padua, D., Veloso, M. M., Singer, B. W., Xiong, J., Franchetti, F., Gacic, A., Voronenko, Y., et al. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840306 · Cited by 826 · cited 1×
“Split Compilers Sequoia’s “mappings” and SPIRAL’s loop synthesis algebra echo our separation of the model of scheduling from the description of the algorithm, and its lifting outside our compiler [9, 25].”
BackgroundBilateral Filtering: Theory and Applications
Paris, S., Kornprobst, P., Tumblin, J., & Durand, F. (2009) · Foundations and Trends in Computer Graphics and Vision · doi:10.1561/0600000020 · Cited by 586
Self-citationMemory---Sequoia: programming the memory hierarchy
Fatahalian, K., Dally, W. J., Hanrahan, P., Horn, D. R., Knight, T. J., Leem, L., Houston, M., Park, J. Y., Erez, M., Ren, M., et al. (2006) · Proceedings of the 2006 ACM/IEEE conference on Supercomputing - SC '06 · doi:10.1145/1188455.1188543 · Cited by 452 · cited 1×
“Split Compilers Sequoia’s “mappings” and SPIRAL’s loop synthesis algebra echo our separation of the model of scheduling from the description of the algorithm, and its lifting outside our compiler [9, 25].”
BackgroundReal-time edge-aware image processing with the bilateral grid
Chen, J., Paris, S., & Durand, F. (2007) · ACM Transactions on Graphics · doi:10.1145/1276377.1276506 · Cited by 395
Self-citationReal-time edge-aware image processing with the bilateral grid
Chen, J., Paris, S., & Durand, F. (2007) · ACM SIGGRAPH 2007 papers · doi:10.1145/1275808.1276506 · Cited by 394 · cited 1×
“Bilateral grid is an efficient implementation of the bilateral filter, which smoothes an image while preserving its main edges [5, 21].”
BackgroundSelf-citationLocal Laplacian filters: edge-aware image processing with a Laplacian pyramid
Paris, S., Hasinoff, S. W., & Kautz, J. (2011) · ACM Transactions on Graphics · doi:10.1145/2010324.1964963 · Cited by 384
Self-citationPetaBricks: a language and compiler for algorithmic choice
Ansel, J., Chan, C., Wong, Y. L., Olszewski, M., Zhao, Q., Edelman, A., & Amarasinghe, S. (2009) · Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1542476.1542481 · Cited by 355
Self-citationTang, Y., Chowdhury, R. A., Kuszmaul, B. C., Luk, C.-K., & Leiserson, C. E. (2011) · Proceedings of the twenty-third annual ACM symposium on Parallelism in algorithms and architectures · doi:10.1145/1989493.1989508 · Cited by 337 · cited 1×
“The Pochoir compiler automatically transforms stencil codes from serial form into a parallel cache oblivious form using similar algorithms [28].”
Method
Research works printed but not linked: 3
- CoreImage. Apple CoreImage programming guide , 2006 . CoreImage. Apple CoreImage programming guide, 2006.
- PixelBender. Adobe PixelBender reference , 2010 . PixelBender. Adobe PixelBender reference, 2010.
- 10.5555/647478.727935 · doi:10.5555/647478.727935
Cited by
Items 101–200 of 1,000
Machine Learning Systems are Stuck in a Rut
Barham, P. R., & Isard, M. (2019) · Workshop on Hot Topics in Operating Systems · doi:10.1145/3317550.3321441 · Cited by 85
Pushing the Level of Abstraction of Digital System Design: A Survey on How to Program FPGAs
Sozzo, E. D., Conficconi, D., Zeni, A., Salaris, M., Sciuto, D., & Santambrogio, M. D. (2022) · ACM Computing Surveys · doi:10.1145/3532989 · Cited by 84
“Calyx provides a higher level of abstraction than IR for RTL languages [78] and grants precise control over scheduling logic generation, borrowing the de-coupling of algorithm and scheduling from Halide [158] while explicitly representing low-level resources.”
BackgroundMethodInfluentialA full-stack search technique for domain optimized deep learning accelerators
Zhang, D., Huda, S., Songhori, E. M., Prabhu, K., Le, Q. V., Goldie, A., & Mirhoseini, A. (2022) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3503222.3507767 · Cited by 87
YASK—Yet Another Stencil Kernel: A Framework for HPC Stencil Code-Generation and Tuning
Yount, C. R., Tobin, J., Breuer, A., & Durán, A. (2016) · International Workshop on Domain-Specific Languages and High-Level Frameworks for High Performance Computing (WOLFHPC) · doi:10.1109/wolfhpc.2016.08 · Cited by 85
The OPS Domain Specific Abstraction for Multi-block Structured Grid Computations
Reguly, I. Z., Mudalige, G. R., Giles, M. B., Curran, D., & McIntosh‐Smith, S. (2014) · International Workshop on Domain-Specific Languages and High-Level Frameworks for High Performance Computing (WOLFHPC) · doi:10.1109/wolfhpc.2014.7 · Cited by 83
“The extent to which DSLs modify the host language varies widely: some do not change anything (TIDA [12], OP2 [13]), some add new keywords (STELLA[14]), and most define various new language constructs: Delite [15], Halide [16], Pochoir [17], PATUS [18].”
BackgroundEnd-to-end Optimization of Machine Learning Prediction Queries
Park, K., Saur, K., Banda, D., Sen, R., Interlandi, M., & Karanasos, K. (2022) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3514221.3526141 · Cited by 82
“, [16, 25, 26, 60, 70]) or to combine relational and linear algebra operators for ML training [28, 41].”
BackgroundGysi, T., Müller, C. E., Zinenko, O., Herhut, S., Davis, E. C., Wicky, T., Fuhrer, O., Hoefler, T., & Grosser, T. (2021) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/3469030 · Cited by 82
Interest Point Detector and Feature Descriptor Survey
Krig, S. (2014) · Apress eBooks · doi:10.1007/978-1-4302-5930-5_6 · Cited by 83
Automatic generation of efficient accelerators for reconfigurable hardware
Koeplinger, D., Delimitrou, C., Prabhakar, R., Kozyrakis, C., Zhang, Y., & Olukotun, K. (2016) · ACM SIGARCH Computer Architecture News · doi:10.1145/3007787.3001150 · Cited by 79
Data Movement Is All You Need: A Case Study on Optimizing Transformers
Ivanov, A., Dryden, N., Ben-Nun, T., Li, S., & Hoefler, T. (2020) · arXiv · doi:10.48550/arxiv.2007.00072 · Cited by 78
“from data optimization passes include Halide [131], JAX [82], [83], Legion [132], Lift [133], and MLIR [134].”
MethodHeide, F., Diamond, S., Niessner, M., Ragan-Kelley, J., Heidrich, W., & Wetzstein, G. (2016) · ACM Transactions on Graphics · doi:10.1145/2897824.2925875 · Cited by 118
Self-citationOn Vectorization of Deep Convolutional Neural Networks for Vision Tasks
Ren, J., & Xu, L. (2015) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v29i1.9488 · Cited by 76
A sparse iteration space transformation framework for sparse tensor algebra
Senanayake, R., Hong, C., Wang, Z., Wilson, A., Chou, S., Kamil, S. A., Amarasinghe, S. P., & Kjølstad, F. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428226 · Cited by 76
“The threads in the parallel loop reduce into separate parts of the workspace, and when they finish, the second loop reduces across the workspace, either sequentially or in parallel; this strategy mimics the Halide rfactor construct [Suriana et al. 2017].”
BackgroundInfluentialSelf-citationNimble: Efficiently Compiling Dynamic Neural Networks for Model InferencePreprint
Shen, H., Roesch, J., Chen, Z., Chen, W., Wu, Y., Li, M., Sharma, V., Tatlock, Z., & Wang, Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.03031 · Cited by 78
“Deep learning compilers [8,35] have demonstrated competitive performance compared to manually tuned kernels on multiple platforms.”
BackgroundRewrite rule inference using equality saturation
Nandi, C., Willsey, M., Zhu, A., Wang, Y. R., Saiki, B., Anderson, A., Schulz, A., Grossman, D., & Tatlock, Z. (2021) · Proceedings of the ACM on Programming Languages · doi:10.1145/3485496 · Cited by 75
“8For example, the Halide [Ragan-Kelley et al. 2013] tool uses division semantics where 𝑥/0 = 0; this is different from the SMT-LIB semantics, but it can easily be encoded using the ite operator.”
MethodInfluentialZheng, S., Chen, R., Wei, A., Jin, Y., Han, Q., Lu, L., Wu, B., Li, X., Yan, S., & Liang, Y. E. (2022) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1145/3470496.3527440 · Cited by 75
“Halide [49] introduces the concept of compute and schedule to represent software and optimization, while TVM [9] generalizes the concept and allows users to use tensorize primitive to lower part of software to spatial accelerators manually.”
MethodTenSet: A Large-scale Program Performance Dataset for Learned Tensor Compilers
Zheng, L., Liu, R., Shao, J., Chen, T., Gonzalez, J. E., Stoica, I. G., & Ali, A. H. (2021) · neural information processing systems · Cited by 74
Plasticine: A Reconfigurable Architecture For Parallel Paterns
Prabhakar, R., Zhang, Y., Koeplinger, D., Feldman, M., Zhao, T. Y., Hadjis, S., Pedram, A., Kozyrakis, C., & Olukotun, K. (2017) · ACM SIGARCH Computer Architecture News · doi:10.1145/3140659.3080256 · Cited by 74
Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion
Zheng, S., Chen, S., Song, P., Chen, R., Li, X., Yan, S., Lin, D., Leng, J., & Liang, Y. E. (2023) · IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca56546.2023.10071018 · Cited by 74
“Halide [39] provides primitives to support kernel fusion and uses auto-schedulers [9], [34] to fuse kernels.”
BackgroundDomain-Specific Optimization and Generation of High-Performance GPU Code for Stencil Computations
Rawat, P. S., Vaidya, M., Sukumaran-Rajam, A., Ravishankar, M., Grover, V., Rountev, A., Pouchet, L.-N., & Sadayappan, P. (2018) · Proceedings of the IEEE · doi:10.1109/jproc.2018.2862896 · Cited by 74
“1) Experimental Setup: Many frameworks explicitly target stencil optimizations on CPU [2], [10], [11], [20], [34].”
BackgroundFixyNN: Efficient Hardware for Mobile Computer Vision via Transfer LearningPreprint
Whatmough, P. N., Zhou, C., Hansen, P. R., Venkataramanaiah, S. K., Seo, J.-S., & Mattina, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1902.11128 · Cited by 75
“This arrangement can be further optimized (Hegarty et al., 2014; 2016; Ragan-Kelley et al., 2013), for example, by using dual-port SRAMs, which were not available to us in our ance (Ioffe & Szegedy, 2015).”
BackgroundMethodZorua: A holistic approach to resource virtualization in GPUs
Vijaykumar, N., Hsieh, K., Pekhimenko, G. G., Khan, S., Shrestha, A., Ghose, S., Jog, A., Gibbons, P. B., & Mutlu, O. (2016) · IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1109/micro.2016.7783718 · Cited by 73
Chromablur: rendering chromatic eye aberration improves accommodation and realism
Cholewiak, S. A., Love, G. D., Srinivasan, P. P., Ng, R., & Banks, M. S. (2017) · ACM Transactions on Graphics · doi:10.1145/3130800.3130815 · Cited by 73
Stream-K: Work-Centric Parallel Decomposition for Dense Matrix-Matrix Multiplication on the GPU
Osama, M., Merrill, D., Cecka, C., Garland, M., & Owens, J. D. (2023) · ACM SIGPLAN Symposium on Principles & Practice of Parallel Programming · doi:10.1145/3572848.3577479 · Cited by 69
“Other domain-specific programming languages such as Halide [16] and TVM [3] separate the expression of pointwise operators from that of loop scheduling.”
BackgroundCharacterizing Mobile SoC for Accelerating Heterogeneous LLM Inference
Chen, L., Feng, D., Feng, E., Wang, Y., Zhao, R. J., Xia, Y., Xu, P., & Chen, H. (2025) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3731569.3764808 · Cited by 72
Gysi, T., Grosser, T., & Hoefler, T. (2015) · International Conference on Supercomputing · doi:10.1145/2751205.2751223 · Cited by 72
“Therefore, a hierarchical tiling results in a nested bracket expression with the outermost bracket term representing the bottom of the tiling hierarchy.”
BackgroundInfluentialType-directed scheduling of streaming accelerators
Durst, D., Feldman, M., Huff, D., Akeley, D., Daly, R., Bernstein, G., Patrignani, M., Fatahalian, K., & Hanrahan, P. (2020) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3385412.3385983 · Cited by 72
“The Halide image processing language [40] was designed to enable rapid design space exploration for dense tensor applications such as image processing.”
MethodDiffTaichi: Differentiable Programming for Physical Simulation
Hu, Y., Anderson, L., Li, T., Sun, Q. L., Carr, N., Ragan‐Kelley, J., & Durand, F. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1910.00935 · Cited by 70
“DiffTaichi PyTorch TensorFlow Enoki JAX Halide Julia Swift GPU Megakernels ∆ ∆ Imperative Scheme”
BackgroundSelf-citationA framework for enhancing data reuse via associative reordering
Stock, K., Kong, M., Grosser, T., Pouchet, L.-N., Rastello, F., Ramanujam, J., & Sadayappan, P. (2014) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2594291.2594342 · Cited by 70
“[35]; Ibiglaplace is a 97-point stencil for gradient edge detection; Izerocross is a 25-point stencil for edge detection; Inevatia is a 20-point stencil for gradient edge detection.”
Generating Configurable Hardware from Parallel Patterns
Prabhakar, R., Koeplinger, D., Brown, K. J., Lee, H., De, C., Kozyrakis, C., & Olukotun, K. (2016) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/2872362.2872415 · Cited by 70
“In addition, they have been shown to provide high productivity when implementing applications in a wide variety of domains [44, 39].”
BackgroundA Systematic Approach to Blocking Convolutional Neural NetworksPreprint
Yang, X., Pu, J., Rister, B., Bhagdikar, N., Richardson, S., Kvatinsky, S., Ragan‐Kelley, J., Pedram, A., & Horowitz, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1606.04209 · Cited by 70
“Our blocked CNN algorithm uses Halide [32, 31], a do-main-specific language for image processing, where blocking, vectorization, and multi-threading can be done using high level primitives.”
MethodSelf-citationTileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis
Zheng, S., Chen, S., Gao, S., Jia, L., Sun, G., Wang, R., & Liang, Y. E. (2023) · IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1145/3613424.3623792 · Cited by 69
Efficient differentiable programming in a functional array-processing language
Shaikhha, A., Fitzgibbon, A. W., Vytiniotis, D., & Jones, S. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3341701 · Cited by 69
Breaking High-Resolution CNN Bandwidth Barriers With Enhanced Depth-First Execution
Goetschalckx, K., & Verhelst, M. (2019) · IEEE Journal on Emerging and Selected Topics in Circuits and Systems · doi:10.1109/jetcas.2019.2905361 · Cited by 69
“7] and [12, Table I] work based on ‘Halide’ [23], a software language that separates an algorithm and its scheduling.”
BackgroundMethodInfluentialFPGA Acceleration for Big Data Analytics: Challenges and Opportunities
Hoozemans, J., Peltenburg, J., Nonnemacher, F., Hadnagy, Á., Al-Ars, Z., & Hofstee, H. P. (2021) · IEEE Circuits and Systems Magazine · doi:10.1109/mcas.2021.3071608 · Cited by 68
“In the meantime, optimization fra meworks such as Halide [29], initially developed for image processing, and TVM [30] targeting machine learning, have taken the route of separating the specification of functionality from the implementation (the schedule).”
MethodAnalytical characterization and design space exploration for optimization of CNNs
Li, R., Xu, Y., Sukumaran-Rajam, A., Rountev, A., & Sadayappan, P. (2021) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3445814.3446759 · Cited by 68
TLP: A Deep Learning-Based Cost Model for Tensor Program Tuning
Zhai, Y., Zhang, Y., Liu, S., Chu, X., Peng, J., Ji, J., & Zhang, Y. (2023) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3575693.3575737 · Cited by 68
“Recently, the rapid development of tensor compilers has spawned several schemes, includingHalide [29], TVM [10], XLA [31], nGraph [15], TIRAMISU [6], DeepCuts [20], TACO [23], and Tensor Comprehensions [32].”
BackgroundTorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUs
Tang, H., Yang, S., Liu, Z., Hong, K., Yu, Z., Li, X., Dai, G., Wang, Y., & Han, S. (2023) · IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1145/3613424.3614303 · Cited by 72
ThunderKittens: Simple, Fast, and Adorable AI Kernels
Spector, B. F., Arora, S., Singhal, A., Fu, D. Y., & Ré, C. (2024) · arXiv · doi:10.48550/arxiv.2410.20399
“Building upon Halide’s [34] separation of algorithm and schedule, TVM introduces new primitives such as tensorization.”
MethodSuSy: a programming model for productive construction of high-performance systolic arrays on FPGAs
Lai, Y., Rong, H., Zheng, S., Zhang, W., Cui, X., Jia, Y., Wang, J., Sullivan, B., Zhang, Z., Liang, Y. E., et al. (2020) · doi:10.1145/3400302.3415644 · Cited by 66
DLVM: A modern compiler infrastructure for deep learning systemsPreprint
Wei, R., Schwartz, L., & Adve, V. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1711.03016 · Cited by 64
KernelEvolve: Scaling Agentic Kernel Coding for Heterogeneous AI Accelerators at Meta
Liao, G., Qin, H., Wang, Y., Golden, A., Kuchnik, M., Yetim, Y., Xiao, R., Ang, J. J., Fu, C., He, Y., et al. (2026) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1109/isca66397.2026.00063 · Cited by 69
“Halide decouples algorithm specification from scheduling, enabling portable optimization across hardware targets [40].”
Sympiler: transforming sparse matrix codes by decoupling symbolic analysis
Cheshmi, K., Kamil, S. A., Strout, M. M., & Dehnavi, M. M. (2017) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1145/3126908.3126936 · Cited by 65
“Such an approach has been used successfully for stencil computations [37, 57, 66], signal processing [54], dense linear algebra [34, 64], matrix assembly and mesh analysis [1, 48], simulation [9, 42], and sparse operations [16, 58].”
MethodThe three pillars of machine programming
Gottschlich, J., Solar-Lezama, A., Tatbul, N., Carbin, M., Rinard, M., Barzilay, R., Amarasinghe, S. P., Tenenbaum, J. B., & Mattson, T. (2018) · ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (MAPL) · doi:10.1145/3211346.3211355 · Cited by 65
“e survey of all the research in the adaptation pillar. Rather, it is meant as an example of work in sub-domains of adaptation. codes with only a small amount of high-level guidance from the developer [61]. Despite this successes, there is significant scope for advances in this direction. For example, how do we enable…”
BackgroundSelf-citationAgora: Real-time massive MIMO baseband processing in software
Ding, J. W., Doost-Mohammady, R., Kalia, A., & Zhong, L. (2020) · ACM International Conference on emerging Networking EXperiments and Technologies (CoNEXT) · doi:10.1145/3386367.3431296 · Cited by 65
“Existing studies, such as Ziria [19], Halide [41] and TVM [42], use domain specific languages (DSLs) to separate design from implementation.”
MethodTowards Practical Verification of Machine Learning: The Case of Computer Vision Systems
Pei, K., Zhu, L., Cao, Y., Yang, J., Vondrick, C., & Jana, S. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1712.01785 · Cited by 64
“[39], to the best of our knowledge, we are the first to reduce the output space of a parameterized image transform using such techniques.”
BackgroundMethodT2S-Tensor: Productively Generating High-Performance Spatial Hardware for Dense Tensor Computations
Srivastava, N., Rong, H., Barua, P., Feng, G., Cao, H., Zhang, Z., Albonesi, D. H., Sarkar, V., Chen, W., Petersen, P. M., et al. (2019) · IEEE International Symposium on Field-Programmable Custom Computing Machines (FCCM) · doi:10.1109/fccm.2019.00033 · Cited by 64
“Our system is built on Halide [8], a domain-specific lan-”
BackgroundMethodResultInfluentialNuman, M. W., Phillips, B. J., Puddy, G., & Falkner, K. E. K. (2020) · IEEE Access · doi:10.1109/access.2020.3024098 · Cited by 64
“Halide [94] is a DSL specifically designed for high-performance image and array processing code for a wide variety of CPU families and operating systems, as well as GPUs capable of running APIs in CUDA, OpenCL, OpenGL, OpenGL Compute Shaders, Apple Metal and Microsoft Direct X 12.”
BackgroundFunctional collection programming with semi-ring dictionaries
Shaikhha, A., Huot, M., Smith, J., & Olteanu, D. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3527333 · Cited by 63
“DSLs such as Lift [Steuwer et al. 2015], Halide [Ragan-Kelley et al. 2013], Diderot [Chiw et al. 2012], and OptiML [Sujeeth et al. 2011] can generate parallel code from their high-level programs, while DSLs such as Spiral [Puschel et al. 2005], LGen [Spampinato et al. 2018; Spampinato and Püschel…”
BackgroundHidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs
Ding, Y., Yu, C. H., Zheng, B., Liu, Y., Wang, Y., & Pekhimenko, G. G. (2023) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3575693.3575702 · Cited by 63
“To simplify tensor program optimization, Halide [43] proposes a programming paradigm of tensor programs, in which the computation definition and scheduling of the computation are decoupled.”
BackgroundMethodInfluentialAnyDSL: a partial evaluation framework for programming high-performance libraries
Leißa, R., Boesche, K., Hack, S., Pérard‐Gayot, A., Membarth, R., Slusallek, P., Müller, A., & Schmidt, B. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276489 · Cited by 65
“The similarity to the introductory example 2 of the DSL Halide [Ragan-Kelley et al. 2013] is intentional.”
MethodProgramming and Synthesis for Software-defined FPGA Acceleration: Status and Future Prospects
Lai, Y., Ustun, E., Xiang, S., Fang, Z., Rong, H., & Zhang, Z. (2021) · ACM Transactions on Reconfigurable Technology and Systems · doi:10.1145/3469660 · Cited by 63
“In the algorithm definition, HeteroCL allows both imperative programming and declarative programming, making the language more general compared to other DSLs such as Halide and TVM.”
MethodInfluentialLLHD: a multi-level intermediate representation for hardware description languages
Schuiki, F., Kurth, A., Grosser, T., & Benini, L. (2020) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3385412.3386024 · Cited by 62
“It is designed to interact with higher-level functional descriptions of a circuit, such as Halide [21] or Verilog (via Yosys [30]), and represent these within a formal verification infrastructure.”
BackgroundHagedorn, B., Lenfers, J., Kœhler, T., Qin, X., Gorlatch, S. P., & Steuwer, M. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3408974 · Cited by 62
VTA: An Open Hardware-Software Stack for Deep Learning.Preprint
Moreau, T., Chen, T., Jiang, Z., Ceze, L., Guestrin, C., & Krishnamurthy, A. (2018) · arXiv (Cornell University) · Cited by 62
AlphaSparse: Generating High Performance SpMV Codes Directly from Sparse Matrices
Du, Z. H., Li, J., Wang, Y., Li, X., Tan, G., & Sun, N. (2022) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1109/sc41404.2022.00071 · Cited by 62
“Compared with existing offline auto-tuners, such as PATUS (8 hours) [64], SDSL (≥33 hours) [65], Halide (2 hours-2 days) [66], PARTANS (2.”
BackgroundAstra: Exploiting Predictability to Optimize Deep Learning
Sivathanu, M., Chugh, T., Singapuram, S. S. V., & Zhou, L. (2019) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3297858.3304072 · Cited by 61
“Prior work by several people has looked at the problem of how to automatically generate optimized code for these low-level primitive kernels [6, 26, 30], but that is not the focus of this paper.”
BackgroundFireiron: A Data-Movement-Aware Scheduling Language for GPUs
Hagedorn, B., Elliott, A. S., Barthels, H., Bodík, R., & Grover, V. (2020) · International Conference on Parallel Architectures and Compilation Techniques (PACT) · doi:10.1145/3410463.3414632 · Cited by 61
“Figure 1 (a) shows the performance of the best matrix multiplication implementations we found for Halide [23] and TVM [7], two state-of-the-art compilers, compared to the performance achieved by NVIDIA ’s experts providing manually tuned implementations in the high-performance cu BLAS library.”
BackgroundMethodResultInfluentialLoop Tiling in Large-Scale Stencil Codes at Run-Time with OPS
Reguly, I. Z., Mudalige, G. R., & Giles, M. B. (2017) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2017.2778161 · Cited by 60
“There are a number of compilers focused on applying tiling to stencil computations such as Pochoir [26], image processing workflows such as Polymage and Halide [27], [28], and more generally to computations covered by the polyhedral model: Pluto [29], [30], R-STREAM [31]—these have shown significant improvements in pe…”
MethodVasilache, N., Zinenko, O., Theodoridis, T., Goyal, P., DeVito, Z., Moses, W. S., Verdoolaege, S., Adams, A., & Cohen, A. (2019) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/3355606 · Cited by 60
Self-citationZhao, Y. K., Li, C., Wang, Y., Xu, P., Zhang, Y., & Lin, Y. (2020) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp40776.2020.9053977 · Cited by 59
“The work in [24] adopts Halide [25], a domain-specific language for image processing applications, and proposes a modeling framework which is similar to that of [14].”
ResultPyLog: An Algorithm-Centric Python-Based FPGA Programming and Synthesis Flow
Huang, S., Wu, K., Jeong, H., Wang, C., Chen, D., & Hwu, W. (2021) · IEEE Transactions on Computers · doi:10.1109/tc.2021.3123465 · Cited by 60
Casper: Accelerating Stencil Computations Using Near-Cache Processing
Denzler, A., Junior, G. F. D. O., Hajinazar, N., Bera, R., Singh, G., Gómez-Luna, J., & Mutlu, O. (2023) · IEEE Access · doi:10.1109/access.2023.3252002 · Cited by 60
MaxEVA: Maximizing the Efficiency of Matrix Multiplication on Versal AI Engine
Taka, E., Arora, A., Wu, K., & Marculescu, D. (2023) · International Conference on Field-Programmable Technology (FPT) · doi:10.1109/icfpt59805.2023.00016 · Cited by 59
“Vyasa [38] is a vectorizing compiler which extends the Halide DSL compiler [39] to automatically generate code for Versal AIE.”
MethodA DSL Compiler for Accelerating Image Processing Pipelines on FPGAs
Chugh, N., Vasista, V., Purini, S., & Bondhugula, U. K. R. (2016) · International Conference on Parallel Architectures and Compilation Techniques (PACT) · doi:10.1145/2967938.2967969 · Cited by 59
“The idea of performing redundant computation at the boundaries to avoid communication or cache misses, or to aid local buffering has been used in several automatic code generation approaches including [17, 39, 32, 23] for CPUs or GPUs.”
BackgroundInfluentialLatte: a language, compiler, and runtime for elegant and efficient deep neural networks
Truong, L., Barik, R., Totoni, E., Liu, H., Markley, C., Fox, A., & Shpeisman, T. (2016) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2908080.2908105 · Cited by 58
“Domain-Specific Languages: Halide [38] demonstrated that high-performance image processing code could be written productively using a DSL. SEJITS [12] and Delite [13] provide infrastructure for the creation of DSLs. Latte is a DSL built with ParallelAcclerator.jl [30], a framework for accelerating…”
MethodAutomated SmartNIC Offloading Insights for Network Functions
Qiu, Y., Xing, J., Hsu, K.-F., Kang, Q., Liu, M., Narayana, S., & Chen, A. (2021) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3477132.3483583 · Cited by 59
“TVM inherits the concept of łseparating the algorithm from the schedulež, which was first pioneered in Halide [62], a language and compiler for stencil computations.”
MethodEffective Performance Portability
Harrell, S. L., Kitson, J., Bird, R. F., Pennycook, S. J., Sewall, J. D., Jacobsen, D. W., Asanza, D. N., Hsu, A., Carrillo, H. C., Kim, H., et al. (2018) · IEEE/ACM International Workshop on Performance, Portability and Productivity in HPC (P3HPC) · doi:10.1109/p3hpc.2018.00006 · Cited by 57
“In some domains, domain-specific languages (or DSL s, e.g. Halide [23], OP2 [24], Devito [25]) provide a natural way for scientists to express applications without consideration of the underlying hardware; in other domains, it is possible to program to abstract representations of parallel machines…”
BackgroundOn Optimizing Complex Stencils on GPUs
Rawat, P. S., Vaidya, M., Sukumaran-Rajam, A., Rountev, A., Pouchet, L.-N., & Sadayappan, P. (2019) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2019.00073 · Cited by 57
“tions simultaneously on the input stencil [9]; (b) rely on the user to specify the optimizations [2], [11]; or (c) use heuristics driven by simple cost models to apply selected optimizations [16].”
BackgroundMethodInfluentialAHA: An Agile Approach to the Design of Coarse-Grained Reconfigurable Accelerators and Compilers
Koul, K., Melchert, J., Sreedhar, K., Truong, L., Nyengele, G., Zhang, K., Liu, Q., Setter, J., Chen, P., Mei, Y., et al. (2023) · ACM Transactions on Embedded Computing Systems · doi:10.1145/3534933 · Cited by 55
Polly-ACC Transparent compilation to heterogeneous hardware
Grosser, T., & Hoefler, T. (2016) · International Conference on Supercomputing · doi:10.1145/2925426.2926286 · Cited by 55
“DSLs [18, 30, 28, 41, 12] allow for the automatic generation of high-performance code for a given problem domain.”
BackgroundCoSA: Integrated Verification for Agile Hardware Design
Mattarei, C., Mann, M., Barrett, C., Daly, R., Huff, D., & Hanrahan, P. (2018) · Formal Methods in Computer-Aided Design · doi:10.23919/fmcad.2018.8603014 · Cited by 55
“As shown in Figure 1, other high-level hardware description languages can integrate with CoreIR in addition to Halide.”
BackgroundInfluentialAutomatic generation of high-performance quantized machine learning kernels
Cowan, M., Moreau, T., Chen, T., Bornholt, J., & Ceze, L. (2020) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1145/3368826.3377912 · Cited by 55
“Tensor compilers such as TACO [21] andHalide [29] automatically generate kernels for sparse linear algebra and image processing, respectively.”
BackgroundMethodInfluentialVerified tensor-program optimization via high-level scheduling rewrites
Liu, A., Bernstein, G., Chlipala, A. J., & Ragan‐Kelley, J. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3498717 · Cited by 54
“In this paper, our primary point of comparison is Halide [Ragan-Kelley et al. 2013], which uses a language of scheduling primitives to optimize graphics code or tensor computations in general.”
BackgroundMethodInfluentialSelf-citationRelay: A High-Level Compiler for Deep LearningPreprint
Roesch, J., Lyubomirsky, S., Kirisame, M., Weber, L., Pollock, J., Vega, L., Jiang, Z., Chen, T., Moreau, T., & Tatlock, Z. (2019) · arXiv (Cornell University) · doi:10.4230/lipics.ecoop.2024.29 · Cited by 70
Verified lifting of stencil computations
Kamil, S., Cheung, A., Itzhaky, S., & Solar-Lezama, A. (2016) · Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2908080.2908117 · Cited by 53
“To demonstrate how the lifted summaries can be used, STNG translates them into a high-performance stencil DSL called Halide [47].”
BackgroundMethodLegion: Programming Distributed Heterogeneous Architectures with Logical Regions
Bauer, M. E. (2014) · Cited by 52
Ground Truth Data, Content, Metrics, and Analysis
Krig, S. (2014) · Apress eBooks · doi:10.1007/978-1-4302-5930-5_7 · Cited by 53
Coverage-guided tensor compiler fuzzing with joint IR-pass mutation
Liu, J., Wei, Y., Yang, S., Deng, Y., & Zhang, L. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3527317 · Cited by 51
“Therefore, DL engineers and researchers have been building an ultimate solution, tensor compilers [Chen et al. 2018; Lattner et al. 2020; Ragan-Kelley et al. 2013; Rotem et al. 2018] (also known as DL compilers), to essentially tackle the challenges in performance, portability, and flexibility.”
BackgroundMIOpen: An Open Source Library For Deep Learning Primitives
Khan, J., Fultz, P., Tamazov, A., Lowell, D., Liu, C., Melesse, M., Nandhimandalam, M., Nasyrov, K., Perminov, I., Shah, T., et al. (2020) · Proceedings of the 30th International Conference on Computer Graphics and Machine Vision (GraphiCon 2020). Part 2 · doi:10.51130/graphicon-2020-2-2-2 · Cited by 50
Automatically translating image processing libraries to halide
Ahmad, M. B. S., Ragan‐Kelley, J., Cheung, A., & Kamil, S. A. (2019) · ACM Transactions on Graphics · doi:10.1145/3355089.3356549 · Cited by 50
“Domain specific languages (DSLs) for image processing [Adobe 2010; Guenter and Nehab 2010; Ragan-Kelley et al. 2013] enable high performance, portability, and maintainability, but extending these benefits to existing low-level code is difficult.”
BackgroundSelf-citationFOVEA: Foveated Image Magnification for Autonomous Navigation
Thavamani, C., Li, M., Cebron, N., & Ramanan, D. (2021) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.01525 · Cited by 51
“While numerous techniques exist to make a particular model run fast, such as quantization [43], model compression [9], and inference optimization [33], at the end of the day, simple approaches that subsample sensor data (both spatially by frame downsampling and temporally by frame dropping) are…”
Delivering Performance-Portable Stencil Computations on CPUs and GPUs Using Bricks
Zhao, T., Williams, S., Hall, M. W., & Johansen, H. (2018) · IEEE/ACM International Workshop on Performance, Portability and Productivity in HPC (P3HPC) · doi:10.1109/p3hpc.2018.00009 · Cited by 51
“A common approach to deriving high-performance stencil computations is to use a domain-specific compiler that automatically generates architecture-specific code from a stylized stencil specification [21], [17], [18], [19], [20], [22], [23].”
BackgroundMethodA Unified Optimization Approach for CNN Model Inference on Integrated GPUs
Wang, L., Chen, Z., Liu, Y., Wang, Y., Zheng, L., Li, M., & Wang, Y. (2019) · Proceedings of the International Conference on Parallel Processing · doi:10.1145/3337821.3337839 · Cited by 51
“inherited from Halide [33], TVM utilizes a unified IR to lower the optimization schemes of different integrated GPUs to CUDA or OpenCL for code generation on those devices.”
MethodProductivity, performance, and portability for computational fluid dynamics applications
Reguly, I. Z., & Mudalige, G. R. (2020) · Computers & Fluids · doi:10.1016/j.compfluid.2020.104425 · Cited by 50
“Halide [55] (active) is a DSL intended for image processing pipelines, but generic enough to target structured-mesh computations [56], it has its own language, but is also embedded into C++ - it targets both CPUs and GPUs, as well as distributed memory systems.”
BackgroundDevito: Towards a Generic Finite Difference DSL Using Symbolic Python
Lange, M., Kukreja, N., Louboutin, M., Luporini, F., Vieira, F., Pandolfo, V., Velesko, P., Kazakas, P., & Gorman, G. (2016) · Workshop on Python for High-Performance and Scientific Computing (PyHPC) · doi:10.1109/pyhpc.2016.013 · Cited by 54
Challenges and Paths Towards AI for Software EngineeringPreprint
Gu, A., Jain, N., Li, W., Shetty, M., Shao, Y., Li, Z., Yang, D., Ellis, K., Sen, K., & Solar-Lezama, A. (2025) · Qeios · doi:10.32388/vv1661 · Cited by 52
Zheng, S., Bao, W., Hou, Q., Zheng, X., Fang, J., Huang, C., Li, T., Duanmu, H., Chen, R., Xu, R., et al. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2504.19442 · Cited by 50
“This process led to the emergence of numerous compilers [5, 9, 10, 13–15, 26, 32, 37–39], but after years of validation, the outstanding compilers that have withstood the test of time [15, 31, 32] still mainly focus on single-device scenarios.”
Spatial: a language and compiler for application accelerators
Koeplinger, D., Feldman, M., Prabhakar, R., Zhang, Y., Hadjis, S., Fiszel, R., Zhao, T. Y., Nardi, L., Pedram, A., Kozyrakis, C., et al. (2018) · ACM SIGPLAN Notices · doi:10.1145/3296979.3192379 · Cited by 49
de Gonzalo, S. G., Huang, S., Gómez-Luna, J., Hammond, S. D., Mutlu, O., & Hwu, W. (2019) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1109/cgo.2019.8661187 · Cited by 49
“Those who are not experts largely rely on carefully-crafted libraries such as Thrust [6] and CUB [7], higher level programming frameworks such as Tangram [8] or Kokkos [9], or Domain Specific Languages (DSLs) such as Halide [10], which abstract away the complexity of GPU software development.”
BackgroundInfluentialAccelerating the tuning process for optimizing DNN operators by ROFT model
He, Z., Zhong, H., Shi, X., Zhao, C., Wen, J., & Shang, M. (2025) · Scientific Reports · doi:10.1038/s41598-025-20139-x · Cited by 53
“Embracing the principle of computation / schedule separation 12 , operators are delineated through a declarative tensor expression language, allowing the abstraction of execution specifics.”
Productivity, portability, performance: data-centric Python
Ziogas, A. N., Schneider, T., Ben‐Nun, T., Calotoiu, A., Matteis, T. D., Licht, J. D. F., Lavarini, L., & Hoefler, T. (2021) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1145/3458817.3476176 · Cited by 49
Autoscheduling for sparse tensor algebra with an asymptotic cost model
Ahrens, W., Kjølstad, F., & Amarasinghe, S. P. (2022) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3519939.3523442 · Cited by 48
“These sparse tensor compilers separate mechanism (how code is generated from the high-level description) from policy (deciding what high-level description is best) [49].”
Self-citationStripe: Tensor Compilation via the Nested Polyhedral ModelPreprint
Zerrell, T., & Bruestle, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.06498 · Cited by 48
“Various frameworks, including URUK [12], Halide [26], and Tiramisu [2] separate loop nest semantics from execution order via a scheduling language.”
MethodZheng, S., Fang, J., Zheng, X., Hou, Q., Bao, W., Zheng, N., Jiang, Z., Wang, D., Ye, J., Lin, H., et al. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2503.20313 · Cited by 52
“With the rapid advancement of code generation compilers [7, 33, 40], generating high-performance code for attention or FFN has become practical.”
Destination-passing style for efficient memory management
Shaikhha, A., Fitzgibbon, A. W., Jones, S., & Vytiniotis, D. (2017) · doi:10.1145/3122948.3122949 · Cited by 46
AnyHLS: High-Level Synthesis With Partial Evaluation
Özkan, M. A., Pérard‐Gayot, A., Membarth, R., Slusallek, P., Leißa, R., Hack, S., Teich, J., & Hannig, F. (2020) · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · doi:10.1109/tcad.2020.3012172 · Cited by 46
“[25] based on Halide [26].”
Prospective validation of smartphone-based heart rate and respiratory rate measurement algorithms
Bae, S., Borac, S., Emre, Y., Wang, J., Wu, J., Kashyap, M., Kang, S., Chen, L., Moran, M., Cannon, J., et al. (2022) · Communications Medicine · doi:10.1038/s43856-022-00102-x · Cited by 46
WACO: Learning Workload-Aware Co-optimization of the Format and Schedule of a Sparse Tensor Program
Won, J., Mendis, C., Emer, J., & Amarasinghe, S. P. (2023) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3575693.3575742 · Cited by 47
“In scheduling languages [39], auto-scheduling is the task that finds the best schedule for a given input [10, 35, 51].”
BackgroundMethodSelf-citationTorchSparse++: Efficient Point Cloud Engine
Tang, H., Yang, S., Liu, Z., Hong, K., Yu, Z., Li, X., Dai, G., Wang, Y., & Han, S. (2023) · IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw59228.2023.00025 · Cited by 46
“The pioneering research TVM [4] provides graph-level and operator-level abstractions for deep learning workloads based on the essence of Halide [28].”
Method
Metadata
- Authors
- Ragan-Kelley, J., Barnes, C., Adams, A., Paris, S., Durand, F., & Amarasinghe, S.
- Affiliations
- Massachusetts Institute of Technology, Cambridge, MA, USA
- Adobe, Cambridge, MA, USA
- Massachusetts Institute of Technology (US)
- Venue
- Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2013-06-16
- Pages
- 519-530
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2055312318
- Semantic Scholar
- 4d23db55e6671a82c95dacec33b2967a4b8b677d
- Cited by
- 885
- References
- 30
- Citations by year
- 2026: 33 · 2025: 40 · 2024: 48 · 2023: 40 · 2022: 53 · 2021: 101 · 2020: 112 · 2019: 84 · 2018: 102 · 2017: 70 · 2016: 89 · 2015: 55 · 2014: 48 · 2013: 10
- FWCI
- 41.68
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (publishedVersion)
- Funders
- U.S. Department of Energy
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Computer Graphics and Computer-Aided Design › Computer Graphics and Visualization Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Digital Image Processing Techniques
- Keywords
- image processing pipeline, stencil computations, pipeline optimization, parallelism, locality, reduction operations
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.