Occurs when a site-begin annotation is executed but the corresponding site-end annotation is not executed before the thread or application exits.

Problem type: Missing end site


Code Location



Start site

Represents the location and the associated call stack when the parallel site execution began.


void main()
    ANNOTATE_SITE_BEGIN(site1);  // Begin parallel site

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.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.