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 条
  • [1] High-precision floating-point arithmetic in scientific computation
    Bailey, DH
    COMPUTING IN SCIENCE & ENGINEERING, 2005, 7 (03) : 54 - 61
  • [2] High-Precision Anchored Accumulators for Reproducible Floating-Point Summation
    Lutz, David R.
    Hinds, Christopher N.
    2017 IEEE 24TH SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH), 2017, : 98 - 105
  • [3] High-Precision Anchored Accumulators for Reproducible Floating-Point Summation
    Burgess, Neil
    Goodyer, Chris
    Hinds, Christopher N.
    Lutz, David R.
    IEEE TRANSACTIONS ON COMPUTERS, 2019, 68 (07) : 967 - 978
  • [4] High Performance High-Precision Floating-Point Operations on FPGAs using OpenCL
    Nakasato, Naohito
    Daisaka, Hiroshi
    Ishikawa, Tadashi
    2018 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT 2018), 2018, : 265 - 268
  • [5] A Reconfigurable Floating-Point Division and Square Root Architecture for High-Precision Softmax
    Fang, Xiwei
    Wang, Yuhan
    Chen, Lei
    An, Fengwei
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2025,
  • [6] Accurate Floating-point Operation using Controlled Floating-point Precision
    Zaki, Ahmad M.
    Bahaa-Eldin, Ayman M.
    El-Shafey, Mohamed H.
    Aly, Gamal M.
    2011 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING (PACRIM), 2011, : 696 - 701
  • [7] An FPGA-based floating-point processor array supporting a high-precision dot product
    Mayer-Lindenberg, Fritz
    Beller, Valerij
    2006 IEEE INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2006, : 317 - +
  • [8] Low-Cost High-Precision Architecture for Arbitrary Floating-Point Nth Root Computation
    Hong, Wanyuan
    Chen, Hui
    Quan, Lianghua
    Fu, Yuxiang
    Li, Li
    2023 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, ISCAS, 2023,
  • [9] Precision modeling of floating-point applications for variable bitwidth computing
    Zhao, ZH
    Leeser, M
    ERSA'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON ENGINEERING OF RECONFIGURABLE SYSTEMS AND ALGORITHMS, 2003, : 208 - 214
  • [10] ARBITRARY PRECISION FLOATING-POINT ARITHMETIC
    MOTTELER, FC
    DR DOBBS JOURNAL, 1993, 18 (09): : 28 - &