首页> 外文期刊>Concurrency and Computation >Automatic source-to-source error compensation of floating-point programs: code synthesis to optimize accuracy and time
【24h】

Automatic source-to-source error compensation of floating-point programs: code synthesis to optimize accuracy and time

机译:浮点程序的源到源错误自动补偿:代码合成可优化准确性和时间

获取原文
获取原文并翻译 | 示例

摘要

Numerical programs with IEEE 754 floating-point computations may suffer from inaccuracies because finiternprecision arithmetic is an approximation of real arithmetic. Solutions that reduce the loss of accuracy arernavailable, such as compensated algorithms or double-double precision floating-point arithmetic. Our goalrnis to automatically improve the numerical quality of a numerical program with the smallest impact onrnits performance. We define and implement source code transformations in order to derive automaticallyrncompensated programs. We present several experimental results to compare the transformed programs andrnexisting solutions. The transformed programs are as accurate and efficient as the implementations of compensatedrnalgorithms when the latter exist. Furthermore, we propose some transformation strategies allowingrnus to partially improve the accuracy of programs and to tune the impact on execution time. Trade-offsrnbetween accuracy and performance are assured by code synthesis. Experimental results show that userdefinedrntrade-offs are achievable in a reasonable amount of time, with the help of the tools we present in thernpaper.
机译:使用IEEE 754浮点计算的数字程序可能会出现不准确的情况,因为有限精度算法是对实数算法的近似。减少精度损失的解决方案是不可用的,例如补偿算法或双精度双精度浮点算法。我们的目标是自动提高数值程序的数值质量,同时对性能的影响最小。我们定义并实现源代码转换,以派生自动补偿的程序。我们提出了几个实验结果,以比较转换后的程序和现有的解决方案。转换后的程序与补偿算法存在时一样准确,高效。此外,我们提出了一些转换策略,使rnus能够部分提高程序的准确性并调整对执行时间的影响。通过代码综合确保准确性和性能之间的折衷。实验结果表明,借助本文提供的工具,可以在合理的时间内实现用户定义的折衷。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号