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
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
d6e24d1fe0
Commit
cfbea0e5eb
@@ -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,
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren