[llvm-bugs] [Bug 50022] New: target nowait fails in certain cases

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 18 20:04:09 PDT 2021


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

            Bug ID: 50022
           Summary: target nowait fails in certain cases
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: xw111luoye at gmail.com
                CC: llvm-bugs at lists.llvm.org

https://github.com/ye-luo/openmp-target/blob/master/tests/target_task/target_nowait_task.cpp

$ clang++ -fopenmp target_nowait_task.cpp && ./a.out
outside a = 0 addr 0x7ffe582232d8
a = -1736998310 addr 0x7ffe582232d8
terminate called after throwing an instance of 'std::runtime_error'

$ LIBOMP_USE_HIDDEN_HELPER_TASK=OFF ./a.out 
outside a = 0 addr 0x7ffe34b37388
a = 1 addr 0x7ffe34b37388

$ clang++ -fopenmp -O3 target_nowait_task.cpp && ./a.out
outside a = 0 addr 0x7ffe50503c64
a = 1 addr 0x7ffe50503c64

-- 
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/20210419/172a6451/attachment.html>


More information about the llvm-bugs mailing list