Assessing the Impact of Compiler Optimizations on GPUs Reliability

Author:

Santos Fernando Fernandes dos1,Carro Luigi2,Vella Flavio3,Rech Paolo3

Affiliation:

1. Univ Rennes, INRIA, Rennes, France

2. Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

3. University of Trento, Italy

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).

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference56 articles.

1. Abdul Rehman Anwer , Guanpeng Li , Karthik Pattabiraman , Michael Sullivan , Timothy Tsai , and Siva Kumar Sastry Hari . 2020 . GPU-Trident: Efficient Modeling of Error Propagation in GPU Programs . In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis ( Atlanta, Georgia) (SC ’20). IEEE Press, Article 88, 15 pages. Abdul Rehman Anwer, Guanpeng Li, Karthik Pattabiraman, Michael Sullivan, Timothy Tsai, and Siva Kumar Sastry Hari. 2020. GPU-Trident: Efficient Modeling of Error Propagation in GPU Programs. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (Atlanta, Georgia) (SC ’20). IEEE Press, Article 88, 15 pages.

2. R.  A. Ashraf , R. Gioiosa , G. Kestor , and R.  F. DeMara . 2017 . Exploring the Effect of Compiler Optimizations on the Reliability of HPC Applications. In 2017 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW). 1274–1283 . R. A. Ashraf, R. Gioiosa, G. Kestor, and R. F. DeMara. 2017. Exploring the Effect of Compiler Optimizations on the Reliability of HPC Applications. In 2017 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW). 1274–1283.

3. Comparison of parallel implementation strategies in GPU-accelerated System-on-Chip under proton irradiation

4. Soft Errors in Advanced Computer Systems

5. Multilevel Parallelism for the Exploration of Large-Scale Graphs

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3