Skip to content

[OpenMP RT] Passive policy with dist barrier does not end #80664

@mikaoP

Description

@mikaoP
// clang -fopenmp t1.c -o t1 && OMP_WAIT_POLICY=passive KMP_FORKJOIN_BARRIER_PATTERN='dist,dist' ./t1
void test_omp_barrier()
{
  #pragma omp parallel
  {
    #pragma omp task
    {}
  }
}

int main()
{
  test_omp_barrier();
}

It seems to be a simple parallel with tasks and passive policy does not allow the dist barrier to progress and finish the execution. Removing passive or changing the barrier pattern makes the program work again.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions