Skip to content

Commit 65f19ab

Browse files
cchambreauhppritcha
authored andcommitted
Add user_data argument to MPI_T_event_handle_free function.
Signed-off-by: Chris Chambreau <chambreau1@llnl.gov>
1 parent 7dc770a commit 65f19ab

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
@@ -2887,6 +2887,7 @@ OMPI_DECLSPEC int PMPI_T_event_callback_set_info (MPI_T_event_registration even
28872887
OMPI_DECLSPEC int PMPI_T_event_callback_get_info (MPI_T_event_registration event_registration,
28882888
MPI_T_cb_safety cb_safety, MPI_Info *info_used);
28892889
OMPI_DECLSPEC int PMPI_T_event_handle_free (MPI_T_event_registration event_registration,
2890+
void *user_data,
28902891
MPI_T_event_free_cb_function free_cb_function);
28912892
OMPI_DECLSPEC int PMPI_T_event_set_dropped_handler (MPI_T_event_registration handle,
28922893
MPI_T_event_dropped_cb_function dropped_cb_function);
@@ -2980,6 +2981,7 @@ OMPI_DECLSPEC int MPI_T_event_handle_set_info (MPI_T_event_registration event_r
29802981
OMPI_DECLSPEC int MPI_T_event_handle_get_info (MPI_T_event_registration event_registration,
29812982
MPI_Info *info_used);
29822983
OMPI_DECLSPEC int MPI_T_event_handle_free (MPI_T_event_registration event_registration,
2984+
void *user_data,
29832985
MPI_T_event_free_cb_function free_cb_function);
29842986
OMPI_DECLSPEC int MPI_T_event_register_callback (MPI_T_event_registration event_registration,
29852987
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)