CUDA Lab Course Reference Manual 2011

cublas::TextureMatrix< T > Class Template Reference

List of all members.


Public Member Functions

 TextureMatrix ()
 TextureMatrix (unsigned int n_rows, unsigned int n_cols)
 TextureMatrix (::FullMatrix< T > &other)
 TextureMatrix (const char *_texref_name)
 TextureMatrix (const char *_texref_name, unsigned int n_rows, unsigned int n_cols)
 TextureMatrix (const char *_texref_name,::FullMatrix< T > &other)
 ~TextureMatrix ()
TextureMatrix< T > & operator= (const ::FullMatrix< T > &other)
unsigned int n_rows ()
unsigned int n_cols ()

Private Member Functions

void copy_from (const ::FullMatrix< T > &other)
void reinit (unsigned int n_rows, unsigned int n_cols)
void deinit ()
void obtain_tex_ref (const char *_texref_name)
void create_tex_ref ()

Private Attributes

const textureReference * __texref
unsigned int __n_rows
unsigned int __n_cols
cudaArray * d_data

template<typename T>
class cublas::TextureMatrix< T >


Constructor & Destructor Documentation

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix (  )  [inline]

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix ( unsigned int  n_rows,
unsigned int  n_cols 
) [inline]

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix ( ::FullMatrix< T > &  other  )  [inline]

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix ( const char *  _texref_name  )  [inline]

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix ( const char *  _texref_name,
unsigned int  n_rows,
unsigned int  n_cols 
) [inline]

template<typename T >
cublas::TextureMatrix< T >::TextureMatrix ( const char *  _texref_name,
::FullMatrix< T > &  other 
) [inline]

template<typename T >
cublas::TextureMatrix< T >::~TextureMatrix (  )  [inline]


Member Function Documentation

template<typename T >
void cublas::TextureMatrix< T >::copy_from ( const ::FullMatrix< T > &  other  )  [inline, private]

template<typename T >
void cublas::TextureMatrix< T >::reinit ( unsigned int  n_rows,
unsigned int  n_cols 
) [inline, private]

template<typename T >
void cublas::TextureMatrix< T >::deinit (  )  [inline, private]

template<typename T >
void cublas::TextureMatrix< T >::obtain_tex_ref ( const char *  _texref_name  )  [inline, private]

template<typename T >
void cublas::TextureMatrix< T >::create_tex_ref (  )  [inline, private]

template<typename T >
cublas::TextureMatrix< T > & cublas::TextureMatrix< T >::operator= ( const ::FullMatrix< T > &  other  )  [inline]

template<typename T >
unsigned int cublas::TextureMatrix< T >::n_rows (  )  [inline]

template<typename T >
unsigned int cublas::TextureMatrix< T >::n_cols (  )  [inline]


Member Data Documentation

template<typename T >
const textureReference* cublas::TextureMatrix< T >::__texref [private]

template<typename T >
unsigned int cublas::TextureMatrix< T >::__n_rows [private]

template<typename T >
unsigned int cublas::TextureMatrix< T >::__n_cols [private]

template<typename T >
cudaArray* cublas::TextureMatrix< T >::d_data [private]


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

blanc++ documentation generated on Mon Jul 18 12:05:12 2011 by doxygen 1.5.7