[Openmp-commits] [PATCH] D118424: Implementation of OMPT target device tracingThis patch is on top of D113728 which has support for OMPT target callbacks.

Dhruva Chakrabarti via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 27 19:06:07 PST 2022


dhruvachak created this revision.
dhruvachak added reviewers: jdoerfert, JonChesterfield, jmellorcrummey, ronlieb, protze.joachim, AndreyChurbanov, jlpeyton.
Herald added subscribers: kerbowa, mgorny, jvesely.
dhruvachak requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

- Device tracing entry points for OMPT data type o ompt_set_trace_ompt o ompt_start_trace, ompt_flush_trace, ompt_stop_trace o ompt_advance_buffer_cursor, ompt_get_record_ompt
- Buffer management for trace records
- Trace record generation at runtime entry points
- Support for flushing a buffer when it is full
- Helper threads for dispatching buffer-completion callbacks
- Modified ompt target tests to add device tracing


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118424

Files:
  openmp/libomptarget/include/ompt_buffer_mgr.h
  openmp/libomptarget/include/ompt_device_callbacks.h
  openmp/libomptarget/plugins/amdgpu/src/ompt_callback.cpp
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
  openmp/libomptarget/src/CMakeLists.txt
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/src/exports
  openmp/libomptarget/src/interface.cpp
  openmp/libomptarget/src/ompt_buffer_mgr.cpp
  openmp/libomptarget/src/ompt_callback.cpp
  openmp/libomptarget/src/ompt_callback.h
  openmp/libomptarget/src/omptarget.cpp
  openmp/libomptarget/test/ompt/callbacks.h
  openmp/libomptarget/test/ompt/veccopy.c
  openmp/libomptarget/test/ompt/veccopy_emi.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118424.403859.patch
Type: text/x-patch
Size: 88116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220128/0c3611d2/attachment-0001.bin>


More information about the Openmp-commits mailing list