internal utility routines for manual handling of MPI DDT's
More...
Go to the source code of this file.
internal utility routines for manual handling of MPI DDT's
contains internal utility routines for handling manual MPI DDT's
- Copyright
- Copyright (C) 2022 Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
- Author
- Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
Definition in file xt_ddt_internal.h.
◆ xt_ddt_kernel_func
typedef void(* xt_ddt_kernel_func) (size_t, ssize_t *, const void *, void *, enum xt_memtype) |
◆ anonymous enum
◆ xt_ddt_delete()
◆ xt_ddt_from_mpi_ddt()
Returns a xt_ddt object for the provided MPI datatype. The routine will first check whether there is already a xt_ddt for this MPI datatype and will retrieve it, if available. Otherwise a new xt_ddt will be generated and cached in the MPI datatype.
- Parameters
-
- Returns
- xt_ddt object
Definition at line 1063 of file xt_ddt_create.c.
◆ xt_ddt_get_pack_size_internal()
gets the buffer size required to pack the data in ddt
- Parameters
-
- Returns
- required packing buffer size
Definition at line 166 of file xt_ddt.c.
◆ xt_ddt_inc_ref_count()
increases the internal reference counter for the given xt_ddt object
- Parameters
-
Definition at line 994 of file xt_ddt_create.c.
◆ xt_ddt_pack_internal()
packs the data from the source buffer into destination buffer
- Parameters
-
[in] | ddt | xt_ddt object |
[in] | src | source buffer |
[out] | dst | destination buffer |
[in] | memtype | type of source and destination memory |
Definition at line 341 of file xt_ddt.c.
◆ xt_ddt_unpack_internal()
unpacks the data from the source buffer into destination buffer
- Parameters
-
[in] | ddt | xt_ddt object |
[in] | src | source buffer |
[out] | dst | destination buffer |
[in] | memtype | type of source and destination memory |
Definition at line 553 of file xt_ddt.c.
◆ xt_ddt_valid_kernels