Struct ucp_am_handler_paramΒΆ

struct ucp_am_handler_param

Active Message handler parameters passed to ucp_worker_set_am_recv_handler routine.

Public Members

uint64_t field_mask

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

unsigned id

Active Message id.

uint32_t flags

Handler flags as defined by ucp_am_cb_flags.

ucp_am_recv_callback_t cb

Active Message callback. To clear the already set callback, this value should be set to NULL.

void *arg

Active Message argument, which will be passed in to every invocation of ucp_am_recv_callback_t function as the arg argument.