STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::flows::reflexive_producer< Element > Class Template Reference

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
 

Detailed Description

template<typename Element>
class stapl::skeletons::flows::reflexive_producer< 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.

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.

Template Parameters
Elementthe type of the producer
See also
taskgraph_env.hpp
graphviz_env.hpp
local_env.hpp

The documentation for this class was generated from the following file: