RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | List of all members
RAJA::statement::Reduce< ReducePolicy, ReduceOperator, ParamId, EnclosedStmts > Struct Template Reference

#include <Reduce.hpp>

Inheritance diagram for RAJA::statement::Reduce< ReducePolicy, ReduceOperator, ParamId, EnclosedStmts >:
RAJA::internal::Statement< camp::nil, EnclosedStmts... >

Public Types

using execution_policy_t = camp::nil
 
- Public Types inherited from RAJA::internal::Statement< camp::nil, EnclosedStmts... >
using enclosed_statements_t = StatementList< EnclosedStmts... >
 
using execution_policy_t = camp::nil
 

Additional Inherited Members

- Public Member Functions inherited from RAJA::internal::Statement< camp::nil, EnclosedStmts... >
 Statement ()=delete
 

Detailed Description

template<typename ReducePolicy, template< typename... > class ReduceOperator, typename ParamId, typename... EnclosedStmts>
struct RAJA::statement::Reduce< ReducePolicy, ReduceOperator, ParamId, EnclosedStmts >

A RAJA::kernel statement that implements a reduction of a Param. This reduces a value down to a "root" thread, and then only executes the enclosed statements on the thread which contains the reduced value.

Member Typedef Documentation

◆ execution_policy_t

template<typename ReducePolicy , template< typename... > class ReduceOperator, typename ParamId , typename... EnclosedStmts>
using RAJA::statement::Reduce< ReducePolicy, ReduceOperator, ParamId, EnclosedStmts >::execution_policy_t = camp::nil

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