XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
HostArray< T > Class Template Reference

#include <host_array.hpp>

Collaboration diagram for HostArray< T >:
Collaboration graph
[legend]

Public Member Functions

KOKKOS_INLINE_FUNCTION HostArray ()
 
 HostArray (size_t n_in)
 
KOKKOS_INLINE_FUNCTION ~HostArray ()
 
KOKKOS_INLINE_FUNCTION HostArray (const HostArray &other)
 
KOKKOS_INLINE_FUNCTION HostArrayoperator= (const HostArray &other)
 
 HostArray (HostArray &&other) noexcept
 
HostArrayoperator= (HostArray &&other) noexcept
 
const T & operator() (int i) const
 
T & operator() (int i)
 
size_t size () const
 

Private Attributes

T * array
 
bool owns_array
 
size_t n
 

Constructor & Destructor Documentation

template<typename T>
KOKKOS_INLINE_FUNCTION HostArray< T >::HostArray ( )
inline
template<typename T>
HostArray< T >::HostArray ( size_t  n_in)
inline
template<typename T>
KOKKOS_INLINE_FUNCTION HostArray< T >::~HostArray ( )
inline
template<typename T>
KOKKOS_INLINE_FUNCTION HostArray< T >::HostArray ( const HostArray< T > &  other)
inline
template<typename T>
HostArray< T >::HostArray ( HostArray< T > &&  other)
inlinenoexcept

Member Function Documentation

template<typename T>
const T& HostArray< T >::operator() ( int  i) const
inline
template<typename T>
T& HostArray< T >::operator() ( int  i)
inline
template<typename T>
KOKKOS_INLINE_FUNCTION HostArray& HostArray< T >::operator= ( const HostArray< T > &  other)
inline
template<typename T>
HostArray& HostArray< T >::operator= ( HostArray< T > &&  other)
inlinenoexcept
template<typename T>
size_t HostArray< T >::size ( ) const
inline

Here is the caller graph for this function:

Member Data Documentation

template<typename T>
T* HostArray< T >::array
private
template<typename T>
size_t HostArray< T >::n
private
template<typename T>
bool HostArray< T >::owns_array
private

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