Skip to content

Commit 6937fbe

Browse files
cchambreaukingshuk00
authored andcommitted
Add user_data argument to MPI_T_event_handle_free function.
Signed-off-by: Chris Chambreau <chambreau1@llnl.gov>
1 parent ee1cbaf commit 6937fbe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ompi/include/mpi.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,6 +3016,7 @@ OMPI_DECLSPEC int PMPI_T_event_callback_set_info (MPI_T_event_registration even
30163016
OMPI_DECLSPEC int PMPI_T_event_callback_get_info (MPI_T_event_registration event_registration,
30173017
MPI_T_cb_safety cb_safety, MPI_Info *info_used);
30183018
OMPI_DECLSPEC int PMPI_T_event_handle_free (MPI_T_event_registration event_registration,
3019+
void *user_data,
30193020
MPI_T_event_free_cb_function free_cb_function);
30203021
OMPI_DECLSPEC int PMPI_T_event_set_dropped_handler (MPI_T_event_registration handle,
30213022
MPI_T_event_dropped_cb_function dropped_cb_function);
@@ -3122,6 +3123,7 @@ OMPI_DECLSPEC int MPI_T_event_handle_set_info (MPI_T_event_registration event_r
31223123
OMPI_DECLSPEC int MPI_T_event_handle_get_info (MPI_T_event_registration event_registration,
31233124
MPI_Info *info_used);
31243125
OMPI_DECLSPEC int MPI_T_event_handle_free (MPI_T_event_registration event_registration,
3126+
void *user_data,
31253127
MPI_T_event_free_cb_function free_cb_function);
31263128
OMPI_DECLSPEC int MPI_T_event_register_callback (MPI_T_event_registration event_registration,
31273129
MPI_T_cb_safety cb_safety, MPI_Info info, void *user_data,

ompi/mpi/tool/event_handle_free.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626

2727
int MPI_T_event_handle_free (MPI_T_event_registration event_registration,
28+
void *user_data,
2829
MPI_T_event_free_cb_function free_cb_function)
2930
{
3031
int ret = MPI_SUCCESS;

0 commit comments

Comments
 (0)