Programmability is crucial to accelerated computing, and NVIDIA’s CUDA Toolkit has been critical to the success of GPU computing. Over 3 million CUDA Toolkits have been downloaded since its first launch. However there are many scientists and researchers yet to benefit from GPU computing. These scientists have limited time to learn and apply a parallel programming language, and they often have huge existing code bases that must remain portable across platforms. Today NVIDIA is introducing the new OpenACC Toolkit to help these researchers and scientists achieve science and engineering goals faster.
[stextbox id=”info” float=”true” align=”right” width=”250″]OpenACC tutorial: Three Steps to More Science[/stextbox]
Over the last few years OpenACC has established itself as a higher-level approach to GPU acceleration that is simple, powerful, and portable. The membership of the OpenACC organization has grown to include accelerator manufacturers, tools vendors, supercomputing centers and education institutions. The OpenACC 2.0 specification significantly expands the functionality and improves the portability of OpenACC and is now available in many commercial tools.
The NVIDIA OpenACC toolkit provides the tools and documentation that scientists and researchers need to be successful with OpenACC. The toolkit includes a free OpenACC compiler for university developers to remove any barriers for use by academics.
The new OpenACC Toolkit includes the following in a single package.
PGI Accelerator Fortran/C/C++ Workstation Compiler Suite
The Toolkit includes a 90-day trial of PGI Accelerator FORTRAN 2003, C11 and C++11 high-performance parallelizing compilers for x64 + accelerator platforms running Linux. PGI Accelerator compilers support the OpenACC 2.0 API. Qualified university developers can register for a free renewable annual license to the PGI Accelerator compilers. This free university developer license is node-locked and has an OpenMP run-time limit of four threads. Here is a FAQ to answer questions about the capabilities of the free university developer license and commercial PGI licenses.
NVProf Profiler Beta
The toolkit includes a beta version of the NVProf profiler version 7.5. Of particular interest in this version is a new CPU profiling capability. The first step to accelerating existing code is to identify which parts of your code can benefit the most from GPU acceleration. NVProf’s new CPU profiling feature shows the percentage of run time spent in each routine by sampling the CPU program counter and call stacks at high frequency, as Figure 1 shows. The profiler uses the sample data to construct an easy-to-interpret call graph,with nodes representing frames in each call stack, and the fraction of run time spent in each frame.
Adding GPU acceleration to your application can be as easy as substituting a GPU library function call for an existing CPU library call. The OpenACC Toolkit includes an extensive collection of GPU-accelerated libraries. The libraries are available in the
linux86-64/2015/CUDA/7.0/lib directory inside the PGI installation directory.
To help you find potential CPU library acceleration opportunities the toolkit includes the new GPU Wizard. GPU Wizard analyses your code’s execution and lists library replacement opportunities and the potential performance boost the GPU libraries could deliver. There are GPU-accelerated versions of standard libraries like (MKL) BLAS and FFTW that give significant performance improvements. For example, the nvBLAS library can directly replace the MKL BLAS library and deliver 6x to 17x faster performance, depending on BLAS API usage.
Code Samples and Examples
The OpenACC Toolkit includes several OpenACC code samples and an OpenACC SDK to illustrate aspects of programming with OpenACC. Find them in the
The OpenACC Toolkit provides complete documentation including the following tutorials and guides.
- OpenACC Toolkit Quick Start Guide: a summary of tools in the toolkit with instructions for setting them up, and getting support
- OpenACC Toolkit Installation Guide
- OpenACC Programming and Best Practices Guide: Best practices for porting existing applications to OpenACC
- NVProf Tutorial for OpenACC Users: A guide to using the CPU profiling feature of NVProf with examples
- PGI Accelerator Compilers OpenACC Users Guide
- NVProf Profiler Users Guide
- GPU Wizard Readme
At NVIDIA, we’re committed to helping scientists and researchers become successful with OpenACC, and we plan to continuously add capabilities to the toolkit to make GPU computing simpler. Please download and try the new OpenACC Toolkit and let us know your experience and feedback.