Tutorials
Task-oriented, hands-on technical demonstrations that offer more detail than can be presented in KnowledgeBase articles.
Accelerator Programming
Tutorials designed to demonstrate GPU programming techniques in C and Fortran.
Introduction
For this tutorial we will cover two different OpenCL versions of our GOL program. The first will strictly use global ...
This tutorial covers PGI Accelerator directives, If you are interested in PGI OpenACC support please see: OpenACC Vector Addition
Introduction
This sample ...
Introduction
This sample shows the Game of Life CPU code converted to a PGI accelerator directive version. Please direct any questions ...
Introduction
This sample shows a minimal conversion from our vector addition CPU code to an OpenCL version, consider this a OpenCL ...
Introduction
This sample shows the Game of Life CPU code converted to an HMPP accelerator directive version. Both codelet and region ...
Introduction
This sample shows a minimal conversion from our vector addition CPU code to C for CUDA, consider this a C ...
Introduction
For this tutorial we will cover three different CUDA versions of our GOL program, each highlighting a different CUDA memory ...
Introduction
This sample shows a minimal conversion from our vector addition CPU code to PGI CUDA FORTRAN, consider this a CUDA ...
Introduction
For this sample we will cover two different CUDA Fortran versions of our GOL program. The first will strictly use ...
This tutorial covers CAPS HMPP accelerator directives, If you are interested in CAPS OpenACC support please see: OpenACC Vector Addition
Introduction
This ...
This sample shows a minimal conversion of our vector addition CPU code to an OpenACC accelerator directives version for the PGI, Cray, and HMPP implementations.
Basic Programming
Tutorials designed to demonstrate fundamental programming techniques in C and Fortran. These tutorials are used as a baseline for exploring more advanced programming techniques.
Introduction
The GOL is an example of cellular automaton that utilizes a 2 dimensional stencil. For each game iteration the integer ...
Introduction
The vector addition sample adds two vectors A and B to produce C, where Ci = Ai + Bi. In ...