@inproceedings{0612c104ef584a3d90ea127d5e67cdad,
title = "RAPTOR: Practical Numerical Profiling of Scientific Applications",
abstract = "The proliferation of low-precision units in modern high-performance architectures increasingly burdens domain scientists. Historically, the choice in HPC was easy: can we get away with 32 bit floating-point operations and lower bandwidth requirements, or is FP64 necessary? Driven by Artificial Intelligence, vendors introduce novel low-precision units for vector and tensor operations, and FP64 capabilities stagnate or are reduced. This forces scientists to re-evaluate their codes, but a trivial search-and-replace approach to go from FP64 to FP16 will not suffice. We introduce RAPTOR: a numerical profiling tool to guide scientists in their search for code regions where precision lowering is feasible. Using LLVM, we transparently replace high-precision computations using low-precision units, or emulate a user-defined precision. RAPTOR is a novel, feature-rich approach-with focus on ease of use-to change, profile, and reason about numerical requirements and instabilities, which we demonstrate with four real-world multi-physics Flash-X applications.",
keywords = "LLVM, MPFR, Mixed precision, error tracking, low precision, multiphysics, numerical profiling, simulation accuracy",
author = "Faveo Hoerold and Ivanov, \{Ivan R.\} and Akash Dhruv and Moses, \{William S.\} and Anshu Dubey and Mohamed Wahib and Jens Domke",
note = "This work was supported by the Scientific Discovery through Advanced Computing (SciDAC) program via the Office of Nuclear Physics and Office of Advanced Scientific Computing Research in the Office of Science at the U.S. Department of Energy. This work was supported by JST SPRING Japan Grant Number JPMJSP2180 and the RIKEN Junior Research Associate Program. We gratefully acknowledge Hussein Harake and the Swiss National Supercomputing Centre (CSCS) for providing access to computing resources via the RACKlette student cluster, which was instrumental to this work. This work was supported by the National Science Foundation under Grant No. 2346519, and by the Alan Turing Institute, and the U.S. Department of Energy.; 2025 International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025 ; Conference date: 16-11-2025 Through 21-11-2025",
year = "2025",
month = nov,
day = "15",
doi = "10.1145/3712285.3759810",
language = "English (US)",
series = "Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025",
publisher = "Association for Computing Machinery",
pages = "661--680",
booktitle = "Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025",
address = "United States",
}