Struct ucp_datatype_attrΒΆ

struct ucp_datatype_attr

UCP datatype attributes.

This structure provides attributes of a UCP datatype.

Public Members

uint64_t field_mask

Mask of valid fields in this structure, using bits from ucp_datatype_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.

size_t packed_size

Packed size of the given datatype. (output parameter)

const void *buffer

Pointer to a data buffer of the associated data type. This field is optional. If UCP_DATATYPE_ATTR_FIELD_BUFFER is not set in field_mask, this field defaults to NULL.

size_t count

Number of elements in buffer. This value is optional. If UCP_DATATYPE_ATTR_FIELD_COUNT is not set in field_mask, the value of this field defaults to 1.