UCC 1.0
Unified Collective Communications
ucc_generic_dt_ops Struct Reference

UCC generic data type descriptor. More...

Data Fields

uint64_t mask
 
uint64_t flags
 
size_t contig_size
 
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...
 
ucc_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...
 
struct {
ucc_status_t(* cb )(const ucc_reduce_cb_params_t *params)
 
void * cb_ctx
 
reduce
 User-defined reduction callback. More...
 

Detailed Description

This structure provides a generic datatype descriptor that is used to create user-defined datatypes.

Field Documentation

◆ mask

uint64_t ucc_generic_dt_ops::mask

◆ flags

uint64_t ucc_generic_dt_ops::flags

◆ contig_size

size_t ucc_generic_dt_ops::contig_size

size of the datatype if UCC_GENERIC_DT_OPS_FLAG_CONTIG is set


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