MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::fabrics::ofi::Target::ImmediateDataLocation Struct Reference

Represent an immediate data. More...

#include <Target.hpp>

Public Member Functions

LocalRegion toLocalRegion () const noexcept
 Get the underlying local region of the immediate data.

Public Attributes

std::uint64_t data

Detailed Description

Represent an immediate data.

Definition at line 80 of file Target.hpp.

Member Function Documentation

◆ toLocalRegion()

LocalRegion mxl::lib::fabrics::ofi::Target::ImmediateDataLocation::toLocalRegion ( ) const
nodiscardnoexcept

Get the underlying local region of the immediate data.

Definition at line 22 of file Target.cpp.

23 {
24 return LocalRegion{
25 .addr = std::bit_cast<std::uint64_t>(&data),
26 .len = sizeof(std::uint64_t),
27 .desc = nullptr,
28 };
29 }

Member Data Documentation

◆ data

std::uint64_t mxl::lib::fabrics::ofi::Target::ImmediateDataLocation::data

The immediate data value. Libfabric uses a uint64_t, but some provider might only transfer 4 bytes. (Verbs)

Definition at line 89 of file Target.hpp.


The documentation for this struct was generated from the following files: