|
MXL : Media eXchange Layer
MXL
|
Represent a scatter-gather list of source memory regions used for data transfer. More...
#include <LocalRegion.hpp>
Public Types | |
| using | const_iterator = std::vector<LocalRegion>::const_iterator |
| using | iterator = std::vector<LocalRegion>::iterator |
Public Member Functions | |
| ::iovec const * | asIovec () const noexcept |
| Return the underlying array of iovec structures representing the memory region group. | |
| iterator | begin () |
| const_iterator | begin () const |
| void *const * | desc () const noexcept |
| Return the underlying array of descriptors representing the memory region group. | |
| iterator | end () |
| const_iterator | end () const |
| LocalRegionGroup (std::vector< LocalRegion > inner) | |
| LocalRegion & | operator[] (std::size_t index) |
| LocalRegion const & | operator[] (std::size_t index) const |
| std::size_t | size () const noexcept |
| LocalRegionGroupSpan | span (std::size_t beginIndex, std::size_t endIndex) const |
| Return a span representing a contiguous subset of the LocalRegionGroup. | |
Static Private Member Functions | |
| static std::vector< void * > | descFromGroup (std::vector< LocalRegion > group) noexcept |
| Generate descriptor array from a group of LocalRegion. | |
| static std::vector<::iovec > | iovFromGroup (std::vector< LocalRegion > group) noexcept |
| Generate iovec array from a group of LocalRegion. | |
Private Attributes | |
| std::vector< void * > | _descs |
| std::vector< LocalRegion > | _inner |
| std::vector<::iovec > | _iovs |
Represent a scatter-gather list of source memory regions used for data transfer.
Definition at line 48 of file LocalRegion.hpp.
| using mxl::lib::fabrics::ofi::LocalRegionGroup::const_iterator = std::vector<LocalRegion>::const_iterator |
Definition at line 52 of file LocalRegion.hpp.
| using mxl::lib::fabrics::ofi::LocalRegionGroup::iterator = std::vector<LocalRegion>::iterator |
Definition at line 51 of file LocalRegion.hpp.
|
inline |
Definition at line 55 of file LocalRegion.hpp.
|
nodiscardnoexcept |
Return the underlying array of iovec structures representing the memory region group.
Definition at line 32 of file LocalRegion.cpp.
|
inline |
Definition at line 71 of file LocalRegion.hpp.
|
inlinenodiscard |
Definition at line 82 of file LocalRegion.hpp.
|
nodiscardnoexcept |
Return the underlying array of descriptors representing the memory region group.
Definition at line 37 of file LocalRegion.cpp.
|
staticprivatenoexcept |
Generate descriptor array from a group of LocalRegion.
Definition at line 49 of file LocalRegion.cpp.
|
inline |
Definition at line 76 of file LocalRegion.hpp.
|
inlinenodiscard |
Definition at line 88 of file LocalRegion.hpp.
|
staticprivatenoexcept |
Generate iovec array from a group of LocalRegion.
Definition at line 42 of file LocalRegion.cpp.
|
inline |
Definition at line 93 of file LocalRegion.hpp.
|
inline |
Definition at line 98 of file LocalRegion.hpp.
|
inlinenodiscardnoexcept |
Definition at line 104 of file LocalRegion.hpp.
|
nodiscard |
Return a span representing a contiguous subset of the LocalRegionGroup.
| beginIndex | The starting index of the span (inclusive). |
| endIndex | The ending index of the span (exclusive). |
Definition at line 56 of file LocalRegion.cpp.
|
private |
cached descriptor array
Definition at line 131 of file LocalRegion.hpp.
|
private |
Definition at line 128 of file LocalRegion.hpp.
|
private |
cached iovec array
Definition at line 130 of file LocalRegion.hpp.