llvm-project/openmp/libomptarget/test/mapping/present
Joseph Huber 7a5a74ea96 [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
2020-08-26 19:30:41 -04:00
..
target.c [OpenMP] Always emit debug messages that indicate offloading failure 2020-08-26 19:30:41 -04:00
target_array_extension.c [OpenMP] Always emit debug messages that indicate offloading failure 2020-08-26 19:30:41 -04:00
target_data.c [OpenMP] Implement TR8 `present` map type modifier in runtime (2/2) 2020-07-22 14:04:58 -04:00
target_data_array_extension.c [OpenMP] Always emit debug messages that indicate offloading failure 2020-08-26 19:30:41 -04:00
target_data_at_exit.c [OpenMP] Fix `present` for exit from `omp target data` 2020-08-05 10:03:31 -04:00
target_enter_data.c [OpenMP] Always emit debug messages that indicate offloading failure 2020-08-26 19:30:41 -04:00
target_exit_data.c [OpenMP] Implement TR8 `present` map type modifier in runtime (2/2) 2020-07-22 14:04:58 -04:00
target_update.c [OpenMP] Implement TR8 `present` motion modifier in runtime (2/2) 2020-07-29 12:18:50 -04:00
target_update_array_extension.c [OpenMP] Fix `omp target update` for array extension 2020-08-05 10:03:31 -04:00
unified_shared_memory.c [OpenMP] Implement TR8 `present` map type modifier in runtime (2/2) 2020-07-22 14:04:58 -04:00
zero_length_array_section.c [OpenMP] Always emit debug messages that indicate offloading failure 2020-08-26 19:30:41 -04:00
zero_length_array_section_exit.c [OpenMP] Implement TR8 `present` map type modifier in runtime (2/2) 2020-07-22 14:04:58 -04:00