[llvm-bugs] [Bug 49051] New: Assertion on the device is not captured by the host

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 4 17:23:18 PST 2021


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

            Bug ID: 49051
           Summary: Assertion on the device is not captured by the host
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: tianshilei1992 at gmail.com
                CC: llvm-bugs at lists.llvm.org

D95282 optimized the host runtime that if the kernel doesn't have any argument,
there is no post data processing after launching the kernel, including device
synchronization. Then if the kernel raises any error, like the following
example shows, host cannot capture it.
```
#pragma omp target
{ assert(0); }
```

-- 
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/20210205/bb3e45f6/attachment.html>


More information about the llvm-bugs mailing list