A field registration. More...
Public Member Functions | |
data::multi_reference< T, L, Topo, Space > | operator() (data::launch::mapping< Topo > &m) const |
Return a reference to a mapped field instance. | |
auto | operator() (data::topology_slot< Topo > &t) const |
Return a reference to a field instance. | |
A field registration.
Instances may be freely copied; they must all be created before any instance of Topo.
const
. If placed in a header make sure to declare them as inline const
to avoid breaking ODR.Topo | (specialized) topology type |
Space | index space |
auto operator() | ( | data::topology_slot< Topo > & | t | ) | const |
Return a reference to a field instance.
t | topology instance (must be allocated) |
data::multi_reference< T, L, Topo, Space > operator() | ( | data::launch::mapping< Topo > & | m | ) | const |
Return a reference to a mapped field instance.