[Openmp-commits] [PATCH] D112002: [OpenMP] Use function tracing RAII for runtime functions.

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 18 10:29:04 PDT 2021


jhuber6 updated this revision to Diff 380466.
jhuber6 added a comment.

Changing the interface to use the OpenMP standard functions for getting thread
numbers and team numbers. This in theory will allow the implementation to more
generally follow the thread doing the actual execution. The implementation of
these on the device are not currently correct however, so this won't work as
intended until `omp_get_thread_num()` is fixed on the device.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112002

Files:
  openmp/libomptarget/DeviceRTL/include/Debug.h
  openmp/libomptarget/DeviceRTL/src/Debug.cpp
  openmp/libomptarget/DeviceRTL/src/Kernel.cpp
  openmp/libomptarget/DeviceRTL/src/Mapping.cpp
  openmp/libomptarget/DeviceRTL/src/Misc.cpp
  openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
  openmp/libomptarget/DeviceRTL/src/Reduction.cpp
  openmp/libomptarget/DeviceRTL/src/State.cpp
  openmp/libomptarget/DeviceRTL/src/Synchronization.cpp
  openmp/libomptarget/DeviceRTL/src/Tasking.cpp
  openmp/libomptarget/DeviceRTL/src/Utils.cpp
  openmp/libomptarget/DeviceRTL/src/Workshare.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112002.380466.patch
Type: text/x-patch
Size: 24139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211018/7785465d/attachment-0001.bin>


More information about the Openmp-commits mailing list