N体问题的浮点调优行为研究
A Study of the Floating-Point Tuning Behaviour on the N-body Problem
摘要:
在这篇文章中,我们应用一种新的方法来精确调整的N体问题。我们的技术,在一个名为POP的工具中实现,使得有可能优化的数值数据类型的程序执行浮点计算,考虑到所要求的精度的结果。POP将寻找程序中每个变量所需的最小位数的问题简化为一个线性规划问题(ILP),该问题可以通过经典的线性规划求解器一次性最佳解决。POP工具已在实现来自数学库和其他应用领域(如物联网)的几种数值算法的程序上成功测试。在这项工作中,我们证明了POP的效率,调整经典的引力N体问题,考虑5个机构相互作用下的引力从另一个,受牛顿运动定律。结果POP的混合精度调谐的N体的例子中的条款的效果进行了讨论。
英文摘要:
In this article, we apply a new methodology for precision tuning to the N-body problem. Our technique, implemented in a tool named POP, makes it possible to optimize the numerical data types of a program performing floating-point computations by taking into account the requested accuracy on the results. POP reduces the problem of finding the minimal number of bits needed for each variable of the program to an Integer Linear Problem (ILP) which can be optimally solved in one shot by a classical linear programming solver. The POP tool has been successfully tested on programs implementing several numerical algorithms coming from mathematical libraries and other applicative domains such as IoT. In this work, we demonstrate the efficiency of POP to tune the classical gravitational N-body problem by considering five bodies that interact under gravitational force from one another, subject to Newton's laws of motion. Results on the effect of POP in term of mixed-precision tuning of the N-body example are discussed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。