Since 1986 - Covering the Fastest Computers in the World and the People Who Run Them

Language Flags
June 27, 2011

GPGPU Acceleration: The PGI Option

Michael Feldman

HPC aficionado Doug Eadline is doing a series of articles about alternative GPU programming methods over at Cluster Monkey. In this case, alternative means not CUDA or OpenCL, the two most popular frameworks for GPGPU programming today. Because of their low-level nature, both can be used to good effect to get optimal performance from the GPU — perhaps CUDA more so than OpenCL — but the languages are somewhat of a challenge for the average programmer.

Fortunately, there a number of other software development tools that have emerged to provide a higher level programming environment for the application developer. The first one Eadline tackles is PGI’s accelerator model, a directives-based approach that can be used to turn Fortran or C source into GPU-accelerated code.

In a nutshell, the advantage to PGI’s approach is that it allows programmers to instrument new or existing high-level source code using special directives that the compiler uses to generate GPU executable code. Conveniently the same source code can be used to generate vanilla CPU code if the GPU target is not available. In addition, the compiler removes some (but not all) of the data manipulation the programmer normally must do to manage separate memory spaces on the GPU and CPU.

The accelerator directives approach also has the advantage of hardware portability. The same source could  theoretically be applied to NVIDIA and AMD GPUs, the upcoming Intel MIC coprocessor, or any other future accelerator. Currently PGI’s accelerator compiler supports NVIDIA CUDA-capable GPUs and also has a CUDA-based port for multicore x86 CPUs.

Full story at Cluster Monkey

SC14 Virtual Booth Tours

AMD SC14 video AMD Virtual Booth Tour @ SC14
Click to Play Video
Cray SC14 video Cray Virtual Booth Tour @ SC14
Click to Play Video
Datasite SC14 video DataSite and RedLine @ SC14
Click to Play Video
HP SC14 video HP Virtual Booth Tour @ SC14
Click to Play Video
IBM DCS3860 and Elastic Storage @ SC14 video IBM DCS3860 and Elastic Storage @ SC14
Click to Play Video
IBM Flash Storage
@ SC14 video IBM Flash Storage @ SC14  
Click to Play Video
IBM Platform @ SC14 video IBM Platform @ SC14
Click to Play Video
IBM Power Big Data SC14 video IBM Power Big Data @ SC14
Click to Play Video
Intel SC14 video Intel Virtual Booth Tour @ SC14
Click to Play Video
Lenovo SC14 video Lenovo Virtual Booth Tour @ SC14
Click to Play Video
Mellanox SC14 video Mellanox Virtual Booth Tour @ SC14
Click to Play Video
Panasas SC14 video Panasas Virtual Booth Tour @ SC14
Click to Play Video
Quanta SC14 video Quanta Virtual Booth Tour @ SC14
Click to Play Video
Seagate SC14 video Seagate Virtual Booth Tour @ SC14
Click to Play Video
Supermicro SC14 video Supermicro Virtual Booth Tour @ SC14
Click to Play Video