Commit 7dc851f4 authored by William Gropp's avatar William Gropp
Browse files

[svn-r3277] Added func enter/exit for MPIR_Localcopy

parent fd84f4da
......@@ -146,8 +146,11 @@ int MPIR_Localcopy(void *sendbuf, int sendcount, MPI_Datatype sendtype,
int sendtype_iscontig, recvtype_iscontig, sendsize;
int rank, mpi_errno = MPI_SUCCESS;
MPI_Aint true_extent, sendtype_true_lb, recvtype_true_lb;
MPID_MPI_STATE_DECL(MPID_STATE_MPIR_LOCALCOPY);
MPIU_THREADPRIV_DECL;
MPID_MPI_FUNC_ENTER(MPID_STATE_MPIR_LOCALCOPY);
MPIU_THREADPRIV_GET;
MPIR_Nest_incr();
......@@ -182,6 +185,7 @@ int MPIR_Localcopy(void *sendbuf, int sendcount, MPI_Datatype sendtype,
fn_exit:
MPIR_Nest_decr();
MPID_MPI_FUNC_EXIT(MPID_STATE_MPIR_LOCALCOPY);
return mpi_errno;
fn_fail:
......
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