1
1
openmpi/opal/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
..
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_convertor_internal.h use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_convertor_raw.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_convertor.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_convertor.h Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_copy_functions_heterogeneous.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_copy_functions.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_add.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_checksum.h - Split the datatype engine into two parts: an MPI specific part in 2009-07-13 04:56:31 +00:00
opal_datatype_clone.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_copy.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_copy.h Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_create_contiguous.c Reshape the datatype engine. The basic types are built down in OPAL. MPI types are 2011-01-13 06:08:54 +00:00
opal_datatype_create.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_cuda.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_datatype_cuda.h Add support for CUDA Unified memory. Basically, add a new flag and disable some 2014-12-10 05:46:00 -08:00
opal_datatype_destroy.c - Split the datatype engine into two parts: an MPI specific part in 2009-07-13 04:56:31 +00:00
opal_datatype_dump.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_fake_stack.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_get_count.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_internal.h Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_memcpy.h Add a second version of the datatype copy function using memmove instead of memcpy. 2010-11-12 23:22:35 +00:00
opal_datatype_module.c initialize common symbols from opal 2015-05-08 09:48:51 +09:00
opal_datatype_optimize.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_pack.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_pack.h use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_position.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_prototypes.h Always build support for HETEROGENEOUS environment (this is needed to 2016-03-30 11:40:18 +09:00
opal_datatype_resize.c use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype_unpack.c Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
opal_datatype_unpack.h use ptrdiff_t instead of OPAL_PTRDIFF_TYPE 2017-04-19 13:41:56 +09:00
opal_datatype.h Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00