Visible to Intel only — GUID: GUID-57089895-AA5F-4FB3-937E-19C6E092930B
Visible to Intel only — GUID: GUID-57089895-AA5F-4FB3-937E-19C6E092930B
Missing End Site
Occurs when a site-begin annotation is executed but the corresponding site-end annotation is not executed before the thread or application exits.
ID |
Code Location |
Description |
---|---|---|
1 |
Start site |
Represents the location and the associated call stack when the parallel site execution began. |
Example
void main() { ANNOTATE_SITE_BEGIN(site1); // Begin parallel site return; ANNOTATE_SITE_END(); }
This example's execution skips the end-site annotation, ANNOTATE_SITE_END().
Possible Correction Strategies
Always execute an ANNOTATE_SITE_END() annotation after executing an ANNOTATE_SITE_BEGIN(sitename) annotation. This omission can be caused by throw exceptions, return, break, continue, and goto statements or keywords. All control flow paths out of a site need to use the ANNOTATE_SITE_END() annotations.