Identifies a field on a particular topology instance. More...
Public Member Functions | |
| auto & | get_elements () const |
| Get the dynamic element storage (for resizing it). | |
| template<class F > | |
| const field_reference & | use (F &&f) const |
| Use this reference and return it. | |
Identifies a field on a particular topology instance.
Declare a task parameter as an accessor to use the field.
| T | data type (merely for type safety) |
| L | data layout (similarly) |
| Space | topology-relative index space |
| auto & get_elements | ( | ) | const |
Get the dynamic element storage (for resizing it).
topo::repartition L must be ragged or sparse. | const field_reference & use | ( | F && | f | ) | const |
Use this reference and return it.