Update include/rocprofiler and lib/rocprofiler (#166)

- renamed inconsistent callback tracing types
- updated HIP and Marker API data structures (resemble HSA)
- cleaned up api_args.h and api_id.h headers
- cleaned up hsa.h, hip.h, and marker.h headers
- update to use (more consistent) name changes
- update code object data structs
- ROCPROFILER_SERVICE_CALLBACK_PHASE_{LOAD,UNLOAD} equivalent to ENTER, EXIT respectively

[ROCm/rocprofiler-sdk commit: cfbea0e5eb]
Αυτή η υποβολή περιλαμβάνεται σε:
Jonathan R. Madsen
2023-10-31 12:48:24 -05:00
υποβλήθηκε από GitHub
γονέας a276ef5fcf
υποβολή e4ebd5a22a
14 αρχεία άλλαξαν με 147 προσθήκες και 130 διαγραφές
@@ -22,6 +22,13 @@
#include <hip/hip_runtime.h>
typedef union rocprofiler_hip_api_retval_u
{
int int_retval;
const char* const_charp_retval;
hipError_t hipError_t_retval;
} rocprofiler_hip_api_retval_t;
typedef union rocprofiler_hip_api_args_u
{
struct
@@ -20,8 +20,10 @@
#pragma once
// NOLINTNEXTLINE(performance-enum-size)
typedef enum
/**
* @brief ROCProfiler enumeration of HIP API tracing operations
*/
typedef enum // NOLINT(performance-enum-size)
{
ROCPROFILER_HIP_API_ID_NONE = -1,
ROCPROFILER_HIP_API_ID___hipPopCallConfiguration = 0,