|
MXL : Media eXchange Layer
MXL
|
Represent a source memory region used for for data transfer. More...
#include <LocalRegion.hpp>
Public Member Functions | |
| LocalRegion | sub (std::uint64_t offset, std::size_t length) const |
| Create a sub-region of this LocalRegion. | |
| ::iovec | toIovec () const noexcept |
| Convert this LocalRegion to a struct iovec used by libfabric transfer functions. | |
Public Attributes | |
| std::uint64_t | addr |
| void * | desc |
| std::size_t | len |
Represent a source memory region used for for data transfer.
This can be constructed directly if no memory registration is needed. Otherwise, it can be generated from a RegisteredRegion.
Definition at line 21 of file LocalRegion.hpp.
|
nodiscard |
Create a sub-region of this LocalRegion.
| offset | The offset within this region where the sub-region starts. |
| length | The length of the sub-region. |
Definition at line 13 of file LocalRegion.cpp.
|
nodiscardnoexcept |
Convert this LocalRegion to a struct iovec used by libfabric transfer functions.
Definition at line 27 of file LocalRegion.cpp.
| std::uint64_t mxl::lib::fabrics::ofi::LocalRegion::addr |
Definition at line 39 of file LocalRegion.hpp.
| void* mxl::lib::fabrics::ofi::LocalRegion::desc |
Definition at line 41 of file LocalRegion.hpp.
| std::size_t mxl::lib::fabrics::ofi::LocalRegion::len |
Definition at line 40 of file LocalRegion.hpp.