cbf03b3113
* 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> |
||
---|---|---|
.. | ||
Makefile.am | ||
opal_convertor_internal.h | ||
opal_convertor_raw.c | ||
opal_convertor.c | ||
opal_convertor.h | ||
opal_copy_functions_heterogeneous.c | ||
opal_copy_functions.c | ||
opal_datatype_add.c | ||
opal_datatype_checksum.h | ||
opal_datatype_clone.c | ||
opal_datatype_copy.c | ||
opal_datatype_copy.h | ||
opal_datatype_create_contiguous.c | ||
opal_datatype_create.c | ||
opal_datatype_cuda.c | ||
opal_datatype_cuda.h | ||
opal_datatype_destroy.c | ||
opal_datatype_dump.c | ||
opal_datatype_fake_stack.c | ||
opal_datatype_get_count.c | ||
opal_datatype_internal.h | ||
opal_datatype_memcpy.h | ||
opal_datatype_module.c | ||
opal_datatype_optimize.c | ||
opal_datatype_pack.c | ||
opal_datatype_pack.h | ||
opal_datatype_position.c | ||
opal_datatype_prototypes.h | ||
opal_datatype_resize.c | ||
opal_datatype_unpack.c | ||
opal_datatype_unpack.h | ||
opal_datatype.h |