[Openmp-commits] [PATCH] D94263: [OpenMP] Always print error messages in libomptarget CUDA plugin
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 7 13:51:33 PST 2021
jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
jhuber6 added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Currently error messages from the CUDA plugins are only printed to the user if they have debugging enabled. Change this behaviour to always print the messages that result in offloading failure. This improves the error messages by indidcating what happened when the error occurs in the plugin library, such as a segmentation fault on the device.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94263
Files:
openmp/libomptarget/plugins/cuda/src/rtl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94263.315233.patch
Type: text/x-patch
Size: 11436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210107/cabdd1b1/attachment-0001.bin>
More information about the Openmp-commits
mailing list