Difference between revisions of "Openacc"

From Tau Wiki
Jump to: navigation, search
(Matrix Multiply)
Line 5: Line 5:
  
 
= Matrix Multiply =
 
= Matrix Multiply =
 +
 +
TAU has support for the OpenACC directives available in PGI 12.3 and greater. Configure TAU:
 +
 +
./configure -c++=pgCC -cc=pgcc -fortran=pgi -cuda=<path to CUDA 4.1 or greater>
 +
make install
 +
 +
export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-cupti-pgi
 +
export TAU_OPTIONS='-optVerbose -optShared'
 +
 +
tau_f90.sh -ta=nvidia matmult.f90 -o matmult
 +
 +
tau_exec -T serial,cupti,pgi -cupti ./matmult
 +
pprof
 +
paraprof

Revision as of 19:05, 15 March 2012


Matrix Multiply

TAU has support for the OpenACC directives available in PGI 12.3 and greater. Configure TAU:

./configure -c++=pgCC -cc=pgcc -fortran=pgi -cuda=<path to CUDA 4.1 or greater>
make install
export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-cupti-pgi
export TAU_OPTIONS='-optVerbose -optShared'
tau_f90.sh -ta=nvidia matmult.f90 -o matmult
tau_exec -T serial,cupti,pgi -cupti ./matmult
pprof
paraprof