QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Types | Private Attributes | List of all members
Texture< OutputType, InputType > Class Template Reference

#include <texture.h>

Inheritance diagram for Texture< OutputType, InputType >:
Inheritance graph
[legend]
Collaboration diagram for Texture< OutputType, InputType >:
Collaboration graph
[legend]

Public Member Functions

 Texture ()
 
 Texture (const cudaColorSpinorField *x, bool use_ghost=false)
 
 Texture (const Texture &tex)
 
 ~Texture ()
 
Textureoperator= (const Texture &tex)
 
__device__ __host__ OutputType operator[] (unsigned int idx) const
 

Private Types

typedef quda::mapper< InputType >::type RegType
 

Private Attributes

const InputType * spinor
 

Detailed Description

template<typename OutputType, typename InputType>
class Texture< OutputType, InputType >

Definition at line 51 of file texture.h.

Member Typedef Documentation

◆ RegType

template<typename OutputType, typename InputType>
typedef quda::mapper<InputType>::type Texture< OutputType, InputType >::RegType
private

Definition at line 54 of file texture.h.

Constructor & Destructor Documentation

◆ Texture() [1/3]

template<typename OutputType, typename InputType>
Texture< OutputType, InputType >::Texture ( )
inline

Definition at line 60 of file texture.h.

◆ Texture() [2/3]

template<typename OutputType, typename InputType>
Texture< OutputType, InputType >::Texture ( const cudaColorSpinorField *  x,
bool  use_ghost = false 
)
inline

Definition at line 61 of file texture.h.

◆ Texture() [3/3]

template<typename OutputType, typename InputType>
Texture< OutputType, InputType >::Texture ( const Texture< OutputType, InputType > &  tex)
inline

Definition at line 65 of file texture.h.

◆ ~Texture()

template<typename OutputType, typename InputType>
Texture< OutputType, InputType >::~Texture ( )
inline

Definition at line 66 of file texture.h.

Member Function Documentation

◆ operator=()

template<typename OutputType, typename InputType>
Texture& Texture< OutputType, InputType >::operator= ( const Texture< OutputType, InputType > &  tex)
inline

Definition at line 68 of file texture.h.

◆ operator[]()

template<typename OutputType, typename InputType>
__device__ __host__ OutputType Texture< OutputType, InputType >::operator[] ( unsigned int  idx) const
inline

Definition at line 73 of file texture.h.

Member Data Documentation

◆ spinor

template<typename OutputType, typename InputType>
const InputType* Texture< OutputType, InputType >::spinor
private

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