← Teaching

消息类型

  • Stream: 字节流TCP
  • RMA/Atomic: RDMA
  • Active Message: 触发接收端调用
  • Tag: 根据tag接收消息
enum ucp_feature {
    /** Request tag matching support */
    UCP_FEATURE_TAG           = UCS_BIT(0),
    /** Request remote memory access support */
    UCP_FEATURE_RMA           = UCS_BIT(1),
    /** Request stream support */
    UCP_FEATURE_STREAM        = UCS_BIT(5),
    /** Request Active Message support */
    UCP_FEATURE_AM            = UCS_BIT(6),
}

API接口

nbx = non blocking exchange

  • 发送消息
ucp_stream_send_nbx
ucp_tag_send_nbx
ucp_am_send_nbx
ucp_put_nbx
...
  • 接收消息
ucp_stream_recv_nbx
ucp_get_nbx
...

谢谢

如果喜欢请点赞收藏投币,谢谢!