#[repr(u32)]pub enum ucp_op_attr_t {
UCP_OP_ATTR_FIELD_REQUEST = 1,
UCP_OP_ATTR_FIELD_CALLBACK = 2,
UCP_OP_ATTR_FIELD_USER_DATA = 4,
UCP_OP_ATTR_FIELD_DATATYPE = 8,
UCP_OP_ATTR_FIELD_FLAGS = 16,
UCP_OP_ATTR_FIELD_REPLY_BUFFER = 32,
UCP_OP_ATTR_FIELD_MEMORY_TYPE = 64,
UCP_OP_ATTR_FIELD_RECV_INFO = 128,
UCP_OP_ATTR_FLAG_NO_IMM_CMPL = 65_536,
UCP_OP_ATTR_FLAG_FAST_CMPL = 131_072,
UCP_OP_ATTR_FLAG_FORCE_IMM_CMPL = 262_144,
UCP_OP_ATTR_FLAG_MULTI_SEND = 524_288,
}Expand description
@ingroup UCP_COMM @brief UCP operation fields and flags
The enumeration allows specifying which fields in @ref ucp_request_param_t are present and operation flags are used. It is used to enable backward compatibility support.
Variants§
UCP_OP_ATTR_FIELD_REQUEST = 1
< request field
UCP_OP_ATTR_FIELD_CALLBACK = 2
< cb field
UCP_OP_ATTR_FIELD_USER_DATA = 4
< user_data field
UCP_OP_ATTR_FIELD_DATATYPE = 8
< datatype field
UCP_OP_ATTR_FIELD_FLAGS = 16
< operation-specific flags
UCP_OP_ATTR_FIELD_REPLY_BUFFER = 32
< reply_buffer field
UCP_OP_ATTR_FIELD_MEMORY_TYPE = 64
< memory type field
UCP_OP_ATTR_FIELD_RECV_INFO = 128
< recv_info field
UCP_OP_ATTR_FLAG_NO_IMM_CMPL = 65_536
< deny immediate completion
UCP_OP_ATTR_FLAG_FAST_CMPL = 131_072
< expedite local completion, even if it delays remote data delivery. Note for implementer: this option can disable zero copy and/or rendezvous protocols which require synchronization with the remote peer before releasing the local send buffer
UCP_OP_ATTR_FLAG_FORCE_IMM_CMPL = 262_144
< force immediate complete operation, fail if the operation cannot be completed immediately
UCP_OP_ATTR_FLAG_MULTI_SEND = 524_288
< optimize for bandwidth of multiple in-flight operations, rather than for the latency of a single operation
Trait Implementations§
Source§impl Clone for ucp_op_attr_t
impl Clone for ucp_op_attr_t
Source§fn clone(&self) -> ucp_op_attr_t
fn clone(&self) -> ucp_op_attr_t
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more