OpenACC Tutorial: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
<translate> | <translate> | ||
== Introduction == | == Introduction == <!--T:1--> | ||
This tutorial is strongly inspired from the OpenACC Bootcamp session presented at [http://www.gputechconf.com/ GPU Technology Conference 2016]. | This tutorial is strongly inspired from the OpenACC Bootcamp session presented at [http://www.gputechconf.com/ GPU Technology Conference 2016]. | ||
<!--T:2--> | |||
OpenACC is an application programming interface (API) for porting code onto accelerators such as GPU and coprocessors. It has been developed by Cray, CAPS, NVidia and PGI. Like in [[OpenMP]], the programmer annotates C, C++ or Fortran code to identify portions that should be parallelized by the compiler. | OpenACC is an application programming interface (API) for porting code onto accelerators such as GPU and coprocessors. It has been developed by Cray, CAPS, NVidia and PGI. Like in [[OpenMP]], the programmer annotates C, C++ or Fortran code to identify portions that should be parallelized by the compiler. | ||
</translate> | </translate> | ||
{{Prerequisites | {{Prerequisites | ||
|title=<translate>Prerequisites for this tutorial</translate> | |title=<translate><!--T:3--> | ||
Prerequisites for this tutorial</translate> | |||
|content= | |content= | ||
<translate>This tutorial uses OpenACC to accelerate C, C++ or Fortran code. A working knowledge of one of these languages is therefore required to gain the most benefit out of it. </translate> | <translate><!--T:4--> | ||
This tutorial uses OpenACC to accelerate C, C++ or Fortran code. A working knowledge of one of these languages is therefore required to gain the most benefit out of it. </translate> | |||
}} | }} | ||
{{Getready | {{Getready | ||
|title=<translate>Getting ready</translate> | |title=<translate><!--T:5--> | ||
Getting ready</translate> | |||
|content= | |content= | ||
<translate>This tutorial is based on examples. You can download all of the examples in this [https://github.com/calculquebec/cq-formation-openacc Github repository].</translate> | <translate><!--T:6--> | ||
This tutorial is based on examples. You can download all of the examples in this [https://github.com/calculquebec/cq-formation-openacc Github repository].</translate> | |||
}} | }} | ||
<translate> | <translate> | ||
== Lesson plan == | == Lesson plan == <!--T:7--> | ||
* [[OpenACC Tutorial - Introduction|Introduction]] | * [[OpenACC Tutorial - Introduction|Introduction]] | ||
* [[OpenACC Tutorial - Profiling|Gathering a profile and getting compiler information]] | * [[OpenACC Tutorial - Profiling|Gathering a profile and getting compiler information]] | ||
Line 25: | Line 30: | ||
* [[OpenACC Tutorial - Optimizing loops|Optimizing loops]] | * [[OpenACC Tutorial - Optimizing loops|Optimizing loops]] | ||
== External references == | == External references == <!--T:8--> | ||
Here are some useful external references: | Here are some useful external references: | ||
* [http://www.openacc.org/sites/default/files/OpenACC_Programming_Guide_0.pdf OpenACC Programming and Best Practices Guide] | * [http://www.openacc.org/sites/default/files/OpenACC_Programming_Guide_0.pdf OpenACC Programming and Best Practices Guide] |
Revision as of 20:54, 23 November 2016
Introduction
This tutorial is strongly inspired from the OpenACC Bootcamp session presented at GPU Technology Conference 2016.
OpenACC is an application programming interface (API) for porting code onto accelerators such as GPU and coprocessors. It has been developed by Cray, CAPS, NVidia and PGI. Like in OpenMP, the programmer annotates C, C++ or Fortran code to identify portions that should be parallelized by the compiler.
Prerequisites for this tutorial
This tutorial uses OpenACC to accelerate C, C++ or Fortran code. A working knowledge of one of these languages is therefore required to gain the most benefit out of it.
Getting ready
This tutorial is based on examples. You can download all of the examples in this Github repository.
Lesson plan
- Introduction
- Gathering a profile and getting compiler information
- Expressing parallelism with OpenACC directives
- Expressing data movement
- Optimizing loops
External references
Here are some useful external references: