Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Missing Start Task

Occurs when an end task annotation is executed but there is no active task.

Problem type: Missing start 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.

Example

void main()
{
    ANNOTATE_SITE_BEGIN(name_site1);
        ANNOTATE_TASK_END();
    ANNOTATE_SITE_END();

}

This example lacks an ANNOTATE_TASK_BEGIN(taskname) annotation.

NOTE:

This error also occurs if your code branches around an ANNOTATE_TASK_BEGIN(taskname) annotation.

Possible Correction Strategies

Always execute an ANNOTATE_TASK_BEGIN(taskname) annotation before executing an ANNOTATE_TASK_END() annotation.