• Home
  • Search
  • Towards compositional and generative tensor optimizations
  • Open Access IconOpen Access
  • Cite Icon5
  • https://doi.org/10.1145/3170492.3136050Copy DOI Icon

Towards compositional and generative tensor optimizations

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Many numerical algorithms are naturally expressed as operations on tensors (i.e. multi-dimensional arrays). Hence, tensor expressions occur in a wide range of application domains, e.g. quantum chemistry and physics; big data analysis and machine learning; and computational fluid dynamics. Each domain, typically, has developed its own strategies for efficiently generating optimized code, supported by tools such as domain-specific languages, compilers, and libraries. However, strategies and tools are rarely portable between domains, and generic solutions typically act as ''black boxes'' that offer little control over code generation and optimization. As a consequence, there are application domains without adequate support for easily generating optimized code, e.g. computational fluid dynamics. In this paper we propose a generic and easily extensible intermediate language for expressing tensor computations and code transformations in a modular and generative fashion. Beyond being an intermediate language, our solution also offers meta-programming capabilities for experts in code optimization. While applications from the domain of computational fluid dynamics serve to illustrate our proposed solution, we believe that our general approach can help unify research in tensor optimizations and make solutions more portable between domains.

Similar Papers
  • Preprint Article

Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Survey

  • Jan 31, 2025
  • Qeios
  • Yangfan He +3
  • Dissertation
  • Citations1

A Performance Model and Optimization Strategies for Automatic GPU Code Generation of PDE Systems Described by a Domain-Specific Language

  • Jul 21, 2016
  • Yue Hu
  • Research Article
  • Citations9

On the Use of a Many-core Processor for Computational Fluid Dynamics Simulations

  • Jan 01, 2015
  • Procedia Computer Science
  • Sebastian Raase +1
  • Research Article
  • Citations10

Modelling of Stably-stratified Atmospheric Boundary Layers with Commercial CFD Software for Use in Risk Assessment

  • Apr 20, 2016
  • Chemical engineering transactions
  • Rachel Batt +3
  • Conference Article
  • Citations4

An intermediate language for source and target independent code optimization

  • Jan 01, 1979
  • Dennis J Frailey
  • Research Article

CT-FFR by expanding coronary tree with Newton-Krylov-Schwarz method to solve the governing equations of CFD.

  • Jul 25, 2024
  • European heart journal. Imaging methods and practice
  • Weifeng Guo +28
  • Research Article

Partial evaluation via code generation for static stochastic reaction network models (Software Appendix) : [research data

  • Apr 29, 2021
  • Ros Dok Rostocker Dokumentenserver (Universitätsbibliothek Rostock)
  • Till Köster
  • Conference Article
  • Citations14

Automatic generation of fast optimizing code generators

  • Jun 01, 1988
  • C W Fraser +1
  • Research Article
  • Citations41

Einstein summation for multidimensional arrays

  • Oct 01, 2002
  • Computers & Mathematics with Applications
  • K Åhlander
  • Research Article
  • Citations1

AI-Powered Code Generation Evaluating the Effectiveness of Large Language Models (LLMs) in Automated Software Development

  • Mar 31, 2023
  • Journal of Artificial Intelligence & Cloud Computing
  • Ravikanth Konda
  • Research Article
  • Citations2

A Cross-Domain Comparative Study of Big Data Architectures

  • Oct 28, 2020
  • International Journal of Cooperative Information Systems
  • Martin Macak +2
  • Research Article
  • Citations3

Managing code transformations for better performance portability

  • Aug 04, 2019
  • The International Journal of High Performance Computing Applications
  • Thiago Sfx Teixeira +2
  • Conference Article
  • Citations13

Wing Design by Aerodynamic and Aeroelastic Shape Optimisation

  • Jun 14, 2008
  • Asa Morris +2
  • Research Article
  • Citations2

Surrogates for Single-Phase Conjugate Heat Transfer Validation Experiments at Light Water Reactor Prototypical Conditions

  • Jul 12, 2017
  • Nuclear Technology
  • Simon A Clément +1
  • Research Article
  • Citations2

Application of Graphics Processor Unit Computing Resources to Solution of Incompressible Fluid Dynamics Problems

  • May 01, 2025
  • Computers
  • Redha Benhadj-Djilali +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.