QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
detail::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__ __forceinline__ array (head_type h, const tail_type &t)
 
__host__ __device__ __forceinline__ array ()
 
__host__ __device__ __forceinline__ array (const array &other)
 
__host__ __device__ __forceinline__ arrayoperator= (const array &other)
 
__host__ __device__ __forceinline__ bool operator== (const array &other) const
 
__host__ __device__ __forceinline__ bool operator!= (const array &other) const
 

Public Attributes

head_type head
 
tail_type tail
 

Static Public Attributes

static const int size = m
 

Detailed Description

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

Definition at line 6 of file array.h.

Member Typedef Documentation

◆ head_type

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

Definition at line 8 of file array.h.

◆ tail_type

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

Definition at line 9 of file array.h.

◆ value_type

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

Definition at line 7 of file array.h.

Constructor & Destructor Documentation

◆ array() [1/3]

template<typename T , int m>
__host__ __device__ __forceinline__ detail::array< T, m >::array ( head_type  h,
const tail_type t 
)
inline

Definition at line 14 of file array.h.

◆ array() [2/3]

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

Definition at line 16 of file array.h.

◆ array() [3/3]

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

Definition at line 18 of file array.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 30 of file array.h.

◆ operator=()

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

Definition at line 20 of file array.h.

◆ operator==()

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

Definition at line 26 of file array.h.

Member Data Documentation

◆ head

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

Definition at line 11 of file array.h.

◆ size

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

Definition at line 10 of file array.h.

◆ tail

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

Definition at line 12 of file array.h.


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