[Openmp-commits] [PATCH] D99510: [OpenMP] Trim error messages in CUDA plugin
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Mar 29 08:39:20 PDT 2021
jhuber6 added a comment.
In D99510#2655925 <https://reviews.llvm.org/D99510#2655925>, @jdoerfert wrote:
> How do error messages/info output look before & after?
Before, with the zaxpy example in the documentation
CUDA error: Error when copying data from device to host. Pointers: host = 0x00007ffe60de5668, device = 0x00007f4087000000, size = 16
CUDA error: an illegal memory access was encountered
Libomptarget error: Copying data from device failed.
Libomptarget error: Call to targetDataEnd failed, abort target.
Libomptarget error: Failed to process data after launching the kernel.
Libomptarget error: Run with LIBOMPTARGET_DEBUG=4 to dump host-target pointer mappings.
zaxpy.cpp:10:1: Libomptarget fatal error 1: failure of target construct while offloading is mandatory
Aborted (core dumped)
After
CUDA error: an illegal memory access was encountered
Libomptarget error: Copying data from device failed.
Libomptarget error: Call to targetDataEnd failed, abort target.
Libomptarget error: Failed to process data after launching the kernel.
Libomptarget error: Run with LIBOMPTARGET_DEBUG=4 to dump host-target pointer mappings.
zaxpy.cpp:10:1: Libomptarget fatal error 1: failure of target construct while offloading is mandatory
Aborted (core dumped)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99510/new/
https://reviews.llvm.org/D99510
More information about the Openmp-commits
mailing list