Block-Structured AMR Software Framework
amrex::GpuTuple< Ts > Class Template Reference

#include <AMReX_Tuple.H>

Inheritance diagram for amrex::GpuTuple< Ts >:
amrex::detail::gpu_tuple_impl< 0, Ts... >

Public Member Functions

constexpr AMREX_GPU_HOST_DEVICE GpuTuple ()=default
 
constexpr GpuTuple (Ts const &... args)
 
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > = 0>
constexpr GpuTuple (Us &&... args)
 
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > = 0>
AMREX_GPU_HOST_DEVICE GpuTuple< Ts... > & operator= (GpuTuple< Us... > const &rhs)
 
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > = 0>
AMREX_GPU_HOST_DEVICE GpuTuple< Ts... > & operator= (GpuTuple< Us... > &&rhs)
 

Constructor & Destructor Documentation

◆ GpuTuple() [1/3]

template<typename... Ts>
constexpr AMREX_GPU_HOST_DEVICE amrex::GpuTuple< Ts >::GpuTuple ( )
constexprdefault

◆ GpuTuple() [2/3]

template<typename... Ts>
constexpr amrex::GpuTuple< Ts >::GpuTuple ( Ts const &...  args)
inlineconstexpr

◆ GpuTuple() [3/3]

template<typename... Ts>
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > = 0>
constexpr amrex::GpuTuple< Ts >::GpuTuple ( Us &&...  args)
inlineconstexpr

Member Function Documentation

◆ operator=() [1/2]

template<typename... Ts>
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > >
AMREX_GPU_HOST_DEVICE GpuTuple< Ts... > & amrex::GpuTuple< Ts >::operator= ( GpuTuple< Us... > &&  rhs)
inline

◆ operator=() [2/2]

template<typename... Ts>
template<typename... Us, std::enable_if_t< sizeof...(Us)==sizeof...(Ts), int > >
AMREX_GPU_HOST_DEVICE GpuTuple< Ts... > & amrex::GpuTuple< Ts >::operator= ( GpuTuple< Us... > const &  rhs)
inline

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