[Openmp-commits] [PATCH] D110202: [OpenMP] Add function tracing debugging to device RTL

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 21 15:55:03 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/include/Configuration.h:22-23
+enum DebugKind : uint32_t {
+  Assertion = 1 << 0,
+  FunctionTracing = 1 << 1,
+};
----------------



================
Comment at: openmp/libomptarget/DeviceRTL/include/Debug.h:40
 
+#define ENTER DebugEntryRAII Entry(__FILE__, __LINE__, __PRETTY_FUNCTION__);
+
----------------
Just `ENTER`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110202/new/

https://reviews.llvm.org/D110202



More information about the Openmp-commits mailing list