Phalanx  Development
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | Public Attributes | List of all members
PHX::DevEvalWrapper< DeviceEvaluatorType > Struct Template Reference

Kokkos functor that wraps a users evaluator functor (Decorator design pattern). This eliminates the user having to store/assign workset data. More...

#include <Phalanx_CreateDeviceEvaluator.hpp>

Public Member Functions

 DevEvalWrapper (const DeviceEvaluatorType &de, typename DeviceEvaluatorType::traits::EvalData data)
 
KOKKOS_INLINE_FUNCTION void operator() (const Kokkos::TeamPolicy< PHX::exec_space >::member_type &team) const
 

Public Attributes

DeviceEvaluatorType device_evaluator_
 
std::remove_reference
< typename
DeviceEvaluatorType::traits::EvalData >
::type 
data_
 

Detailed Description

template<typename DeviceEvaluatorType>
struct PHX::DevEvalWrapper< DeviceEvaluatorType >

Kokkos functor that wraps a users evaluator functor (Decorator design pattern). This eliminates the user having to store/assign workset data.


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