PGI 18.10 Compiler Benchmarks Against GCC 8.2, LLVM Clang 7.0

Written by Michael Larabel in Software on 20 December 2018 at 04:30 PM EST. Page 1 of 2. 7 Comments.

Given the recently release of the PGI 18.10 Community Edition compiler by NVIDIA, I was curious to see how the performance on the CPU is looking for this proprietary compiler on Linux. For those curious as well, here are some benchmarks of the PGI 18.10 C/C++ compiler against the GCC 8.2.0 and LLVM Clang 7.0 open-source compilers.

From an Intel Core i9 7980XE system running Ubuntu 18.10, I benchmarked the PGHI 18.10 compiler against GCC 8.2 and LLVM Clang 7.0 under a variety of C/C++ benchmarks to explore the performance of the resulting binaries. The PGI compiler also has great GPU offloading support with NVIDIA hardware, but for this initial 18.10 comparison was just exploring the CPU performance while maintaining the same CFLAGS/CXXFLAGS throughout testing.

PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang

All of these PGI/GCC/Clang compiler benchmarks were carried out using the Phoronix Test Suite.

PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang

First up was BlogBench where the binary produced by PGI 18.10 Community Edition was slightly faster than GCC 8.2.0 but slower than LLVM Clang 7.0.

PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang
PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang
PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang

In the case of PolyBench-C, the results were mixed from PGI 18.10 being slowest in two of the cases to having a very narrow lead in the correlation computation test.

PGI Compiler 18.10 Benchmarks vs. GCC vs. LLVM Clang

With the HMMer profile hidden markov models benchmark, the PGI 18.10 performance was just behind LLVM Clang 7.0 for a second place finish.


Related Articles