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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to