OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
ippl::detail::CapturedExpression< E, N > Struct Template Reference

#include <IpplExpressions.h>

Collaboration diagram for ippl::detail::CapturedExpression< E, N >:
Collaboration graph

Public Member Functions

template<typename... Args>
KOKKOS_INLINE_FUNCTION auto operator() (Args... args) const
 

Public Attributes

char buffer [N]
 

Static Public Attributes

static constexpr unsigned dim = E::dim
 

Detailed Description

template<typename E, size_t N = sizeof(E)>
struct ippl::detail::CapturedExpression< E, N >

This expression is only used to allocate enough memory for the kernel on the device. It is instantiated in the assignment operator of the BareField class.

Definition at line 44 of file IpplExpressions.h.

Member Function Documentation

◆ operator()()

template<typename E , size_t N = sizeof(E)>
template<typename... Args>
KOKKOS_INLINE_FUNCTION auto ippl::detail::CapturedExpression< E, N >::operator() ( Args...  args) const
inline

Definition at line 48 of file IpplExpressions.h.

References ippl::detail::CapturedExpression< E, N >::dim.

Member Data Documentation

◆ buffer

template<typename E , size_t N = sizeof(E)>
char ippl::detail::CapturedExpression< E, N >::buffer[N]

Definition at line 53 of file IpplExpressions.h.

◆ dim

template<typename E , size_t N = sizeof(E)>
constexpr unsigned ippl::detail::CapturedExpression< E, N >::dim = E::dim
staticconstexpr

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