OpenACC Tutorial - Profiling: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 14: Line 14:
}}
}}


== Gathering a Profile ==
== Code profiling ==
Why would one needs to gather a profile of a code ? Because it's the only way to understand:
Why would one needs to gather a profile of a code ? Because it's the only way to understand:
# Where time is being spent (Hotspots)
# Where time is being spent (Hotspots)
Line 24: Line 24:


== Build the Sample Code ==
== Build the Sample Code ==
For this example we will use a code from the [https://github.com/calculquebec/cq-formation-openacc repositories]. Download the package and change to the '''cpp''' or '''f90''' directory. The point of this exercise is to compile&link the code, obtain executable, and then profile them.
For this example we will use a code from the [https://github.com/calculquebec/cq-formation-openacc repositories]. Download the package and change to the '''cpp''' or '''f90''' directory. The object of this exercise is to compile and link the code, obtain an executable, and then profile it.
{{Callout
{{Callout
|title=<translate><!--T:3-->
|title=<translate><!--T:3-->
rsnt_translations
56,430

edits

Navigation menu