OpenACC Routines Support Coming To GCC

Written by Michael Larabel in GNU on 12 November 2016 at 12:20 PM EST. 5 Comments
GNU
En route to the mainline GNU Compiler Collection (GCC) is support for OpenACC routines.

OpenACC, the Open Accelerators parallel computing specification backed by NVIDIA, PGI, and others, has offered "routines" as a directive to enable true procedural calls and separate compilation in Open Accelerator programs. OpenACC routines are described in more detail via this PGI article.

With patches published Friday by Code Sourcery, OpenACC routines are ready for GCC and one of its developers is seeking to mainline the code to GCC trunk. The code adds the middle-end components for being able to support OpenACC routines plus adds the front-end support to C, C++, and Fortran.

For the past few years there's been a lot of effort to bring OpenACC 2.0 to GCC with GPU offloading support, thanks to NVIDIA, Code Sourcery, and others.

Assuming these latest OpenACC improvements get committed soon, they'll be found in next year's GCC 7.1 stable release.
Related News
About The Author
Michael Larabel

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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week