arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.15632cs.PLcs.MS
收藏

FlowFPX:用于调试浮点异常的敏捷工具

FlowFPX: Nimble Tools for Debugging Floating-Point Exceptions

Taylor Allred, Xinyi Li, Ashton Wiersdorf, Ben Greenman, Ganesh Gopalakrishnan

AI总结:

本文提出FlowFPX工具包,通过记录异常流、合并异常上下文和模糊测试系统调试浮点异常,帮助科学家追踪异常源头,构建可靠代码库。

摘要:

可靠的数值计算是科学计算的核心,但支持大规模模型的浮点运算易出错。数值异常频发,会在代码中传播,导致结果有缺陷。本文提出FlowFPX工具包,通过记录异常流、合并异常上下文及在选定位置进行模糊测试,系统调试浮点异常。这些工具帮助科学家发现异常发生时机并追根溯源,为构建可靠代码库铺平道路。

英文摘要:

Reliable numerical computations are central to scientific computing, but the floating-point arithmetic that enables large-scale models is error-prone. Numeric exceptions are a common occurrence and can propagate through code, leading to flawed results. This paper presents FlowFPX, a toolkit for systematically debugging floating-point exceptions by recording their flow, coalescing exception contexts, and fuzzing in select locations. These tools help scientists discover when exceptions happen and track down their origin, smoothing the way to a reliable codebase.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑