An OpenACC Example (Part 1)

Originally published at: https://developer.nvidia.com/blog/openacc-example-part-1/

You may want to read the more recent post Getting Started with OpenACC by Jeff Larkin. In this post I’ll continue where I left off in my introductory post about OpenACC and provide a somewhat more realistic example. This simple C/Fortran code example demonstrates a 2x speedup with the addition of just a few lines of OpenACC directives, and in the…