Intel® Advisor Help
Occurs when an end task annotation is executed but there is no active task.
ID |
Code Location |
Description |
---|---|---|
1 |
Task end |
Represents the location and associated call stack when the task end annotation was executed. |
2 |
Parallel site |
If present, represents the location and associated call stack of the beginning of the parallel site that contained the task end annotation. |
void main() { ANNOTATE_SITE_BEGIN(name_site1); ANNOTATE_TASK_END(); ANNOTATE_SITE_END(); }
This example lacks an ANNOTATE_TASK_BEGIN(taskname) annotation.
This error also occurs if your code branches around an ANNOTATE_TASK_BEGIN(taskname) annotation.
Always execute an ANNOTATE_TASK_BEGIN(taskname) annotation before executing an ANNOTATE_TASK_END() annotation.
For more information about annotating tasks, see Annotating Parallel Sites and Tasks and the discussion of task annotations in About Annotations.