Mass Matrix Assembly on Tensor Cores for Implicit Particle-In-Cell Methods

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Pennati, Luca, Markidis, Stefano
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915947294490624
author Pennati, Luca
Markidis, Stefano
author_facet Pennati, Luca
Markidis, Stefano
contents Matrix-multiply-accumulate (MMA) units, or tensor cores, are now widespread across modern computing architectures. Yet, their use for particle-grid operators remains limited. In implicit particle methods, mass-matrix assembly is a reduction-dominated kernel in which weighted outer products of interpolation weights are accumulated over particle support. We show that this operation can be reformulated exactly, cell by cell, as a sequence of matrix products matched to hardware MMA tiles. The formulation is general with respect to interpolation order and hardware platform, and applies to both scalar mass matrices and the tensorial block mass matrix arising in implicit in the Energy-Conserving Semi-Implicit Method (ECSIM) for Particle-in-Cell simulations. We introduce particle batching and a support-group decomposition for higher-order shape functions whose stencil extends beyond a single cell, specialize the method to first- and second-order B-spline interpolation, and implement it on NVIDIA tensor cores. The resulting kernels achieve up to 3x over optimized conventional implementations and reduce end-to-end ECSIM runtime by 15%.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19286
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Mass Matrix Assembly on Tensor Cores for Implicit Particle-In-Cell Methods
Pennati, Luca
Markidis, Stefano
Computational Engineering, Finance, and Science
Distributed, Parallel, and Cluster Computing
Matrix-multiply-accumulate (MMA) units, or tensor cores, are now widespread across modern computing architectures. Yet, their use for particle-grid operators remains limited. In implicit particle methods, mass-matrix assembly is a reduction-dominated kernel in which weighted outer products of interpolation weights are accumulated over particle support. We show that this operation can be reformulated exactly, cell by cell, as a sequence of matrix products matched to hardware MMA tiles. The formulation is general with respect to interpolation order and hardware platform, and applies to both scalar mass matrices and the tensorial block mass matrix arising in implicit in the Energy-Conserving Semi-Implicit Method (ECSIM) for Particle-in-Cell simulations. We introduce particle batching and a support-group decomposition for higher-order shape functions whose stencil extends beyond a single cell, specialize the method to first- and second-order B-spline interpolation, and implement it on NVIDIA tensor cores. The resulting kernels achieve up to 3x over optimized conventional implementations and reduce end-to-end ECSIM runtime by 15%.
title Mass Matrix Assembly on Tensor Cores for Implicit Particle-In-Cell Methods
topic Computational Engineering, Finance, and Science
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2604.19286