pLiner: isolating lines of floating-point code for compiler-induced variability
Hui Guo, Ignacio Laguna, Cindy Rubio-González
摘要
Scientific applications are often impacted by numerical inconsistencies when using different compilers or when a compiler is used with different optimization levels; such inconsistencies hinder reproducibility and can be hard to diagnose. We present PLINER, a tool to automatically pinpoint code lines that trigger compiler-induced variability. PLINER uses a novel approach to enhance floating-point precision at different levels of code granularity, and performs a guided search to identify locations affected by numerical inconsistencies. We demonstrate PLINER on a real-world numerical inconsistency that required weeks to diagnose, which PLINER isolates in minutes. We also evaluate PLiNER on 100 synthetic programs, and the NAS Parallel Benchmarks (NPB). On the synthetic programs, PLiNER detects the affected lines of code 87% of the time while the stateof-the-art approach only detects the affected lines 6% of the time. Furthermore, PLINER successfully isolates all numerical inconsistencies found in the NPB.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper4
- Finding Inputs that Trigger Floating-Point Exceptions in GPUs via Bayesian OptimizationIgnacio Laguna, Ganesh GopalakrishnanSC 2022 · 10 次引用
- Predicting Performance and Accuracy of Mixed-Precision Programs for Precision TuningYutong Wang, Cindy Rubio-GonzálezICSE 2024 · 7 次引用
- Revealing Floating-Point Accumulation Orders in Software/Hardware ImplementationsPeichen Xie, Yanjie Gao, Yang Wang, Jilong XueUSENIX ATC 2025 · 6 次引用
- DarwinGame: Playing Tournaments for Tuning Applications in Noisy Cloud EnvironmentsRohan Basu Roy, Vijay Gadepally, Devesh TiwariASPLOS 2025 · 1 次引用
它引用的 Paper2
相关 Paper
- Spying on the Floating Point Behavior of Existing, Unmodified Scientific ApplicationsPeter A. Dinda, Alex Bernat, Conor HetlandHPDC 2020 · 20 次引用
- Causes and Effects of Unanticipated Numerical Deviations in Neural Network Inference FrameworksAlexander Schlögl, Nora Hofer, Rainer BöhmeNeurIPS 2023 · 31 次引用
- Oracle-free repair synthesis for floating-point programsDaming Zou, Yuchen Gu, Yuanfeng Shi, Mingzhe Wang 等OOPSLA 2022 · 9 次引用
- Nalin: learning from Runtime Behavior to Find Name-Value Inconsistencies in Jupyter NotebooksJibesh Patra, Michael PradelICSE 2022 · 14 次引用
- A Holistic Approach to Automatic Mixed-Precision Code Generation and Tuning for Affine ProgramsJinchen Xu, Guanghui Song, Bei Zhou, Fei Li 等PPoPP 2024 · 14 次引用
