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

An elementary input port which is the default input port of elementary skeletons is a single dimension input port which allows simply redirects the consumer_count requests to its underlying parametric dependency. More...

Public Member Functions

 elem_in_port (S const &skeleton, std::size_t)
 
template<int N, typename Coord >
std::size_t consumer_count (Coord const &producer_coord) const
 The number of consumers in a default elementary flow is determined by its enclosed parametric dependency. Each parametric dependency has a consumer_count defined. More...
 

Detailed Description

template<typename S>
class stapl::skeletons::flows::elem_f::elem_in_port< S >

An elementary input port which is the default input port of elementary skeletons is a single dimension input port which allows simply redirects the consumer_count requests to its underlying parametric dependency.

See also
elem.hpp

Member Function Documentation

◆ consumer_count()

template<typename S >
template<int N, typename Coord >
std::size_t stapl::skeletons::flows::elem_f::elem_in_port< S >::consumer_count ( Coord const &  producer_coord) const

The number of consumers in a default elementary flow is determined by its enclosed parametric dependency. Each parametric dependency has a consumer_count defined.

Parameters
producer_coordis the position of the producer in its coordinate space
Returns
number of consumers returned by the parametric dependency underneath

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