Assessing the Impact of Compiler Optimizations on GPUs Reliability - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue ACM Transactions on Architecture and Code Optimization Année : 2024

Assessing the Impact of Compiler Optimizations on GPUs Reliability

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Licence

Paternité

Identifiants

Citer

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⟩
62 Consultations
60 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More