RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Static Public Attributes | List of all members
RAJA::statement::Lambda< BodyIdx, Args > Struct Template Reference

#include <Lambda.hpp>

Inheritance diagram for RAJA::statement::Lambda< BodyIdx, Args >:
RAJA::internal::Statement< camp::nil >

Static Public Attributes

static const camp::idx_t loop_body_index = BodyIdx
 

Additional Inherited Members

- Public Types inherited from RAJA::internal::Statement< camp::nil >
using enclosed_statements_t = StatementList< EnclosedStmts... >
 
using execution_policy_t = camp::nil
 
- Public Member Functions inherited from RAJA::internal::Statement< camp::nil >
 Statement ()=delete
 

Detailed Description

template<camp::idx_t BodyIdx, typename... Args>
struct RAJA::statement::Lambda< BodyIdx, Args >

A RAJA::kernel statement that invokes a lambda function.

The lambda is specified by its index in the sequence of lambda arguments to a RAJA::kernel method.

for example: RAJA::kernel<exec_pol>(make_tuple{s0, s1, s2}, lambda0, lambda1);

Member Data Documentation

◆ loop_body_index

template<camp::idx_t BodyIdx, typename... Args>
const camp::idx_t RAJA::statement::Lambda< BodyIdx, Args >::loop_body_index = BodyIdx
static

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