SWDEV-546308 - Implement hipKernelGetParamInfo API (#1783)
This commit is contained in:
committed by
GitHub
parent
e6b1ec25bd
commit
07dd4c85e7
@@ -1001,6 +1001,9 @@ ROCPROFILER_ENUM_LABEL(ROCPROFILER_HIP_RUNTIME_API_ID_hipOccupancyAvailableDynam
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 19
|
||||
ROCPROFILER_ENUM_LABEL(ROCPROFILER_HIP_RUNTIME_API_ID_hipGetProcAddress_spt)
|
||||
#endif
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 20
|
||||
ROCPROFILER_ENUM_LABEL(ROCPROFILER_HIP_RUNTIME_API_ID_hipKernelGetParamInfo)
|
||||
#endif
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION == 0
|
||||
static_assert(ROCPROFILER_HIP_RUNTIME_API_ID_LAST == 442);
|
||||
#elif HIP_RUNTIME_API_TABLE_STEP_VERSION == 1
|
||||
@@ -1041,6 +1044,8 @@ static_assert(ROCPROFILER_HIP_RUNTIME_API_ID_LAST == 505);
|
||||
static_assert(ROCPROFILER_HIP_RUNTIME_API_ID_LAST == 506);
|
||||
#elif HIP_RUNTIME_API_TABLE_STEP_VERSION == 19
|
||||
static_assert(ROCPROFILER_HIP_RUNTIME_API_ID_LAST == 507);
|
||||
#elif HIP_RUNTIME_API_TABLE_STEP_VERSION == 20
|
||||
static_assert(ROCPROFILER_HIP_RUNTIME_API_ID_LAST == 508);
|
||||
#else
|
||||
# if !defined(ROCPROFILER_UNSAFE_NO_VERSION_CHECK) && \
|
||||
(defined(ROCPROFILER_CI) && ROCPROFILER_CI > 0)
|
||||
|
||||
@@ -3368,6 +3368,15 @@ typedef union rocprofiler_hip_api_args_t
|
||||
hipDriverProcAddressQueryResult* symbolStatus;
|
||||
} hipGetProcAddress_spt;
|
||||
#endif
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 20
|
||||
struct
|
||||
{
|
||||
hipKernel_t kernel;
|
||||
size_t paramIndex;
|
||||
size_t* paramOffset;
|
||||
size_t* paramSize;
|
||||
} hipKernelGetParamInfo;
|
||||
#endif
|
||||
} rocprofiler_hip_api_args_t;
|
||||
|
||||
ROCPROFILER_EXTERN_C_FINI
|
||||
|
||||
@@ -572,6 +572,9 @@ typedef enum rocprofiler_hip_runtime_api_id_t // NOLINT(performance-enum-size)
|
||||
#endif
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 19
|
||||
ROCPROFILER_HIP_RUNTIME_API_ID_hipGetProcAddress_spt,
|
||||
#endif
|
||||
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 20
|
||||
ROCPROFILER_HIP_RUNTIME_API_ID_hipKernelGetParamInfo,
|
||||
#endif
|
||||
ROCPROFILER_HIP_RUNTIME_API_ID_LAST,
|
||||
} rocprofiler_hip_runtime_api_id_t;
|
||||
|
||||
Reference in New Issue
Block a user