rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
}} | }} | ||
== | == 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 | 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--> |