User Guide

  • 2020
  • 06/18/2020
  • Public Content
Contents

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.
Problem type: Missing end site
ID
Code Location
Description
1
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         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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804