Commit 3611b89f authored by Wesley Bland's avatar Wesley Bland
Browse files

Fix FUNC_ENTER macros for some ft functions



The calls in MPID_Comm_get_all_failed_procs and MPID_Comm_agree  were the
wrong macros for entering and exiting an MPID function. This corrects it.
Signed-off-by: default avatarHuiwei Lu <huiweilu@mcs.anl.gov>
parent f86004a5
......@@ -64,8 +64,8 @@ int MPID_Comm_agree(MPID_Comm *comm_ptr, uint32_t *bitarray, int *flag, int new_
int errflag = new_fail;
int tmp_flag;
MPID_MPI_STATE_DECL(MPID_STATE_MPID_COMM_AGREE);
MPID_MPI_FUNC_ENTER(MPID_STATE_MPID_COMM_AGREE);
MPIDI_STATE_DECL(MPID_STATE_MPID_COMM_AGREE);
MPIDI_FUNC_ENTER(MPID_STATE_MPID_COMM_AGREE);
children = (int *) MPIU_Malloc(sizeof(int) * ((comm_ptr->local_size) / 2));
......@@ -113,7 +113,7 @@ int MPID_Comm_agree(MPID_Comm *comm_ptr, uint32_t *bitarray, int *flag, int new_
MPIU_Free(children);
fn_exit:
MPID_MPI_FUNC_EXIT(MPID_STATE_MPID_COMM_AGREE);
MPIDI_FUNC_EXIT(MPID_STATE_MPID_COMM_AGREE);
return mpi_errno;
fn_fail:
goto fn_exit;
......
......@@ -90,7 +90,7 @@ int MPID_Comm_get_all_failed_procs(MPID_Comm *comm_ptr, MPID_Group **failed_grou
MPID_Group *local_fail;
MPIDI_STATE_DECL(MPID_STATE_MPID_COMM_GET_ALL_FAILED_PROCS);
MPID_MPI_FUNC_ENTER(MPID_STATE_MPID_COMM_GET_ALL_FAILED_PROCS);
MPIDI_FUNC_ENTER(MPID_STATE_MPID_COMM_GET_ALL_FAILED_PROCS);
/* Kick the progress engine in case it's been a while so we get all the
* latest updates about failures */
......@@ -152,7 +152,7 @@ int MPID_Comm_get_all_failed_procs(MPID_Comm *comm_ptr, MPID_Group **failed_grou
MPIU_Free(remote_bitarray);
fn_exit:
MPID_MPI_FUNC_EXIT(MPID_STATE_MPID_COMM_GET_ALL_FAILED_PROCS);
MPIDI_FUNC_EXIT(MPID_STATE_MPID_COMM_GET_ALL_FAILED_PROCS);
return mpi_errno;
fn_fail:
goto fn_exit;
......
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