QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
trove::array< T, m > Struct Template Reference

#include <array.h>

Public Types

typedef T  value_type
 
typedef T  head_type
 
typedef array< T, m-1 >  tail_type
 

Public Member Functions

__host__ __device__  array (head_type h, const tail_type &t)
 
__host__ __device__  array ()
 
__host__ __device__  array (const array &other)
 
__host__ __device__ arrayoperator= (const array &other)
 
__host__ __device__ bool  operator== (const array &other) const
 
__host__ __device__ bool  operator!= (const array &other) const
 

Public Attributes

 
 

Static Public Attributes

static const int  size = m
 

Detailed Description

template<typename T, int m>
struct trove::array< T, m >

Definition at line 33 of file array.h.

Member Typedef Documentation

head_type

template<typename T , int m>
typedef T trove::array< T, m >::head_type

Definition at line 35 of file array.h.

tail_type

template<typename T , int m>
typedef array<T, m-1> trove::array< T, m >::tail_type

Definition at line 36 of file array.h.

value_type

template<typename T , int m>
typedef T trove::array< T, m >::value_type

Definition at line 34 of file array.h.

Constructor & Destructor Documentation

array() [1/3]

template<typename T , int m>
__host__ __device__ trove::array< T, m >::array ( head_type  h,
const tail_typet 
)
inline

Definition at line 41 of file array.h.

array() [2/3]

template<typename T , int m>
__host__ __device__ trove::array< T, m >::array ( )
inline

Definition at line 43 of file array.h.

array() [3/3]

template<typename T , int m>
__host__ __device__ trove::array< T, m >::array ( const array< T, m > &  other )
inline

Definition at line 45 of file array.h.

Member Function Documentation

operator!=()

template<typename T , int m>
__host__ __device__ bool trove::array< T, m >::operator!= ( const array< T, m > &  other ) const
inline

Definition at line 57 of file array.h.

operator=()

template<typename T , int m>
__host__ __device__ array& trove::array< T, m >::operator= ( const array< T, m > &  other )
inline

Definition at line 47 of file array.h.

operator==()

template<typename T , int m>
__host__ __device__ bool trove::array< T, m >::operator== ( const array< T, m > &  other ) const
inline

Definition at line 53 of file array.h.

Member Data Documentation

head

template<typename T , int m>
head_type trove::array< T, m >::head

Definition at line 38 of file array.h.

size

template<typename T , int m>
const int trove::array< T, m >::size = m
static

Definition at line 37 of file array.h.

tail

template<typename T , int m>
tail_type trove::array< T, m >::tail

Definition at line 39 of file array.h.


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

Generated on Thu Oct 28 2021 16:10:29 for QUDA by doxygen 1.9.1

AltStyle によって変換されたページ (->オリジナル) /