[llvm-bugs] [Bug 42906] New: Runtime seg-faults when OMP_THREAD_LIMIT is set and "target teams" construct is used

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 6 12:48:35 PDT 2019


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

            Bug ID: 42906
           Summary: Runtime seg-faults when OMP_THREAD_LIMIT is set and
                    "target teams" construct is used
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: satzeni at nvidia.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 22347
  --> https://bugs.llvm.org/attachment.cgi?id=22347&action=edit
Reproducer for the bug

Compile and run in the following way:

$ clang -fopenmp test.c
$ OMP_THREAD_LIMIT=8 ./a.out
OMP: Warning #96: Cannot form a team with 192 threads, using 8 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS),
KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
Assertion failure at kmp_runtime.cpp(2434): other_threads[i].
OMP: Error #13: Assertion failure at kmp_runtime.cpp(2434).

-- 
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/20190806/78814c03/attachment.html>


More information about the llvm-bugs mailing list