[mpich] MPICH primary repository branch, master, updated. v3.1b1-104-g10073a3
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via 10073a335d707b2ad5ddb40b77b902140b95119f (commit) from a5d05b36251a7ab0243095a93869f5d9f9ad3bd3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/10073a335d707b2ad5ddb40b77b902140b... commit 10073a335d707b2ad5ddb40b77b902140b95119f Author: Lisandro Dalcin <[email protected]> Date: Wed Oct 23 18:17:11 2013 -0500 Fix for uncommitted datatypes MPI_Type_get_extent_x and MPI_Type_get_true_extent_x were throwing errors when passed an uncommitted user-defined datatype. This was incorrect. Closes #1774 Signed-off-by: Ken Raffenetti <[email protected]> diff --git a/src/mpi/datatype/type_get_extent_x.c b/src/mpi/datatype/type_get_extent_x.c index 94ba3a4..72f9db1 100644 --- a/src/mpi/datatype/type_get_extent_x.c +++ b/src/mpi/datatype/type_get_extent_x.c @@ -99,7 +99,6 @@ int MPI_Type_get_extent_x(MPI_Datatype datatype, MPI_Count *lb, MPI_Count *exten MPID_Datatype *datatype_ptr = NULL; MPID_Datatype_get_ptr(datatype, datatype_ptr); MPID_Datatype_valid_ptr(datatype_ptr, mpi_errno); - MPID_Datatype_committed_ptr(datatype_ptr, mpi_errno); } /* TODO more checks may be appropriate (counts, in_place, buffer aliasing, etc) */ diff --git a/src/mpi/datatype/type_get_true_extent_x.c b/src/mpi/datatype/type_get_true_extent_x.c index c7b4f8f..4a6d9a9 100644 --- a/src/mpi/datatype/type_get_true_extent_x.c +++ b/src/mpi/datatype/type_get_true_extent_x.c @@ -99,7 +99,6 @@ int MPI_Type_get_true_extent_x(MPI_Datatype datatype, MPI_Count *true_lb, MPI_Co MPID_Datatype *datatype_ptr = NULL; MPID_Datatype_get_ptr(datatype, datatype_ptr); MPID_Datatype_valid_ptr(datatype_ptr, mpi_errno); - MPID_Datatype_committed_ptr(datatype_ptr, mpi_errno); } /* TODO more checks may be appropriate (counts, in_place, buffer aliasing, etc) */ ----------------------------------------------------------------------- Summary of changes: src/mpi/datatype/type_get_extent_x.c | 1 - src/mpi/datatype/type_get_true_extent_x.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org