Skip to content

[OMPT] implicit task end might be called early #4

Open
@jprotze

Description

@jprotze
#pragma omp parallel num_threads(2)
#pragma omp master
{
#pragma omp task
{}
sleep(1);
}

The worker thread has the chance to reach the final barrier before the master thread initialized the taskteam -> the worker thread calls ompt-implicit-task-end and might still execute the generated task.

kmp_wait_release.h:271 should not check for this_thr->th.th_task_team == NULL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions