Phalanx Development
Loading...
Searching...
No Matches
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>

Collaboration diagram for PHX::DevEvalWrapper< DeviceEvaluatorType >:

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< typenameDeviceEvaluatorType::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: