Intel® Advisor User Guide

ID 766448
Date 3/22/2024
Public

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

Document Table of Contents

No Tasks in Parallel Site

Occurs when a parallel site was executed but no task annotations were executed in the dynamic extent of the active parallel site.

ID

Code Location

Description

1

Parallel site

Represents the location and associated call stack of the parallel site. No task annotations were executed in the dynamic extent of the active parallel site.

Example

int global;
void main()
{
    ANNOTATE_SITE_BEGIN(reuse_site);  // Parallel site
        assert(global == 111);
        global = 222;
    ANNOTATE_SITE_END();
}

In this example, the site begin and site end annotations are present, but the execution paths within the parallel site do not execute any task annotations.

Some Possible Correction Strategies

Check the execution paths within the parallel site and add task annotations to mark at least one task.