[all-commits] [llvm/llvm-project] 2ce168: [OpenMP] Always print error messages in libomptarg...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Jan 7 14:47:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ce16810f28379b0a56f7036895a04e18d6b4506
https://github.com/llvm/llvm-project/commit/2ce16810f28379b0a56f7036895a04e18d6b4506
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-01-07 (Thu, 07 Jan 2021)
Changed paths:
M openmp/libomptarget/plugins/cuda/src/rtl.cpp
Log Message:
-----------
[OpenMP] Always print error messages in libomptarget CUDA plugin
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.
Reviewed by: jdoerfert
Differential Revision: https://reviews.llvm.org/D94263
More information about the All-commits
mailing list