Intel® Advisor

Parallelize Data - Intel Cilk Plus Loops with Complex Iteration Control

Sometimes the loop control is spread across complex control flow. Using Intel TBB or Intel Cilk Plus in this situation requires more features than the simple loops. Note that the task body must not access any of the auto variables defined within the annotation site, because they may have been destroyed before or while the task is running. Consider this serial code:

Annotation Wizard - Page 1

To access this dialog box: in the Visual Studio code editor, right-click to open the context menu, and select > Annotation Wizard.

The Annotation Wizard helps you add annotations into your code. After you are done adding annotations, rebuild your program.

Use page 1 of the wizard to select the type of annotation from the Choose the annotation type drop down list.

Subscribe to Intel® Advisor