How to Use the Workflow

Whether you use the Advisor XE Workflow tab or the full workflow diagram, as you progress through the workflow, consider the implications of new information. In some cases, you should revisit previous decisions. For example:

  • While investigating Suitability performance implications, you may find that the predicted performance of a parallel site does not provide sufficient performance gain.

  • While investigating Correctness data and fixing synchronization problems, you may find complex sharing problems that make adding parallelism at a parallel site difficult.

  • In both cases, consider modifying the task structure chosen for that site. If necessary, consider abandoning that parallel site.

The tools in Intel Advisor are intended to assist you, but you are the one with the knowledge to understand the impact of changes.

Although you can focus on a single candidate parallel site, be aware that you can work on multiple sites simultaneously. For example, if different sites involve the same algorithm or structure, should you consider the parallelism for one site or the several related sites? If you have two high-level loops that rely on partially overlapping code and/or data, you may want to consider their implications at the same time to avoid revisiting decisions for the shared entities. The benefit of considering one site at a time is that it minimizes the amount of information that you must consider. For more information, see the help topic Multiple Parallel Sites.

You might keep a list of decisions that you have made about parallelizing your program, such as a list of loops that are candidates for parallelization that need further investigation. Also consider adding source comments to mark any parallel sites or tasks that you investigated previously and dismissed.

Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.