Difference between revisions of "Openacc"
Line 36: | Line 36: | ||
[[Image:openacc_profile5.png|750px]] | [[Image:openacc_profile5.png|750px]] | ||
+ | |||
+ | [[Image:mm2.f90]] | ||
+ | |||
+ | [[Image:mmdriv.f90]] | ||
+ | |||
+ | [[Image:Makefile]] | ||
+ | |||
+ | [[Image:mm_openacc.ppk]] |
Revision as of 20:01, 15 March 2012
Contents
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 make install
export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-pgi export TAU_OPTIONS='-optVerbose -optShared'
Compile
make
Run:
./mm module
Use TAU analysis tool to view performance data:
pprof paraprof