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: unassignedb...@nondot.org
          Reporter: satz...@nvidia.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to