@@ -425,8 +425,7 @@ enum hip_api_id_t {
425425 HIP_API_ID_hipMemcpyHtoAAsync = 405,
426426 HIP_API_ID_hipSetValidDevices = 406,
427427 HIP_API_ID_hipExtHostAlloc = 407,
428- HIP_API_ID_hipStreamBatchMemOp = 408,
429- HIP_API_ID_LAST = 408,
428+ HIP_API_ID_LAST = 407,
430429
431430 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
432431 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
@@ -546,6 +545,7 @@ static inline const char* hip_api_name(const uint32_t id) {
546545 case HIP_API_ID_hipEventQuery: return "hipEventQuery";
547546 case HIP_API_ID_hipEventRecord: return "hipEventRecord";
548547 case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
548+ case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
549549 case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
550550 case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
551551 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
@@ -859,8 +859,6 @@ static inline const char* hip_api_name(const uint32_t id) {
859859 case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
860860 case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
861861 case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
862- case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
863- case HIP_API_ID_hipStreamBatchMemOp: return "hipStreamBatchMemOp";
864862 };
865863 return "unknown";
866864};
@@ -1264,7 +1262,6 @@ static inline uint32_t hipApiIdByName(const char* name) {
12641262 if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
12651263 if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
12661264 if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1267- if (strcmp("hipStreamBatchMemOp", name) == 0) return HIP_API_ID_hipStreamBatchMemOp;
12681265 return HIP_API_ID_NONE;
12691266}
12701267
@@ -3626,13 +3623,6 @@ typedef struct hip_api_data_s {
36263623 unsigned int numExtSems;
36273624 hipStream_t stream;
36283625 } hipWaitExternalSemaphoresAsync;
3629- struct {
3630- hipStream_t stream;
3631- unsigned int count;
3632- hipStreamBatchMemOpParams* paramArray;
3633- hipStreamBatchMemOpParams paramArray__val;
3634- unsigned int flags;
3635- } hipStreamBatchMemOp;
36363626 } args;
36373627 uint64_t *phase_data;
36383628} hip_api_data_t;
@@ -5902,15 +5892,6 @@ typedef struct hip_api_data_s {
59025892 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
59035893 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
59045894};
5905-
5906- // hipStreamBatchMemOp[('hipStream_t', 'stream'), ('unsigned int', 'count'),
5907- // ('hipStreamBatchMemOpParams*', 'paramArray'), ('unsigned int', 'flags')]
5908- #define INIT_hipStreamBatchMemOp_CB_ARGS_DATA(cb_data) { \
5909- cb_data.args.hipStreamBatchMemOp.stream = (hipStream_t)stream; \
5910- cb_data.args.hipStreamBatchMemOp.count = (unsigned int)count; \
5911- cb_data.args.hipStreamBatchMemOp.paramArray= (hipStreamBatchMemOpParams*)paramArray; \
5912- cb_data.args.hipStreamBatchMemOp.flags = (unsigned int)flags; \
5913- };
59145895// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
59155896#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
59165897 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
@@ -7546,11 +7527,6 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
75467527// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
75477528 case HIP_API_ID_hipStreamWriteValue64:
75487529 break;
7549- // hipStreamBatchMemOp[('hipStream_t', 'stream'), ('unsigned int', 'count'),
7550- // ('hipStreamBatchMemOpParams*', 'paramArray'), ('unsigned int', 'flags')]
7551- case HIP_API_ID_hipStreamBatchMemOp:
7552- if (data->args.hipStreamBatchMemOp.paramArray) data->args.hipStreamBatchMemOp.paramArray__val = *(data->args.hipStreamBatchMemOp.paramArray);
7553- break;
75547530// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
75557531 case HIP_API_ID_hipTexRefGetAddress:
75567532 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
@@ -10638,15 +10614,6 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
1063810614 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
1063910615 oss << ")";
1064010616 break;
10641- case HIP_API_ID_hipStreamBatchMemOp:
10642- oss << "hipStreamBatchMemOp(";
10643- oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBatchMemOp.stream);
10644- oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBatchMemOp.count);
10645- if (data->args.hipStreamBatchMemOp.paramArray == NULL) oss << ", paramArray=NULL";
10646- else { oss << ", paramArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBatchMemOp.paramArray__val); }
10647- oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBatchMemOp.flags);
10648- oss << ")";
10649- break;
1065010617 case HIP_API_ID_hipTexRefGetAddress:
1065110618 oss << "hipTexRefGetAddress(";
1065210619 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
0 commit comments