NVIDIA GPU Offloading Support For GCC Is Still Up & Coming
Written by Michael Larabel in GNU on 26 October 2015 at 03:28 PM EDT. 1 Comment
GNU --
It's been nearly two years that there's been work going on for OpenACC 2.0 with GPU offloading for GCC, primarily geared for NVIDIA GPUs. That work continues taking shape and hopefully for GCC 6 the support will be in better standing.

I was asked by a Phoronix reader to run some GCC benchmarks when using the NVIDIA/NVPTX offloading to the graphics processor, but as far as I know, it's really not yet ready at that stage for doing performance benchmarks. The code has been mainline for a while and initial support is present in GCC 5, but there's still much left to be desired -- including OpenMP with GPU offloading support.

Progress though is being made with the GCC patches mailing list routinely seeing threads like new work around NVPTX and related improvements in libgomp, etc. The whole GCC accelerator scene is in fact still evolving for Intel's MIC, AMD HSA support, etc. With the NVIDIA PTX target, the issue remains though is that you'll need to be using the proprietary NVIDIA graphics driver for compute support.

If you wish to learn more about the current state of GCC offloading support, see their Wiki page.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week