This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Always print error messages in libomptarget CUDA plugin
ClosedPublic

Authored by jhuber6 on Jan 7 2021, 1:51 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jhuber6 created this revision.Jan 7 2021, 1:51 PM
jhuber6 requested review of this revision.Jan 7 2021, 1:51 PM
This revision is now accepted and ready to land.Jan 7 2021, 2:18 PM
This revision was landed with ongoing or failed builds.Jan 7 2021, 2:47 PM
This revision was automatically updated to reflect the committed changes.