Porting Code to OpenACC

Summary

Now that the HPC world is moving toward heterogeneous computing, taking advantage of the capability of various computing elements is key to getting better performance. OpenACC uses directives to parallelize your code and improve performance. In this article, I showed you how to port your code with parallel loop  directives and directives for copying data between the CPU and GPU. If you’re starting to use OpenACC, the approach is worth trying a few times until you get the hang of porting.

Related content

comments powered by Disqus