SDK: OMPT Support part 1: include file and print formatters for OMPT support (#1175)

* include file and print formatters for OMPT support

* Apply suggestions from code review

* Remove rocprofiler_ompt_set_callbacks

* Reorder ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_OPENMP

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
Larry Meadows
2024-11-05 21:57:11 -08:00
committed by GitHub
parent cc1498bb3b
commit 62e0a9c1a3
16 changed files with 2289 additions and 4 deletions
@@ -27,6 +27,7 @@
#include <rocprofiler-sdk/hip.h>
#include <rocprofiler-sdk/hsa.h>
#include <rocprofiler-sdk/marker.h>
#include <rocprofiler-sdk/openmp.h>
#include <rocprofiler-sdk/rccl.h>
#include <hsa/hsa.h>
@@ -78,6 +79,15 @@ typedef struct
rocprofiler_hip_api_retval_t retval;
} rocprofiler_callback_tracing_hip_api_data_t;
/**
* @brief ROCProfiler OPENMP Callback Data
*/
typedef struct
{
uint64_t size; ///< size of this struct
rocprofiler_ompt_api_args_t args;
} rocprofiler_callback_tracing_ompt_api_data_t;
/**
* @brief ROCProfiler Marker Tracer Callback Data.
*/