[llvm-bugs] [Bug 51124] New: regression CUDA error: unspecified launch failure
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jul 17 07:59:56 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51124
Bug ID: 51124
Summary: regression CUDA error: unspecified launch failure
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: xw111luoye at gmail.com
CC: llvm-bugs at lists.llvm.org
Failing since ca662297d5fbbf65a19eaa6122d7c12815d8add9
Reproducer 1
https://github.com/ye-luo/openmp-target/tree/master/tests/global_variable/global_pointer
clang++ -fopenmp -fopenmp-targets=nvptx64 -O3 global.cpp main.cpp
reproducer 2
https://github.com/ye-luo/openmp-target/blob/master/tests/target_task/taskloop_offload_nowait.cpp
clang++ -fopenmp -fopenmp-targets=nvptx64 -O3 taskloop_offload_nowait.cpp
./a.out both give
```
CUDA error: unspecified launch failure
Libomptarget error: Call to targetDataEnd failed, abort target.
Libomptarget error: Failed to process data after launching the kernel.
Libomptarget error: Run with LIBOMPTARGET_INFO=4 to dump host-target pointer
mappings.
Libomptarget error: Source location information not present. Compile with -g or
-gline-tables-only.
Libomptarget fatal error 1: failure of target construct while offloading is
mandatory
```
-O3 is critical to reproduce the issue
--
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/20210717/4dd9f41f/attachment.html>
More information about the llvm-bugs
mailing list