Automatic Testing of OpenACC Applications
Author/Presenters
Event Type
Workshop
Accelerators
Applications
Compiler Analysis and Optimization
Compilers
Parallel Programming Languages, Libraries, Models
and Notations
Runtime Systems
TimeMonday, November 13th4pm -
4:30pm
Location712
DescriptionPCAST (PGI Compiler-Assisted Software Testing) is a
feature in our compiler and runtime to help users
automate testing high performance numerical programs.
PCAST normally works by running a known working version
of a program and saving intermediate results to a
reference file, then running a test version of a program
and comparing the intermediate results against the
reference file. Here, we describe the special case of
using PCAST on OpenACC programs running on a GPU.
Instead of saving and comparing against a saved
reference file, the compiler generates code to run each
compute region on both the host CPU and the GPU. The
values computed on the host and GPU are then compared,
using OpenACC data directives and clauses to decide what
data to compare.
Author/Presenters




