aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2020-08-26 18:11:26 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2020-08-26 19:30:41 -0400
commit7a5a74ea9675008589593e0f811c9b60fc962d0b (patch)
tree9fc694404766bf561ae87e2f3155568095cde823 /llvm/lib/CodeGen/MachineVerifier.cpp
parent2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1 (diff)
downloadllvm-7a5a74ea9675008589593e0f811c9b60fc962d0b.zip
llvm-7a5a74ea9675008589593e0f811c9b60fc962d0b.tar.gz
llvm-7a5a74ea9675008589593e0f811c9b60fc962d0b.tar.bz2
[OpenMP] Always emit debug messages that indicate offloading failure
Summary: This patch changes the libomptarget runtime to always emit debug messages that occur before offloading failure. The goal is to provide users with information about why their application failed in the target region rather than a single failure message. This is only done in regions that precede offloading failure so this should not impact runtime performance. if the debug environment variable is set then the message is forwarded to the debug output as usual. A new environment variable was added for future use but does nothing in this current patch. LIBOMPTARGET_INFO will be used to report runtime information to the user if requrested, such as grid size, SPMD usage, or data mapping. It will take an integer indicating the level of information verbosity and a value of 0 will disable it. Reviewers: jdoerfort Subscribers: guansong sstefan1 yaxunl ye-luo Tags: #OpenMP Differential Revision: https://reviews.llvm.org/D86483
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions