OpenACC Tutorial - Profiling: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
== What is profiling ? == | == What is profiling ? == | ||
== Gathering a Profile == | |||
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) | |||
# How the code is performing | |||
# Where to focus your time | |||
What is so important about the hotspots of the code ? | |||
The Amdahl's law says that "Parallelizing the most time-consuming (i.e. the hotspots) routines will have the most impact". |
Revision as of 18:13, 2 June 2016
Learning objectives
- Understand what profiler is
- Understand how to use PGPROF profiler.
- Understand how the code is performing .
- Understand where to focus your time and re-write most time consuming routines
- Learn how to ...
What is profiling ?
Gathering a Profile
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)
- How the code is performing
- Where to focus your time
What is so important about the hotspots of the code ? The Amdahl's law says that "Parallelizing the most time-consuming (i.e. the hotspots) routines will have the most impact".