Discover how to find where to add parallelism to a serial application using the Intel® Advisor and the nqueens_Advisor C++ sample application.
This short tutorial demonstrates an end-to-end workflow you can ultimately apply to your own applications:
Survey the target to locate the loops and functions where the target spends the most time.
Add Intel Advisor annotations to the target that identify possible parallel tasks and their enclosing parallel sites.
Check Suitability to predict the parallel performance of the target based these annotations.
Check Correctness to predict parallel data sharing problems in the target based on these annotations.
If the predicted performance gain is worth the effort to fix the predicted parallel data sharing problems, fix the problems.
Add parallel framework code to replace the annotations.