The OpenACC API was developed to provide a vendor neutral platform for the fastest computers in the world. Now, it is supports AMD APUs and dGPUs. STMicroelectronics’ US-based compiler subsidiary, Portland Group, is making available a beta release of the PGI Accelerator Fortran, C and C++ compilers with support for the OpenACC API targeting AMD Accelerated Processing Units (APUs) and discrete Graphics Processing Units (dGPUs).
According to Douglas Miles, Director of The Portland Group, the OpenACC standard was developed in response to the high performance computing (HPC) community’s need for ”a vendor-neutral, platform-independent, directive-based accelerator programming model.”
“Adding PGI Accelerator support for AMD APUs and GPUs is the latest step in the evolution of OpenACC and compiler technology for heterogeneous parallel computing at PGI,” said Miles.
Unveiled in November 2011, the OpenACC API was developed by PGI, Cray, and NVIDIA, with support from CAPS Entreprise. OpenACC is already supported by PGI compilers on Nvidia GPUs with the CUDA parallel-programming architecture.
The OpenACC 1.0 specification was developed in cooperation by the founding members and is based on the PGI Accelerator programming model. The OpenACC 2.0 specification has just recently been ratified. The OpenACC Application Programming Interface (API) describes a collection of compiler directives to specify loops and regions of code in standard C, C++ and Fortran. These regions can be offloaded from a host CPU to an attached accelerator, providing portability across operating systems, host CPUs and accelerators.
“By exposing parallelism to the compiler, directives allow the compiler to do the detailed work of mapping the computation onto the accelerator to deliver significant improvements to application performance,” said the company.
“Using directives, developers can have a single code base that is multi-platform and multi-vendor compatible, a key advantage for multi-platform and multi-generation application development,” said the company.
In a recent poll of over 1200 OpenACC evaluators, over 70% of the respondents found OpenACC easy to use and more than 75% reported seeing a speedup when running on an accelerator.
“OpenACC is being adopted by HPC researchers and programmers as they look for easier ways to take advantage of the benefits of accelerated computing. OpenACC provides a straight forward means for programmers to accelerate their applications using familiar programming techniques,” said Margaret Lewis, Director, server software planning at AMD.
The first Beta release of the PGI Accelerator compilers with support for the OpenACC standard on AMD dGPU and APU platforms is available now on a limited basis, with an open Beta release currently scheduled for later in 2013.