Published In
IEEE Access
Document Type
Article
Publication Date
4-6-2025
Subjects
High -- performance computing
Abstract
The precision of floating-point numbers is a critical task in high-performance computing. Many scientific applications rely on floating-point arithmetic, but excessive precision can lead to unnecessary computational overhead. Reducing precision may introduce unacceptable errors. Addressing this trade-off is essential for optimizing performance while ensuring numerical accuracy. In this paper, we present a genetic algorithm-based approach for tuning the precision of floating-point computations. Our method leverages algorithmic differentiation and first-order Taylor series approximation to assess the impact of precision variations efficiently. We employ stochastic partitioning algorithms with multiple precision combinations that meet the error requirements. Moreover, we present a genetic heuristic algorithm to determine the maximum number of variables that can sustain precision alterations without compromising the desired error threshold. The proposed approach is evaluated across various benchmark programs, analyzing the effects of precision tuning under increasing error thresholds. Our findings reveal that, for a majority of these programs, reducing precision through partitioning leads to significant performance enhancements, with improvements of up to 15%.
Rights
Copyright (c) 2025 The Authors Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.
Locate the Document
DOI
10.1109/ACCESS.2025.3557505
Persistent Identifier
https://archives.pdx.edu/ds/psu/43227
Publisher
IEEE
Citation Details
Zhang, W., Shang, Y., Tsao, M., Li, Y., & Song, X. (2025). An Effective Genetic Algorithm for Mixed Precision. IEEE Access, 1–1. https://doi.org/10.1109/access.2025.3557505