1
1
openmpi/test/datatype
bosilca cbf03b3113 Topic/datatype (#3441)
* Don't overflow the internal datatype count.
Change the type of the count to be a size_t (it does not alter the total
size of the internal structures, so has no impact on the ABI).

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>

* Optimize the datatype creation.
The internal array of counts of predefined types is now only created
when needed, which is either in a heterogeneous environment, or when
one call get_elements. It saves space and makes the convertor creation a
little faster in some cases.

Rearrange the fields in the datatype description structs.

The macro OPAL_DATATYPE_INIT_PTYPES_ARRAY had a bug, and the
static array was only partially created. All predefined types should
have the ptypes array created and initialized.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>

* Fix the boundary computation.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>

* test/datatype: add test for short unpack on heteregeneous cluster

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Signed-off-by: George Bosilca <bosilca@icl.utk.edu>

* Trying to reduce the cost of creating a convertor.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>

* Respect the unpack boundaries.
As Gilles suggested on #2535 the opal_unpack_general_function was
unpacking based on the requested count and not on the amount of packed
data provided.
Fixes #2535.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
2017-05-09 09:31:40 -04:00
..
checksum.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ddt_lib.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ddt_lib.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ddt_pack.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
ddt_raw.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ddt_test.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
external32.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
Makefile.am Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_test.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_ddt_lib.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_ddt_lib.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
position_noncontig.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
position.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
to_self.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
unpack_hetero.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
unpack_ooo.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00