A reflexive_producer
is used as a wrapper for using references as the producer to a task in a dependence graph. This producer is only used directly in do_while
skeleton, and is not intended to be used often. This producer requires the task to be executed on the same memory space as the producer.
More...
Public Member Functions | |
reflexive_producer (Element element) | |
element_type | get_element () const |
Public Types | |
using | index_type = std::size_t |
using | value_type = element_type |
A reflexive_producer
is used as a wrapper for using references as the producer to a task in a dependence graph. This producer is only used directly in do_while
skeleton, and is not intended to be used often. This producer requires the task to be executed on the same memory space as the producer.
For view accesses you should use view_element_producer
.
Producer information is used in various environments in order to create tasks, create visualization of dependence graphs, etc.
Element | the type of the producer |