UCX  1.8
Unified Communication X

UCP generic data type descriptor. More...

Data Fields

void *(* start_pack )(void *context, const void *buffer, size_t count)
 Start a packing request. More...
 
void *(* start_unpack )(void *context, void *buffer, size_t count)
 Start an unpacking request. More...
 
size_t(* packed_size )(void *state)
 Get the total size of packed data. More...
 
size_t(* pack )(void *state, size_t offset, void *dest, size_t max_length)
 Pack data. More...
 
ucs_status_t(* unpack )(void *state, size_t offset, const void *src, size_t length)
 Unpack data. More...
 
void(* finish )(void *state)
 Finish packing/unpacking. More...
 

Detailed Description

This structure provides a generic datatype descriptor that is used for definition of application defined datatypes.

Typically, the descriptor is used for an integration with datatype engines implemented within MPI and SHMEM implementations.

Note
In case of partial receive, any amount of received data is acceptable which matches buffer size.

The documentation for this struct was generated from the following file: