Workshops Archive

PaFEx: Cross-platform Floating-point Exception Detection using LLVM and PAPI


Workshop: 10th International Workshop on Software Correctness for HPC Applications (Correctness '26)

Authors: Samin Islam, Shirley V. Moore, and Christoph Q. Lauter (University of Texas at El Paso)

Abstract: Detecting floating-point exceptions defined by IEEE 754 across GPU vendors remains a conundrum, owing to varying hardware support for exception reporting. Existing tools address this problem through vendor-specific detection, requiring developers to use different tools to examine exception behavior on NVIDIA and AMD GPUs. As HPC applications are deployed across different GPU architectures, this fragmentation limits the portability of diagnosing exceptions in GPU kernels. We present PaFEx, a cross-vendor tool that inserts runtime exception checks into GPU programs at the LLVM intermediate representation(IR) level. PaFEx runs on both NVIDIA and AMD GPUs, through shared exception checking logic, with vendor specific handling of device intrinsics and runtime integration. Across several HPC benchmarks, PaFEx incurs a geometric-mean slowdown of $1.30\times$ on NVIDIA and $1.70\times$ on AMD, measured over end-to-end execution. We also compare PaFEx with baseline tools, GPU-FPX and FloatGuard, examining similarities and differences in exception detection coverage and reporting.


Back to 10th International Workshop on Software Correctness for HPC Applications (Correctness '26) Archive Listing

Back to Full Workshop Archive Listing