Commit 1dc5b1a5 authored by Charles J Archer's avatar Charles J Archer Committed by Junchao Zhang
Browse files

Progress registration fixup for pamid device


Signed-off-by: default avatarJunchao Zhang <jczhang@mcs.anl.gov>
parent e51b9c63
......@@ -944,7 +944,7 @@ int MPIDU_Sched_progress(int *made_progress)
mpi_errno = MPIDU_Sched_progress_state(&all_schedules, made_progress);
if (!mpi_errno && all_schedules.head == NULL)
MPIDI_CH3I_Progress_deregister_hook(MPIDU_Sched_progress);
MPID_Progress_deregister_hook(MPIDU_Sched_progress);
return mpi_errno;
}
......
......@@ -26,7 +26,7 @@ typedef int (*progress_func_ptr_t) (int* made_progress);
static progress_func_ptr_t progress_hooks[MAX_PROGRESS_HOOKS] = { NULL };
#undef FUNCNAME
#define FUNCNAME MPIDI_CH3I_Progress_register_hook
#define FUNCNAME MPIDI_Progress_register_hook
#undef FCNAME
#define FCNAME MPIDI_QUOTE(FUNCNAME)
int MPIDI_Progress_register_hook(int (*progress_fn)(int*))
......@@ -61,10 +61,10 @@ int MPIDI_Progress_register_hook(int (*progress_fn)(int*))
}
#undef FUNCNAME
#define FUNCNAME MPIDI_CH3I_Progress_deregister_hook
#define FUNCNAME MPIDI_Progress_deregister_hook
#undef FCNAME
#define FCNAME MPIDI_QUOTE(FUNCNAME)
int MPIDI_CH3I_Progress_deregister_hook(int (*progress_fn)(int*))
int MPIDI_Progress_deregister_hook(int (*progress_fn)(int*))
{
int mpi_errno = MPI_SUCCESS;
int i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment