A field registration. More...
Public Member Functions | |
| data::multi_reference< T, L, Topo, Space > | operator() (data::launch::mapping< Topo > &&m) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| 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. | |
| Reference< Topo, Space > | operator() (typename Topo::topology &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 | specialization |
| Space | index space |
| auto operator() | ( | data::topology_slot< Topo > & | t | ) | const |
Return a reference to a field instance.
| t | topology instance (must be allocated) |
t.get()). | Reference< Topo, Space > operator() | ( | typename Topo::topology & | t | ) | const |
Return a reference to a field instance.
| t | topology instance |
| data::multi_reference< T, L, Topo, Space > operator() | ( | data::launch::mapping< Topo > & | m | ) | const |
Return a reference to a mapped field instance.
| data::multi_reference< T, L, Topo, Space > operator() | ( | data::launch::mapping< Topo > && | m | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.