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, 1 > Struct Template Reference

#include <array.h>

Public Types

typedef T value_type
 
typedef T head_type
 

Public Member Functions

__host__ __device__ array (head_type h)
 
__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

head_type head
 

Static Public Attributes

static const int size = 1
 

Detailed Description

template<typename T>
struct trove::array< T, 1 >

Definition at line 63 of file array.h.

Member Typedef Documentation

◆ head_type

template<typename T >
typedef T trove::array< T, 1 >::head_type

Definition at line 65 of file array.h.

◆ value_type

template<typename T >
typedef T trove::array< T, 1 >::value_type

Definition at line 64 of file array.h.

Constructor & Destructor Documentation

◆ array() [1/3]

template<typename T >
__host__ __device__ trove::array< T, 1 >::array ( head_type  h)
inline

Definition at line 69 of file array.h.

◆ array() [2/3]

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

Definition at line 71 of file array.h.

◆ array() [3/3]

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

Definition at line 73 of file array.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 84 of file array.h.

◆ operator=()

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

Definition at line 75 of file array.h.

◆ operator==()

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

Definition at line 80 of file array.h.

Member Data Documentation

◆ head

template<typename T >
head_type trove::array< T, 1 >::head

Definition at line 67 of file array.h.

◆ size

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

Definition at line 66 of file array.h.


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