Sketching stencils
The DOI matches its Crossref record; 22 of the 23 references it cites were found in a registry or an index.
Abstract
Performance of stencil computations can be significantly improved through smart implementations that improve memory locality, computation reuse, or parallelize the computation. Unfortunately, efficient implementations are hard to obtain because they often involve non-traditional transformations, which means that they cannot be produced by optimizing the reference stencil with a compiler. In fact, many stencils are produced by code generators that were tediously handcrafted.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Bailey, D. H., Barszcz, E., Barton, J. T., Browning, D. S., Carter, R. L., Dagum, L., Fatoohi, R. A., Frederickson, P. O., Lasinski, T. A., Schreiber, R. S., et al. (1991) · The International Journal of Supercomputing Applications · doi:10.1177/109434209100500306 · Cited by 2,395 · cited 2×
“The second sketch we did for this benchmark describes an optimization which is used by the HPF implementation of this kernel in the NAS benchmark suite [2].”
MethodFFTW: an adaptive software architecture for the FFT
Frigo, M., & Johnson, S. G. (2002) · Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP '98 (Cat. No.98CH36181) · doi:10.1109/icassp.1998.681704 · Cited by 1,801 · cited 2×
“For example, FFTW [9] uses a planner to try many different execution plans for an FFT at run-time, and pick the best one.”
MethodA Multigrid Tutorial, Second Edition
Briggs, W. L., Henson, V. E., & McCormick, S. F. (2000) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9780898719505 · Cited by 1,510
The Omega test: a fast and practical integer programming algorithm for dependence analysis
Pugh, W. (1991) · Proceedings of the 1991 ACM/IEEE conference on Supercomputing - Supercomputing '91 · doi:10.1145/125826.125848 · Cited by 750 · cited 1×
“Optimizers relying on dependence analysis—such as [16]—must be able to reason statically about all array reads and writes, so every array index expression must have a clean algebraic form to ensure that no dependence will be violated after a transformation.”
Combinatorial sketching for finite programs
Solar-Lezama, A., Tancau, L., Bodik, R., Seshia, S., & Saraswat, V. (2006) · Proceedings of the 12th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1168857.1168907 · Cited by 635 · cited 1×
“The algorithms described in this paper are implemented as an extension to the SKETCH system, and rely heavily on the combinatorial synthesis engine described in [22].”
MethodSelf-citationDAG-aware AIG rewriting a fresh look at combinational logic synthesis
Mishchenko, A., Chatterjee, S., & Brayton, R. (2006) · Proceedings of the 43rd annual conference on Design automation - DAC '06 · doi:10.1145/1146909.1147048 · Cited by 490 · cited 2×
“It should be pointed out that SKETCH doesn t invoke a SAT solver directly, but instead uses the circuit equivalence checking engine from ABC [14], which has proven to be much more ef.cient.”
MethodSelf-Adapting Linear Algebra Algorithms and Software
Demmel, J., Dongarra, J., Eijkhout, V., Fuentes, E., Petitet, A., Vuduc, R., Whaley, R. C., & Yelick, K. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840848 · Cited by 204 · cited 1×
“[7] also use search-based methods to generate dense and sparse linear algebra kernels.”
MethodSpiral: A Generator for Platform-Adapted Libraries of Signal Processing Alogorithms
Püschel, M., Moura, J. M. F., Singer, B., Xiong, J., Johnson, J., Padua, D., Veloso, M., & Johnson, R. W. (2004) · The International Journal of High Performance Computing Applications · doi:10.1177/1094342004041291 · Cited by 180
Verification of Infinite State Systems by Compositional Model Checking
McMillan, K. L. (1999) · Lecture notes in computer science · doi:10.1007/3-540-48153-2_17 · Cited by 176 · cited 1×
“These principles are well-rooted in the research of model checking: for example, uninterpreted functions and their representation using input variables is widely used in verifying hardware and (more recently) software [4, 6], as is the idea of breaking the problem into cases that we apply to bounding the output [13].”
BackgroundDeciding Bit-Vector Arithmetic with Abstraction
Bryant, R. E., Kroening, D., Ouaknine, J., Seshia, S. A., Strichman, O., & Brady, B. A. (2007) · Springer eBooks · doi:10.1007/978-3-540-71209-1_28 · Cited by 152 · cited 3×
“Additional techniques—like those presented in [5]—can be applied on top of the bounded representation in order to prove equivalence very efficiently.”
MethodSelf-citation
Research works printed but not linked: 3
- W. L. Briggs , V. E. Henson , and S. F. McCormick . A Multigrid Tutorial . SIAM , 2000 . W. L. Briggs, V. E. Henson, and S. F. McCormick. A Multigrid Tutorial. SIAM, 2000.
- 10.5555/1763507.1763544 · doi:10.5555/1763507.1763544
- 10.1145/1168857.1168907 · DOI · Paper page
Cited by
Items 101–153 of 153
Decision Procedures for Program Synthesis and Verification
Piskač, R. (2011) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · doi:10.5075/epfl-thesis-5220 · Cited by 10
Synthesis of machine code from semantics
Srinivasan, V., & Reps, T. (2015) · ACM SIGPLAN Notices · doi:10.1145/2813885.2737960 · Cited by 5
Program Sketching by Automatically Generating Mocks from Tests
Bragg, N. F. F., Foster, J. S., Roux, C., & Solar-Lezama, A. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-81685-8_38 · Cited by 5
“Program synthesis by sketching, as embodied by the Sketch synthesis tool [30], is a popular technique that has been applied to a wide variety of problems [5,7,13,14,15,16,18,22,29].”
MethodSelf-citationMalas, T., Ahmadia, A. J., Brown, J., Gunnels, J. A., & Keyes, D. E. (2012) · The International Journal of High Performance Computing Applications · doi:10.1177/1094342012444795 · Cited by 5
Program synthesis for interactive-security systems
Harris, W. R., Jha, S., Reps, T., & Seshia, S. A. (2017) · Formal Methods in System Design · doi:10.1007/s10703-017-0296-5 · Cited by 7
Self-citationAnalyzing large-scale object-oriented software to find and remove runtime bloat
Rountev, A., & Xu, G. H. (2011) · Cited by 5
Report of the Workshop on Program Synthesis for Scientific ComputingPreprint
Finkel, H., & Laguna, I. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.01687 · Cited by 5
“Sketch [90], Rosette [98], Bayou [66], Trinity [61], HPAT [99], and many others have explored different aspects of data-driven synthesis.”
BackgroundOBsmith: LLM-Powered JavaScript Obfuscator Testing
Jiang, S., Zhu, C., & Khurshid, S. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3798204 · Cited by 5
Grégoire, T., & Chlipala, A. J. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-43144-4_11 · Cited by 4
A Sketch-Based System for Semantic Parsing
Li, Z., Lai, Y., Xie, Y., Feng, Y., & Zhao, D. (2019) · Lecture notes in computer science · doi:10.1007/978-3-030-32236-6_68 · Cited by 4
Sciduction: Combining Induction, Deduction, and Structure for Verification and SynthesisPreprint
Seshia, S. A. (2012) · arXiv (Cornell University) · doi:10.48550/arxiv.1201.0979 · Cited by 5
“An algorithmic approach central to this work is counterexample-guided inductive synthesis (CEGIS) [57, 55], which operates in a manner similar to CEGAR.”
MethodInfluentialSelf-citationLearning Network Design Objectives Using A Program Synthesis Approach
Wang, Y., Jiang, C., Qiu, X., & Rao, S. (2019) · ACM Workshop on Hot Topics in Networks (HotNets) · doi:10.1145/3365609.3365861 · Cited by 3
“We adopt the popular sketch-based synthesis approach [17, 18], in which the programmer specifies a synthesis problem as a sketch or template, which is a program that contains some unknowns to be solved for and some assertions to constrain the choice of unknowns.”
MethodAutomated Synthesis of Divide and Conquer ParallelismPreprint
Farzan, A., & Nicolet, V. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1701.08345 · Cited by 3
“Instances include synthesis of distributed map/reduce programs from input/output examples [44], optimization and parallelization of stencils [22, 45], synchronization synthesis [50], concurrent data structures synthesis [46], concurrency bug repair [49].”
BackgroundGrégoire, T., & Chlipala, A. J. (2018) · Journal of Automated Reasoning · doi:10.1007/s10817-018-9451-y · Cited by 2
“Recently, different techniques have been proposed to automate difficult parts of stencil implementation, including sketching [20], program synthesis [23], or compiling a domain-specific stencil language [21].”
MethodAutomatic Synthesis of Data-Flow Analyzers
Xu, X., Wang, X., & Xue, J. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-88806-0_22 · Cited by 2
CIPAC: A framework of automated software construction based on collective intelligence
Liu, J., Zhang, Y., Li, Y., Ma, T., & Dong, W. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112335 · Cited by 2
Specification-based sketching with Sketch
Samimi, H., & Rajan, K. (2011) · Formal Techniques for Java-like Programs · doi:10.1145/2076674.2076677 · Cited by 2
“If failed, Z3 provides an input counterexample, which is added as a new input set and the loop repeats with k+1 (see [10], appendix).”
BackgroundMethodInfluentialComputation Pattern Driven Reuse of Manual Optimizations for GPGPUs
Xu, S., Han, D., & Chen, L. (2011) · International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT) · doi:10.1109/pdcat.2011.30 · Cited by 2
“Ignorance of the specific computation often makes universal optimization strategies fail to deliver code with the same performance as manually optimized code.”
BackgroundOn Fast Code Completion using Type Inhabitation
Gvero, T., Kunčak, V., Kuraj, I., & Piskač, R. (2012) · Cited by 2
Open64-based Regular Stencil Shape Recognition in HERCULES
Kartsaklis, C., & Hernández, Ó. (2013) · Cited by 2
Programming by Demonstration Framework applied to Procedural Math Problems
Andersen, E., Gulwani, S., & Popović, Z. (2014) · Cited by 2
Automatic Scaffolding for Procedural Learning
Andersen, E. (2014) · ResearchWorks at the University of Washington (University of Washington) · Cited by 2
Bounded-Exhaustive Subspace Diversification for SMT Solver Testing
Zheng, J., & Yao, P. (2025) · Lecture notes in computer science · doi:10.1007/978-3-032-07106-4_8 · Cited by 1
Secure programs via game-based synthesis
Jha, S., Reps, T., & Harris, B. (2013) · Formal Methods in Computer-Aided Design · doi:10.1109/fmcad.2013.7035519 · Cited by 1
Automated cloud resource orchestration
Loo, B. T., & Liu, C. (2012) · Cited by 1
C Description Reconstruction Method from a Revised Netlist for ECO Support
Kimura, Y., Gharehbaghi, A. M., & Fujita, M. (2018) · IEICE Transactions on Fundamentals of Electronics Communications and Computer Sciences · doi:10.1587/transfun.e101.a.685 · Cited by 2
Parallel Optimization of Stencil Computation Base on Sunway TaihuLight
Tang, Y., Li, M., Chen, Z., Xue, C., Zhao, C., & Yang, H. (2020) · Communications in computer and information science · doi:10.1007/978-981-15-8083-3_13 · Cited by 1
Boosting component-based synthesis with control structure recommendation
Liu, B., Dong, W., Zhang, Y., Wang, D., & Liu, J. (2020) · doi:10.1145/3416506.3423579 · Cited by 2
On Repairing Ill-Typed Expressions
Gvero, T., Kuraj, I., & Piskač, R. (2013) · Cited by 1
Context Generation from Formal Specifications for C Analysis Tools
Alberti, M., & Signoles, J. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-94460-9_6 · Cited by 1
Rapid Parallelization by Collaboration
Sethumadhavan, L., & Kaiser, G. E. (2009) · doi:10.7916/d88p67dz · Cited by 1
“Our work is complementary to the work on sketching languages [74, 75].”
Search Techniques for Code Generation
Gvero, T. (2015) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · doi:10.5075/epfl-thesis-6378 · Cited by 1
“The resulting benchmark is a partial program, similar to a program sketch [84].”
Deductive Synthesis and Repair
Kneuss, E. (2016) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · doi:10.5075/epfl-thesis-6878 · Cited by 1
Context Generation from Formal Specifications for C Analysis ToolsPreprint
Alberti, M., & Signoles, J. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1709.04497 · Cited by 1
“r left-values should be easy to add, whereas treating memory addresses as integers is notoriously difficult. We leave these for future work. 6 Related Work Similarly to our approach, program synthesis [12,20,16] automatically provides program fragments from formal specifications. However, the two approaches have differe…”
BackgroundComplete Program Synthesis for Linear Arithmetic
Mayer, M. (2010) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · Cited by 1
Protocol Design With Concolic Snippets
Alur, R., Deshmukh, J. V., Mador-Haim, S., Martin, M. M. K., Raghavan, A., & Udupa, A. (2012) · ScholarlyCommons (University of Pennsylvania)
Strong Preservation by Model Deformation
Giacobazzi, R., Mastroeni, I., & Nikolić, Đ. (2012) · International Symposium on Theoretical Aspects of Software Engineering (TASE) · doi:10.1109/tase.2012.12
“A similar approach is in CEGIS [13], which also deals with modifying models, but with a different aim.”
MethodPerformance search engine driven by prior knowledge of optimization
Kim, Y., Černý, P., & Dennis, J. M. (2015) · ACM SIGPLAN International Workshop on Libraries, Languages and Compilers for Array Programming (ARRAY) · doi:10.1145/2774959.2774963
Constraint Based Program Synthesis for Embedded Software
Eldib, H. (2015) · VTechWorks (Virginia Tech)
Contributions to code optimization and high performance library generation
Barthou, D. (2008) · HAL
Indexed dependence metadata and its applications in software performance optimisation
Howes, L. (2010) · Spiral (Imperial College London) · doi:10.25560/5589
Morillo, F. J. G., & Valdeón, J. M. C. (2016) · Information and Computation · doi:10.1016/j.ic.2016.06.014
IBM Research Report Discovering Algorithms in Angelic Programs
Barman, S., Bodík, R., Chandra, S., & Torlak, E. (2010)
Proofs as Relational Invariants of Synthesized Execution GrammarsPreprint
Voss, C., Heath, D., & Harris, W. R. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1710.03357
“Sketch synthesizes finite programs [50], bit-streaming programs [50], and stencils [47] by iteratively synthesizing a candidate version of a program, attempting to verify it, and using a counterexample to verification to guide the search for the next version of the program.”
Learning quantitative representation synthesis
Patil, M., Houshmand, F., & Lesani, M. (2020) · ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (MAPL) · doi:10.1145/3394450.3397467
“Sketching [53, 54] automatically completes a sketch implementation of a concurrent data structure by an iterative counter-example-guided synthesis process.”
MethodComparative Synthesis: Learning Optimal Programs with Indeterminate Objectives.Preprint
Wang, Y., Li, Z., Qiu, X., & Rao, S. (2021) · arXiv (Cornell University)
Phrase2Set: Phrase-to-Set Machine Translation and Its Software Engineering Applications
Nguyen, T. V., Yadavally, A., & Nguyen, T. N. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00068
Partial bounding for recursive function synthesis
Farzan, A., & Nicolet, V. (2023) · Formal Methods in System Design · doi:10.1007/s10703-023-00417-y
“In [35, 36], high-level synthesis techniques use domain specific knowledge to finitize input programs.”
Li, M., Xiao, J., Chen, S., Ma, H., Chen, X., Bao, P., Yuan, L., & Tan, G. (2025) · Proceedings of the ACM on Programming Languages · doi:10.1145/3763159
Synthesizing Divide-and-Conquer Programs
Nicolet, V. (2022) · TSpace (University of Toronto)
Anvil: An Empirical Study of LLM-Powered Alloy Synthesis, Validation, and Repair
Hong, Y., Yin, C., Jiang, S., Fu, Y., & Khurshid, S. (2026) · ACM/IEEE International Conference on Model Driven Engineering Languages and Systems (MODELS) · doi:10.1145/3822455.3830309
“Each query is run in a fresh session.”
Towards eliminating expert creative help in automated reasoning
Murali, A. (2024) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)
Advancements in automated first-order verification
Peña, L. (2022) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)
Metadata
- Authors
- Solar-Lezama, A., Arnold, G., Tancau, L., Bodik, R., Saraswat, V., & Seshia, S.
- Affiliations
- University of California, Berkeley (US)
- UC Berkeley, Berkeley, CA
- IBM (United States) (US)
- Venue
- Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2007-06-10
- Pages
- 167-178
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2293033107
- Cited by
- 149
- References
- 23
- Citations by year
- 2026: 1 · 2025: 3 · 2024: 1 · 2023: 1 · 2022: 3 · 2021: 10 · 2020: 7 · 2019: 7 · 2018: 4 · 2017: 8 · 2016: 10 · 2015: 8 · 2014: 5 · 2013: 14 · 2012: 14
- FWCI
- 7.42
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (publishedVersion)
- 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 › Hardware and Architecture › Embedded Systems Design Techniques
- Keywords
- stencil computations, code generation, memory locality, computation reuse, parallelization, compiler optimization
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.