Fusing the Polyhedral and Tensor Compilers to Accelerate Scientific Computing Kernels

ABSTRACT Polyhedral compilers and tensor compilers have achieved great success on accelerating scientific computing kernels and deep learning networks, respectively. Although much work has been done to integrate techniques of the polyhedral model to tensor compilers for accelerating deep learning, leveraging the powerful auto‐tuning ability of modern tensor compilers to accelerate more general scientific computing kernels is challenging and is still at its dawn. In this work, we introduce a method to accelerate a family of basic scientific computing kernels by fusing the polyhedral compiler Pluto and the tensor compiler Tensor Virtual Machine (TVM) to generate efficient implementations targeting the heterogeneous CPU/GPU platform. The fusion is done in four steps: building a polyhedral model for the loop description of a given scientific kernel; designing schedules to transform the polyhedral model to new ones to enable rectangular tiling and expose explicit parallelism; selecting a new polyhedral model and converting it to the tensor compute representation; auto‐tuning the tensor compute to generate efficient implementations on both CPUs and GPUs. Shifting and padding optimizations are also considered to avoid conditionals. Experiments on 30 typical scientific computing kernels show that our method achieves speedup on average over a typical polyhedral compiler PPCG on GPU.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2025-06-18
DOI
https://doi.org/10.1002/cpe.70164
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fusing the Polyhedral and Tensor Compilers to Accelerate Scientific Computing Kernels

Hanwen Dai, Changbo Chen, Qian Liu
Concurrency and Computation Practice and Experience
Parallel Computing and Optimization Techniques
article

Fusing the Polyhedral and Tensor Compilers to Accelerate Scientific Computing Kernels

Hanwen Dai, Changbo Chen, Qian Liu
article en

Abstract

ABSTRACT Polyhedral compilers and tensor compilers have achieved great success on accelerating scientific computing kernels and deep learning networks, respectively. Although much work has been done to integrate techniques of the polyhedral model to tensor compilers for accelerating deep learning, leveraging the powerful auto‐tuning ability of modern tensor compilers to accelerate more general scientific computing kernels is challenging and is still at its dawn. In this work, we introduce a method to accelerate a family of basic scientific computing kernels by fusing the polyhedral compiler Pluto and the tensor compiler Tensor Virtual Machine (TVM) to generate efficient implementations targeting the heterogeneous CPU/GPU platform. The fusion is done in four steps: building a polyhedral model for the loop description of a given scientific kernel; designing schedules to transform the polyhedral model to new ones to enable rectangular tiling and expose explicit parallelism; selecting a new polyhedral model and converting it to the tensor compute representation; auto‐tuning the tensor compute to generate efficient implementations on both CPUs and GPUs. Shifting and padding optimizations are also considered to avoid conditionals. Experiments on 30 typical scientific computing kernels show that our method achieves speedup on average over a typical polyhedral compiler PPCG on GPU.

Concurrency and Computation Practice and ExperienceVol. 37(15-17)
Chongqing Institute of Green and Intelligent Technology (CN), University of Chinese Academy of Sciences (CN)
Centre Scientifique et Technique du Bâtiment
Openalex Percentile: Top 87%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Fusing the Polyhedral and Tensor Compilers to Accelerate Scientific Computing Kernels — Hanwen Dai, Changbo Chen, et al. · Concurrency and Computation Practice and Experience (2025) | TGRS Research Map | TGRS