ML-Based Optimum Number of CUDA Streams for the GPU Implementation of the Tridiagonal Partition Method

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Veneva, Milena, Imamura, Toshiyuki
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910243567435776
author Veneva, Milena
Imamura, Toshiyuki
author_facet Veneva, Milena
Imamura, Toshiyuki
contents This paper presents a heuristic for finding the optimum number of CUDA streams by using tools common to the modern AI-oriented approaches and applied to the parallel partition algorithm. A time complexity model for the GPU realization of the partition method is built. Further, a refined time complexity model for the partition algorithm being executed on multiple CUDA streams is formulated. Computational experiments for different SLAE sizes are conducted, and the optimum number of CUDA streams for each of them is found empirically. Based on the collected data a model for the sum of the times for the non-dominant GPU operations (that take part in the stream overlap) is formulated using regression analysis. A fitting non-linear model for the overhead time connected with the creation of CUDA streams is created. Statistical analysis is done for all the built models. An algorithm for finding the optimum number of CUDA streams is formulated. Using this algorithm, together with the two models mentioned above, predictions for the optimum number of CUDA streams are made. Comparing the predicted values with the actual data, the algorithm is deemed to be acceptably good.
format Preprint
id arxiv_https___arxiv_org_abs_2501_05938
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ML-Based Optimum Number of CUDA Streams for the GPU Implementation of the Tridiagonal Partition Method
Veneva, Milena
Imamura, Toshiyuki
Distributed, Parallel, and Cluster Computing
65Y05, 65Y10, 90C59, 68T20
This paper presents a heuristic for finding the optimum number of CUDA streams by using tools common to the modern AI-oriented approaches and applied to the parallel partition algorithm. A time complexity model for the GPU realization of the partition method is built. Further, a refined time complexity model for the partition algorithm being executed on multiple CUDA streams is formulated. Computational experiments for different SLAE sizes are conducted, and the optimum number of CUDA streams for each of them is found empirically. Based on the collected data a model for the sum of the times for the non-dominant GPU operations (that take part in the stream overlap) is formulated using regression analysis. A fitting non-linear model for the overhead time connected with the creation of CUDA streams is created. Statistical analysis is done for all the built models. An algorithm for finding the optimum number of CUDA streams is formulated. Using this algorithm, together with the two models mentioned above, predictions for the optimum number of CUDA streams are made. Comparing the predicted values with the actual data, the algorithm is deemed to be acceptably good.
title ML-Based Optimum Number of CUDA Streams for the GPU Implementation of the Tridiagonal Partition Method
topic Distributed, Parallel, and Cluster Computing
65Y05, 65Y10, 90C59, 68T20
url https://arxiv.org/abs/2501.05938