Issue 80664
Summary [OpenMP RT] Passive policy with dist barrier does not end
Labels new issue
Assignees
Reporter mikaoP
    ```c
// 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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to