QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Texture< OutputType, InputType, tex_id > Class Template Reference

#include <texture.h>

Public Member Functions

 Texture ()
 
 Texture (const cudaColorSpinorField *x)
 
 Texture (const Texture &tex)
 
 ~Texture ()
 
Textureoperator= (const Texture &tex)
 
void bind (const InputType *, size_t bytes)
 
void unbind ()
 
__device__ OutputType fetch (unsigned int idx)
 
__device__ OutputType operator[] (unsigned int idx)
 

Detailed Description

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

Definition at line 105 of file texture.h.

Constructor & Destructor Documentation

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

Definition at line 116 of file texture.h.

template<typename OutputType, typename InputType, int tex_id>
Texture< OutputType, InputType, tex_id >::Texture ( const cudaColorSpinorField *  x)
inline

Definition at line 122 of file texture.h.

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

Definition at line 139 of file texture.h.

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

Definition at line 145 of file texture.h.

Member Function Documentation

template<typename OutputType, typename InputType, int tex_id>
void Texture< OutputType, InputType, tex_id >::bind ( const InputType *  ,
size_t  bytes 
)
inline

Definition at line 157 of file texture.h.

template<typename OutputType, typename InputType, int tex_id>
__device__ OutputType Texture< OutputType, InputType, tex_id >::fetch ( unsigned int  idx)
inline

Definition at line 161 of file texture.h.

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

Definition at line 149 of file texture.h.

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

Definition at line 162 of file texture.h.

template<typename OutputType, typename InputType, int tex_id>
void Texture< OutputType, InputType, tex_id >::unbind ( )
inline

Definition at line 158 of file texture.h.


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