Implementation of Rlibm-OMP Algorithm Based on Sunway
The performance bottleneck of math library functions has long been a common issue among major manufacturers. To overcome these bottlenecks, this paper proposes the Rlibm-OMP method, which combines the RLibm fast polynomial method with the OpenMP parallel programming model based on Sunway architecture. This approach is aimed at generating polynomial replacements for foundational library functions. The RLibm fast polynomial method aims to produce polynomial replacements that yield correct results for foundational functions across all inputs and various rounding modes. However, due to several adaptation issues when porting external platform algorithms to the Sunway platform, performance often degrades. Thus, an optimization was carried out using the OpenMP parallel programming model based on Sunway to optimize polynomial evaluations. By integrating the RLibm fast polynomial method with the OpenMP parallel programming model, it is possible not only to generate correctly rounded polynomials but also to achieve efficient parallel computations on the Sunway platform. Experimental results indicate that the polynomial results for 32-bit floating-point functions are not only accurate but also, on average, 12% faster than those achieved using the Rlibm fast polynomial method alone.
Authors
- P.L. Wang (ORCID: https://orcid.org/0009-0008-7733-2392)
- Zhiyong Gao (ORCID: https://orcid.org/0000-0003-0219-1077)
- Lei Wang (ORCID: https://orcid.org/0000-0002-5065-8447)
- Bowen Liu (ORCID: https://orcid.org/0000-0002-9464-0484)
- J. Ying
Institutions
- Zhongyuan University of Technology (CN)
- Zhengzhou University (CN)
Publication Details
- Published
- 2024-09-20
- DOI
- https://doi.org/10.1109/eit63098.2024.10762754
- Primary Topic
- Advanced Sensor and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Research and Development