Assessing the Impact of Compiler Optimizations on GPUs Reliability

被引:2
|
作者
Dos Santos, Fernando Fernandes [1 ,4 ]
Carro, Luigi [2 ]
Vella, Flavio [3 ]
Rech, Paolo [3 ]
机构
[1] Univ Rennes, INRIA, Rennes, France
[2] Univ Fed Rio Grande do Sul, Inst Informat, Ave Bento Gonccalves 9500,Campus Vale,Bloco 4, Porto Alegre, RS, Brazil
[3] Univ Trento, Via Sommarive 9, I-38123 Povo, TN, Italy
[4] Univ Rennes, INRIA Ctr Rennes, Campus Beaulieu,263 Ave Gen Leclerc, F-35042 Rennes, France
关键词
Graphics processing units; reliability; neutron-induced errors; error rate; FAULT INJECTION; ERRORS;
D O I
10.1145/3638249
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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 article, 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).
引用
收藏
页数:22
相关论文
共 50 条
  • [1] Impact on Reliability in the Control-Flow of Programs under Compiler Optimizations
    Parizi, Rafael
    Ferreira, Ronaldo
    Freitas, Alvaro
    Carro, Luigi
    2012 BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEM ENGINEERING (SBESC 2012), 2012, : 43 - 48
  • [2] Analyzing the Effects of Compiler Optimizations on Application Reliability
    Demertzi, Melina
    Annavaram, Murali
    Hall, Mary
    2011 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION (IISWC), 2011, : 184 - 193
  • [3] Neural Network's Reliability to Permanent Faults: Analyzing the Impact of Performance Optimizations in GPUs
    Guerrero-Balaguera, Juan-David
    Rodriguez Condia, Josie E.
    Reorda, Matteo Sonza
    2022 29TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS (IEEE ICECS 2022), 2022,
  • [4] Compiler Optimizations Impact the Reliability of the Control-Flow of Radiation-Hardened Software
    Ferreira, Ronaldo Rodrigues
    Parizi, Rafael Baldiati
    Carro, Luigi
    Moreira, Alvaro Freitas
    JOURNAL OF AEROSPACE TECHNOLOGY AND MANAGEMENT, 2013, 5 (03) : 323 - 334
  • [5] Exploring the Effect of Compiler Optimizations on the Reliability of HPC Applications
    Ashraf, Rizwan A.
    Gioiosa, Roberto
    Kestor, Gokcen
    DeMara, Ronald F.
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 1274 - 1283
  • [6] Automatic Tuning of Compiler Optimizations and Analysis of their Impact
    Plotnikov, Dmitry
    Melnik, Dmitry
    Vardanyan, Mamikon
    Buchatskiy, Ruben
    Zhuykov, Roman
    Lee, Je-Hyung
    2013 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2013, 18 : 1312 - 1321
  • [7] COMPILER OPTIMIZATIONS FOR ENHANCING PARALLELISM AND THEIR IMPACT ON ARCHITECTURE DESIGN
    POLYCHRONOPOULOS, CD
    IEEE TRANSACTIONS ON COMPUTERS, 1988, 37 (08) : 991 - 1004
  • [8] Impact of Compiler Phase Ordering When Targeting GPUs
    Nobre, Ricardo
    Reis, Luis
    Cardoso, Joao M. P.
    EURO-PAR 2017: PARALLEL PROCESSING WORKSHOPS, 2018, 10659 : 427 - 438
  • [9] Compiler Optimizations for OpenMP
    Doerfert, Johannes
    Finkel, Hal
    EVOLVING OPENMP FOR EVOLVING ARCHITECTURES, 2018, 11128 : 113 - 127
  • [10] COMPILER OPTIMIZATIONS FOR THE WAM
    TURK, AK
    LECTURE NOTES IN COMPUTER SCIENCE, 1986, 225 : 657 - 662