A Loop-aware Autotuner for High-Precision Floating-point Applications

被引:1
|
作者
Gu, Ruidong [1 ]
Beata, Paul [1 ]
Becchi, Michela [1 ]
机构
[1] North Carolina State Univ, Dept Elect & Comp Engn, Raleigh, NC 27695 USA
基金
美国国家科学基金会;
关键词
autotuner; mixed-precision; floating-point;
D O I
10.1109/ISPASS48437.2020.00048
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Many scientific applications (e.g., molecular dynamics, climate modeling and astrophysical simulations) rely on floating-point arithmetic. Due to its approximate nature, the use of floating-point arithmetic can lead to inaccuracy and reproducibility issues, which can be particularly significant for long running applications. Indeed, previous work has shown that 64-bit IEEE floating-point arithmetic can be insufficient for many algorithms and applications, such as ill-conditioned linear systems, large summations, long-time or large-scale physical simulations, and experimental mathematics applications. To overcome these issues, existing work has proposed high-precision floating-point libraries (e.g., the GNU multiple precision arithmetic library), but these libraries come at the cost of significant execution time. In this work, we propose an auto-tuner for applications requiring high-precision floating-point arithmetic to deliver a prescribed level of accuracy. Our auto-tuner uses compiler analysis to discriminate operations and variables that require high-precision from those that can be handled using standard IEEE 64-bit floating-point arithmetic, and it generates a mixed precision program that trades off performance and accuracy by selectively using different precisions for different variables and operations. In particular, our auto-tuner leverages loop and data dependences analysis to quickly identify precision-sensitive variables and operations and provide results that are robust to different input datasets. We test our auto-tuner on a mix of applications with different computational patterns.
引用
收藏
页码:285 / 295
页数:11
相关论文
共 50 条
  • [41] Floating-Point Precision Tuning Using Blame Analysis
    Rubio-Gonzalez, Cindy
    Cuong Nguyen
    Mehne, Benjamin
    Sen, Koushik
    Demmel, James
    Kahan, William
    Iancu, Costin
    Lavrijsen, Wim
    Bailey, David H.
    Hough, David
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 1074 - 1085
  • [42] Floating-Point Approximation Enabling Cost-Effective and High-Precision Digital Implementation of FitzHugh-Nagumo Neural Networks
    Zuo, Y.
    Ning, N.
    Qiao, G. C.
    Wu, J. H.
    Bao, J. H.
    Zhang, X. Y.
    Bai, J.
    Wu, F. H.
    Liu, Y.
    Yu, Q.
    Hu, S. G.
    IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS, 2024, 18 (02) : 347 - 360
  • [43] Floating-point accumulation circuit for matrix applications
    Bodnar, Michael R.
    Humphrey, John R.
    Curt, Petersen F.
    Prather, Dennis W.
    FCCM 2006: 14TH ANNUAL IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, PROCEEDINGS, 2006, : 303 - +
  • [44] Fuzzy memoization for floating-point multimedia applications
    Alvarez, C
    Corbal, J
    Valero, M
    IEEE TRANSACTIONS ON COMPUTERS, 2005, 54 (07) : 922 - 927
  • [45] FPC: A High-Speed Compressor for Double-Precision Floating-Point Data
    Burtscher, Martin
    Ratanaworabhan, Paruj
    IEEE TRANSACTIONS ON COMPUTERS, 2009, 58 (01) : 18 - 31
  • [46] NUMFUZZ: A Floating-Point Format Aware Fuzzer for Numerical Programs
    Ma, Chenghu
    Chen, Liqian
    Yi, Xin
    Fan, Guangsheng
    Wang, Ji
    2022 29TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC, 2022, : 338 - 347
  • [47] Temperature Aware Power Optimization for Multicore Floating-Point Units
    Liu, Wei
    Nannarelli, Alberto
    2010 CONFERENCE RECORD OF THE FORTY FOURTH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS AND COMPUTERS (ASILOMAR), 2010, : 1134 - 1138
  • [48] Low-Power High Precision Floating-Point Divider With Bidimensional Linear Approximation
    Meo, Gennaro Di
    Strollo, Antonio Giuseppe Maria
    De Caro, Davide
    Tegazzini, Luca
    Napoli, Ettore
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2025, 72 (02) : 882 - 895
  • [49] An analysis of the double-precision floating-point FFT on FPGAs
    Hemmert, KS
    Underwood, KD
    FCCM 2005: 13TH ANNUAL IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, PROCEEDINGS, 2005, : 171 - 180
  • [50] Effects of Reduced Precision on Floating-Point SVM Classification Accuracy
    Lesser, Bernd
    Muecke, Manfred
    Gansterer, Wilfried N.
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE (ICCS), 2011, 4 : 508 - 517