[Openmp-commits] [openmp] [OpenMP] Add OpenMP extension API to dump mapping tables (PR #85381)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 18 01:49:41 PDT 2024


================
@@ -187,4 +189,13 @@ inline uint32_t getDebugLevel() {
     }                                                                          \
   } while (false)
 
+#define DUMP_INFO(always, _flags, _id, ...)                                    \
+  do {                                                                         \
+    if (always) {                                                              \
----------------
nicebert wrote:

I'm not  quite sure what `get_info` you're referring to. From what I  can see there's only `getDebugLevel()` and `getInfoLevel()` which are used to check if the specific environment variables are set. The extension ompx_dump_mapping_tables is supposed to work  without the `LIBOMPTARGET_INTO` or  `LIBOMPTARGET_DEBUG` variables set.

https://github.com/llvm/llvm-project/pull/85381


More information about the Openmp-commits mailing list