This is an archive of the discontinued LLVM Phabricator instance.

Implementation of OMPT target device tracing
Needs ReviewPublic

Authored by dhruvachak on Jan 27 2022, 7:06 PM.

Details

Summary

This patch is on top of D113728 which has support for OMPT target callbacks.

  • 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

Diff Detail

Event Timeline

dhruvachak created this revision.Jan 27 2022, 7:06 PM
dhruvachak requested review of this revision.Jan 27 2022, 7:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2022, 7:06 PM
dhruvachak retitled this revision from Implementation of OMPT target device tracing This patch is on top of D113728 which has support for OMPT target callbacks. to Implementation of OMPT target device tracing.Jan 27 2022, 7:14 PM
dhruvachak edited the summary of this revision. (Show Details)