Visible to Intel only — GUID: GUID-4626C5A8-8D55-4AAE-9AB4-8F55029EDE5C
Visible to Intel only — GUID: GUID-4626C5A8-8D55-4AAE-9AB4-8F55029EDE5C
Replace Annotations with OpenMP* Code
This topic explains the steps needed to implement parallelism proposed by the Intel Advisor annotations by adding OpenMP* parallel framework code.
Add OpenMP code to provide appropriate synchronization of shared resources, using the LOCK annotations as a guide. Adding OpenMP Code to Synchronize the Shared Resources provides an overview of the following OpenMP synchronization techniques:
Add code to create OpenMP tasks, using the SITE/TASK annotations as a guide. The following topics cover the OpenMP task creation options:
The recommended order for replacing the annotations with OpenMP code:
Add appropriate synchronization of shared resources, using LOCK annotations as a guide.
Test to verify you did not break anything, before adding the possibility of non-deterministic behavior with parallel tasks.