Adaptive Sketching Based Construction of H2 Matrices on GPUs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Boukaram, Wajih Halim, Liu, Yang, Ghysels, Pieter, Li, Xiaoye Sherry
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909654132457472
author Boukaram, Wajih Halim
Liu, Yang
Ghysels, Pieter
Li, Xiaoye Sherry
author_facet Boukaram, Wajih Halim
Liu, Yang
Ghysels, Pieter
Li, Xiaoye Sherry
contents We develop a novel linear-complexity bottom-up sketching-based algorithm for constructing a $H^2$ matrix, and present its high performance GPU implementation. The construction algorithm requires both a black-box sketching operator and an entry evaluation function. The novelty of our GPU approach centers around the design and implementation of the above two operations in batched mode on GPU with accommodation for variable-size data structures in a batch. The batch algorithms minimize the number of kernel launches and maximize the GPU throughput. When applied to covariance matrices, volume IE matrices and $H^2$ update operations, our proposed GPU implementation achieves up to $13\times$ speedup over our CPU implementation, and up to $1000\times$ speedup over an existing GPU implementation of the top-down sketching-based algorithm from the H2Opus library. It also achieves a $660\times$ speedup over an existing sketching-based $H$ construction algorithm from the ButterflyPACK library. Our work represents the first GPU implementation of the class of bottom-up sketching-based $H^2$ construction algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2506_16759
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Sketching Based Construction of H2 Matrices on GPUs
Boukaram, Wajih Halim
Liu, Yang
Ghysels, Pieter
Li, Xiaoye Sherry
Mathematical Software
We develop a novel linear-complexity bottom-up sketching-based algorithm for constructing a $H^2$ matrix, and present its high performance GPU implementation. The construction algorithm requires both a black-box sketching operator and an entry evaluation function. The novelty of our GPU approach centers around the design and implementation of the above two operations in batched mode on GPU with accommodation for variable-size data structures in a batch. The batch algorithms minimize the number of kernel launches and maximize the GPU throughput. When applied to covariance matrices, volume IE matrices and $H^2$ update operations, our proposed GPU implementation achieves up to $13\times$ speedup over our CPU implementation, and up to $1000\times$ speedup over an existing GPU implementation of the top-down sketching-based algorithm from the H2Opus library. It also achieves a $660\times$ speedup over an existing sketching-based $H$ construction algorithm from the ButterflyPACK library. Our work represents the first GPU implementation of the class of bottom-up sketching-based $H^2$ construction algorithms.
title Adaptive Sketching Based Construction of H2 Matrices on GPUs
topic Mathematical Software
url https://arxiv.org/abs/2506.16759