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 const & | get_element () const |
Public Types | |
using | index_type = std::size_t |
using | value_type = Element |
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.
This specialization is used for pointer-based copies of a producers. This versions is preferred when copying the producer is costly, e.g., copying p_objects
.
Element | the type of the producer |