X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d24c1ddb2db13c24197bb813dc538e480edeb601..6760cb07d6b57be16928d95339d71e57c4e24f36:/src/smpi/smpi_mpi_dt_private.h?ds=sidebyside diff --git a/src/smpi/smpi_mpi_dt_private.h b/src/smpi/smpi_mpi_dt_private.h index 47105276d7..5034bb3cc5 100644 --- a/src/smpi/smpi_mpi_dt_private.h +++ b/src/smpi/smpi_mpi_dt_private.h @@ -1,12 +1,14 @@ -/** - * $Id: $tag - * - * smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules. - * - **/ +/* smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules. */ + +/* Copyright (c) 2009, 2010. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + + #include "private.h" -/* flags for the datatypes. */ #define DT_FLAG_DESTROYED 0x0001 /**< user destroyed but some other layers still have a reference */ #define DT_FLAG_COMMITED 0x0002 /**< ready to be used for a send/recv operation */ #define DT_FLAG_CONTIGUOUS 0x0004 /**< contiguous datatype */ @@ -20,21 +22,8 @@ #define DT_FLAG_UNAVAILABLE 0x0400 /**< datatypes unavailable on the build (OS or compiler dependant) */ #define DT_FLAG_VECTOR 0x0800 /**< valid only for loops. The loop contain only one element **< without extent. It correspond to the vector type. */ -/* +/* * We should make the difference here between the predefined contiguous and non contiguous * datatypes. The DT_FLAG_BASIC is held by all predefined contiguous datatypes. */ #define DT_FLAG_BASIC (DT_FLAG_PREDEFINED | DT_FLAG_CONTIGUOUS | DT_FLAG_NO_GAPS | DT_FLAG_DATA | DT_FLAG_COMMITED) - - - -int smpi_mpi_type_get_extent(MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent); - -/* Deprecated Functions. - * The MPI-2 standard deprecated a number of routines because MPI-2 provides better versions. - * This routine is one of those that was deprecated. The routine may continue to be used, but - * new code should use the replacement routine. The replacement for this routine is MPI_Type_Get_extent. - **/ -int SMPI_MPI_Type_ub( MPI_Datatype datatype, MPI_Aint *displacement); -int SMPI_MPI_Type_lb( MPI_Datatype datatype, MPI_Aint *displacement); -