User Guide

Contents

Orphaned Task

Occurs when a task-begin annotation is executed that is not within an active parallel site.
Problem type: Orphaned task
ID
Code Location
Description
1
Task start
Represents the location and associated call stack when the task began execution.
void main() {     ANNOTATE_TASK_BEGIN(name_task1); // Begin task     ANNOTATE_TASK_END(); }
This example does not execute a
ANNOTATE_SITE_BEGIN(sitename)
/
ANNOTATE_SITE_END()
annotation pair required to wrap the execution of a task
ANNOTATE_TASK_BEGIN(taskname)
/
ANNOTATE_TASK_END()
annotation pair.
Possible Correction Strategies
Always execute an
ANNOTATE_SITE_BEGIN(sitename)
annotation before executing an
ANNOTATE_TASK_BEGIN(taskname)
annotation. You may need to add an
ANNOTATE_SITE_BEGIN(sitename)
/
ANNOTATE_SITE_END()
annotation pair in the same function, or in some calling function.
An orphaned task is effectively ignored by the Suitability and Dependencies tool analysis, so you should fix the orphaned task code and run the Suitability and Dependencies tools again.

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