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::view_element_producer< View > Class Template Reference

A view_element_producer is used as a wrapper for view accesses by a task in a dependence graph. Therefore, it inherits from both indexed_producer and reflexive_producer. This producer is only used 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. Producer information is then used in various environments in order to create tasks, create visualization of dependence graphs, etc. More...

Public Member Functions

 view_element_producer (View view, index_type const &index)
 
std::decay< std::remove_pointer< View >::type >::type::index_type get_index () const
 
skeletons::no_filter get_filter () const
 
element_type get_element () const
 

Public Types

using view_type = typename std::decay< typename std::remove_pointer< View >::type >::type
 
using value_type = view_type
 
using index_type = typename view_traits< view_type >::index_type
 
using filter_type = skeletons::no_filter
 

Detailed Description

template<typename View>
class stapl::skeletons::flows::view_element_producer< View >

A view_element_producer is used as a wrapper for view accesses by a task in a dependence graph. Therefore, it inherits from both indexed_producer and reflexive_producer. This producer is only used 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. Producer information is then used in various environments in order to create tasks, create visualization of dependence graphs, etc.

Template Parameters
Viewthe type of the view that is going to be accessed
See also
taskgraph_env.hpp
graphviz_env.hpp
local_env.hpp
indexed_producer
reflexive_producer

Member Typedef Documentation

◆ value_type

template<typename View >
using stapl::skeletons::flows::view_element_producer< View >::value_type = view_type

What we mean in here as value type is the element referred to by the element in reflexive_producer. In other words accessing the indexed element is not the responsibility of this class


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