STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Classes | Functions | Variables

ARMI primitives tags. More...

+ Collaboration diagram for ARMI Tags:

Classes

struct  stapl::all_locations_t
 Tag type to represent all locations of a gang. More...
 
struct  stapl::this_location_t
 Tag type to represent the current location. More...
 
struct  stapl::root_location_t
 Tag type to represent the root of a collective operation. More...
 
struct  stapl::neighbor_locations_t
 Tag type to represent the neighbor locations of the current location. More...
 
struct  stapl::none_t
 Tag type for an invalid argument. More...
 
class  stapl::level
 Tag type to describe which level of the hierarchy is requested. More...
 
class  stapl::non_commutative_wrapper< BinaryOperation >
 Wrapper class for a non-commutative binary operator. More...
 

Functions

template<typename BinaryOperation >
constexpr non_commutative_wrapper< typename std::decay< BinaryOperation >::type > non_commutative (BinaryOperation &&op) noexcept
 Declares binary operator op as non-commutative. More...
 
template<typename R , typename T1 , typename T2 >
constexpr non_commutative_wrapper< R(T1, T2)> non_commutative (R(*f)(T1, T2)) noexcept
 Declares function f as non-commutative. More...
 

Variables

constexpr all_locations_t stapl::all_locations = { }
 Tag to represent all locations of a gang.
 
constexpr this_location_t stapl::this_location = { }
 Tag to represent the current location in a gang.
 
constexpr root_location_t stapl::root_location = { }
 Tag to represent the root of a collective operation.
 
constexpr neighbor_locations_t stapl::neighbor_locations = { }
 Tag to represent the neighbor locations of the current location.
 
constexpr none_t stapl::none = { }
 Tag for invalid argument.
 
constexpr level stapl::lowest_level {level::max, true}
 Tag for lowest level.
 
constexpr level stapl::current_level {level::current, false}
 Tag for current level.
 
constexpr level stapl::lower_level {level::lower, true}
 Tag for one level down.
 

Detailed Description

ARMI primitives tags.

Function Documentation

◆ non_commutative() [1/2]

template<typename BinaryOperation >
constexpr non_commutative_wrapper< typename std::decay< BinaryOperation >::type > non_commutative ( BinaryOperation &&  op)
related

Declares binary operator op as non-commutative.

See also
is_non_commutative

◆ non_commutative() [2/2]

template<typename R , typename T1 , typename T2 >
constexpr non_commutative_wrapper< R(T1, T2)> non_commutative ( R(*)(T1, T2)  f)
related

Declares function f as non-commutative.

See also
is_non_commutative