|
MXL : Media eXchange Layer
MXL
|
#include <ProtocolEgressRMA.hpp>


Public Member Functions | |
| virtual bool | hasPendingWork () const final |
| Check if there is uncompleted requests. | |
| virtual void | processCompletion (Completion const &) final |
| Process a completion event. Any post-processing after a transfer should be done here. | |
| virtual void | registerMemory (std::shared_ptr< Domain > domain) final |
| Register local memory regions used in this protocol. | |
| virtual std::size_t | reset () final |
| Destroy the protocol object. | |
| virtual void | transferGrain (Endpoint const &ep, std::uint64_t localIndex, std::uint64_t remoteIndex, std::uint32_t payloadOffset, SliceRange const &sliceRange, ::fi_addr_t destAddr=FI_ADDR_UNSPEC) final |
| Transfer a grain to a remote target. | |
| virtual void | transferSamples (Endpoint const &, std::uint64_t, std::size_t, ::fi_addr_t) final |
| Transfer samples to a remote target. | |
| Public Member Functions inherited from mxl::lib::fabrics::ofi::EgressProtocol | |
| virtual | ~EgressProtocol ()=default |
Private Member Functions | |
| RMAGrainEgressProtocol (Completion::Token token, TargetInfo info, DataLayout::Discrete dataLayout, std::vector< LocalRegion > _localRegions) | |
Private Attributes | |
| DataLayout::Discrete | _layout |
| std::vector< LocalRegion > | _localRegions |
| std::size_t | _pending = 0 |
| TargetInfo | _remoteInfo |
| Completion::Token | _token |
Friends | |
| class | RMAGrainEgressProtocolTemplate |
Definition at line 15 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 15 of file ProtocolEgressRMA.cpp.
|
nodiscardfinalvirtual |
Check if there is uncompleted requests.
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 93 of file ProtocolEgressRMA.cpp.
|
finalvirtual |
Process a completion event. Any post-processing after a transfer should be done here.
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 85 of file ProtocolEgressRMA.cpp.
|
finalvirtual |
Register local memory regions used in this protocol.
| domain | The domain to register memory with. |
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 23 of file ProtocolEgressRMA.cpp.
|
finalvirtual |
Destroy the protocol object.
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 98 of file ProtocolEgressRMA.cpp.
|
finalvirtual |
Transfer a grain to a remote target.
| localRegion | The local region to transfer from. |
| remoteIndex | The index of the remote grain to transfer to. |
| payloadOffset | The payload offset within the grain. |
| sliceRange | The range of slices to transfer. |
| destAddr | The destination address. This is ignored for connection-oriented endpoints. |
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 28 of file ProtocolEgressRMA.cpp.
|
finalvirtual |
Transfer samples to a remote target.
| headIndex | The head index of the samples to transfer. |
| count | The number of samples per channel to transfer. |
| destAddr | The destination address. This is ignored for connection-oriented endpoints. |
Implements mxl::lib::fabrics::ofi::EgressProtocol.
Definition at line 80 of file ProtocolEgressRMA.cpp.
|
friend |
Definition at line 48 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 55 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 56 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 57 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 54 of file ProtocolEgressRMA.hpp.
|
private |
Definition at line 53 of file ProtocolEgressRMA.hpp.