Distributed and heterogeneous tensor-vector contraction algorithms for high performance computing

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Martinez-Ferrer, Pedro J., Yzelman, Albert-Jan, Beltran, Vicenç
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910843716763648
author Martinez-Ferrer, Pedro J.
Yzelman, Albert-Jan
Beltran, Vicenç
author_facet Martinez-Ferrer, Pedro J.
Yzelman, Albert-Jan
Beltran, Vicenç
contents The tensor-vector contraction (TVC) is the most memory-bound operation of its class and a core component of the higher-order power method (HOPM). This paper brings distributed-memory parallelization to a native TVC algorithm for dense tensors that overall remains oblivious to contraction mode, tensor splitting and tensor order. Similarly, we propose a novel distributed HOPM, namely dHOPM3, that can save up to one order of magnitude of streamed memory and is about twice as costly in terms of data movement as a distributed TVC operation (dTVC) when using task-based parallelization. The numerical experiments carried out in this work on three different architectures featuring multi-core and accelerators confirm that the performances of dTVC and dHOPM3 remain relatively close to the peak system memory bandwidth (50%-80%, depending on the architecture) and on par with STREAM benchmark figures. On strong scalability scenarios, our native multi-core implementations of these two algorithms can achieve similar and sometimes even greater performance figures than those based upon state-of-the-art CUDA batched kernels. Finally, we demonstrate that both computation and communication can benefit from mixed precision arithmetic also in cases where the hardware does not support low precision data types natively.
format Preprint
id arxiv_https___arxiv_org_abs_2501_03121
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Distributed and heterogeneous tensor-vector contraction algorithms for high performance computing
Martinez-Ferrer, Pedro J.
Yzelman, Albert-Jan
Beltran, Vicenç
Distributed, Parallel, and Cluster Computing
15-04
I.6.3; G.1.3
The tensor-vector contraction (TVC) is the most memory-bound operation of its class and a core component of the higher-order power method (HOPM). This paper brings distributed-memory parallelization to a native TVC algorithm for dense tensors that overall remains oblivious to contraction mode, tensor splitting and tensor order. Similarly, we propose a novel distributed HOPM, namely dHOPM3, that can save up to one order of magnitude of streamed memory and is about twice as costly in terms of data movement as a distributed TVC operation (dTVC) when using task-based parallelization. The numerical experiments carried out in this work on three different architectures featuring multi-core and accelerators confirm that the performances of dTVC and dHOPM3 remain relatively close to the peak system memory bandwidth (50%-80%, depending on the architecture) and on par with STREAM benchmark figures. On strong scalability scenarios, our native multi-core implementations of these two algorithms can achieve similar and sometimes even greater performance figures than those based upon state-of-the-art CUDA batched kernels. Finally, we demonstrate that both computation and communication can benefit from mixed precision arithmetic also in cases where the hardware does not support low precision data types natively.
title Distributed and heterogeneous tensor-vector contraction algorithms for high performance computing
topic Distributed, Parallel, and Cluster Computing
15-04
I.6.3; G.1.3
url https://arxiv.org/abs/2501.03121