{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/architecture-and-performance-of-devito-a","title":"Architecture and performance of Devito, a system for automated stencil computation","arxiv_id":"1807.03032","date":"2018-07-09","proceeding":null,"authors":["Fabio Luporini","Michael Lange","Mathias Louboutin","Navjot Kukreja","Jan Hückelheim","Charles Yount","Philipp Witte","Paul H. J. Kelly","Felix J. Herrmann","Gerard J. Gorman"],"abstract":"Stencil computations are a key part of many high-performance computing applications, such as image processing, convolutional neural networks, and finite-difference solvers for partial differential equations. Devito is a framework capable of generating highly-optimized code given symbolic equations expressed in Python, specialized in, but not limited to, affine (stencil) codes. The lowering process---from mathematical equations down to C++ code---is performed by the Devito compiler through a series of intermediate representations. Several performance optimizations are introduced, including advanced common sub-expressions elimination, tiling and parallelization. Some of these are obtained through well-established stencil optimizers, integrated in the back-end of the Devito compiler. The architecture of the Devito compiler, as well as the performance optimizations that are applied when generating code, are presented. The effectiveness of such performance optimizations is demonstrated using operators drawn from seismic imaging applications.","url_abs":"https://arxiv.org/abs/1807.03032v3","url_pdf":"https://arxiv.org/pdf/1807.03032v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"architecture-and-performance-of-devito-a","repo_url":"https://github.com/UnofficialJuliaMirror/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"architecture-and-performance-of-devito-a","repo_url":"https://github.com/UnofficialJuliaMirrorSnapshots/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"architecture-and-performance-of-devito-a","repo_url":"https://github.com/slimgroup/JUDI.jl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1807.03032","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1807.03032"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UnofficialJuliaMirror/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UnofficialJuliaMirrorSnapshots/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/slimgroup/JUDI.jl","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":4},"by_repo_kind":{"listed":{"samples":4,"ran":0,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6d5ae1a03a03e490","entry":"get_symbol_data","repo":"UnofficialJuliaMirror/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979","repo_kind":"listed","path":"src/Python/checkpoint.py","file_url":"https://github.com/UnofficialJuliaMirror/JUDI.jl-f3b833dc-6b2e-5b9c-b940-873ed6319979/blob/HEAD/src/Python/checkpoint.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6d5ae1a03a03e490"}},{"code_sha256_prefix":"20ec8e19d5724ec1","entry":"get_symbol_data","repo":"slimgroup/JUDI.jl","repo_kind":"listed","path":"src/pysource/checkpoint.py","file_url":"https://github.com/slimgroup/JUDI.jl/blob/HEAD/src/pysource/checkpoint.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20ec8e19d5724ec1"}},{"code_sha256_prefix":"753a4806657d84c2","entry":"name","repo":"slimgroup/JUDI.jl","repo_kind":"listed","path":"src/pysource/operators.py","file_url":"https://github.com/slimgroup/JUDI.jl/blob/HEAD/src/pysource/operators.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"753a4806657d84c2"}},{"code_sha256_prefix":"bd32323383567e38","entry":"to_numpy","repo":"slimgroup/JUDI.jl","repo_kind":"listed","path":"src/pysource/models.py","file_url":"https://github.com/slimgroup/JUDI.jl/blob/HEAD/src/pysource/models.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bd32323383567e38"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}