Assessing the Impact of Compiler Optimizations on GPUs Reliability - Inria - Institut national de recherche en sciences et technologies du numérique
Journal Articles ACM Transactions on Architecture and Code Optimization Year : 2024

Assessing the Impact of Compiler Optimizations on GPUs Reliability

Abstract

Graphics Processing Units (GPUs) compilers have evolved in order to support general-purpose programming languages for multiple architectures. NVIDIA CUDA Compiler (NVCC) has many compilation levels before generating the machine code and applies complex optimizations to improve performance. These optimizations modify how the software is mapped in the underlying hardware; thus, as we show in this paper, they can also affect GPU reliability. We evaluate the effects on the GPU error rate of the optimization flags applied at the NVCC Parallel Thread Execution (PTX) compiling phase by analyzing two NVIDIA GPU architectures (Kepler and Volta) and two compiler versions (NVCC 10.2 and 11.3). We compare and combine fault propagation analysis based on software fault injection, hardware utilization distribution obtained with application-level profiling, and machine instructions radiation-induced error rate measured with beam experiments. We consider eight different workloads and 144 combinations of compilation flags, and we show that optimizations can impact the GPUs’ error rate of up to an order of magnitude. Additionally, through accelerated neutron beam experiments on a NVIDIA Kepler GPU, we show that the error rate of the unoptimized GEMM (-O0 flag) is lower than the optimized GEMM’s (-O3 flag) error rate. When the performance is evaluated together with the error rate, we show that the most optimized versions (-O1 and -O3) always produce a higher amount of correct data than the unoptimized code (-O0).
Fichier principal
Vignette du fichier
taco_2023.pdf (1.06 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04398273 , version 1 (16-01-2024)

Licence

Identifiers

Cite

Fernando Fernandes dos Santos, Luigi Carro, Flavio Vella, Paolo Rech. Assessing the Impact of Compiler Optimizations on GPUs Reliability. ACM Transactions on Architecture and Code Optimization, 2024, 21 (2), pp.1-22. ⟨10.1145/3638249⟩. ⟨hal-04398273⟩
115 View
125 Download

Altmetric

Share

More