[llvm-bugs] [Bug 50284] New: Assert hit when using using detached tasks with a 1 thread team

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 9 23:42:09 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50284

            Bug ID: 50284
           Summary: Assert hit when using using detached tasks with a 1
                    thread team
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: rpenacob at bsc.es
                CC: llvm-bugs at lists.llvm.org

I've taken the
https://github.com/llvm/llvm-project/blob/main/openmp/runtime/test/tasking/kmp_detach_tasks_t3.c
test and added num_threads(1) in the parallel and using single instead of
master.

The assert is:

  KMP_DEBUG_ASSERT(master_th->th.th_task_team ==
                   team->t.t_task_team[master_th->th.th_task_state]);

in
https://github.com/llvm/llvm-project/blob/main/openmp/runtime/src/kmp_runtime.cpp#L2290

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210510/a6368b01/attachment.html>


More information about the llvm-bugs mailing list