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 |
cublas::TextureMatrix< T >::TextureMatrix | ( | ) | [inline] |
cublas::TextureMatrix< T >::TextureMatrix | ( | unsigned int | n_rows, | |
unsigned int | n_cols | |||
) | [inline] |
cublas::TextureMatrix< T >::TextureMatrix | ( | ::FullMatrix< T > & | other | ) | [inline] |
cublas::TextureMatrix< T >::TextureMatrix | ( | const char * | _texref_name | ) | [inline] |
cublas::TextureMatrix< T >::TextureMatrix | ( | const char * | _texref_name, | |
unsigned int | n_rows, | |||
unsigned int | n_cols | |||
) | [inline] |
cublas::TextureMatrix< T >::TextureMatrix | ( | const char * | _texref_name, | |
::FullMatrix< T > & | other | |||
) | [inline] |
cublas::TextureMatrix< T >::~TextureMatrix | ( | ) | [inline] |
References cublas::TextureMatrix< T >::d_data, and cublas::TextureMatrix< T >::deinit().
void cublas::TextureMatrix< T >::copy_from | ( | const ::FullMatrix< T > & | other | ) | [inline, private] |
void cublas::TextureMatrix< T >::reinit | ( | unsigned int | n_rows, | |
unsigned int | n_cols | |||
) | [inline, private] |
References cublas::TextureMatrix< T >::__n_cols, cublas::TextureMatrix< T >::__n_rows, cublas::TextureMatrix< T >::__texref, cublas::TextureMatrix< T >::d_data, and cublas::TextureMatrix< T >::deinit().
Referenced by cublas::TextureMatrix< T >::copy_from(), and cublas::TextureMatrix< T >::TextureMatrix().
void cublas::TextureMatrix< T >::deinit | ( | ) | [inline, private] |
void cublas::TextureMatrix< T >::obtain_tex_ref | ( | const char * | _texref_name | ) | [inline, private] |
References cublas::TextureMatrix< T >::__texref.
Referenced by cublas::TextureMatrix< T >::TextureMatrix().
void cublas::TextureMatrix< T >::create_tex_ref | ( | ) | [inline, private] |
Referenced by cublas::TextureMatrix< T >::TextureMatrix().
cublas::TextureMatrix< T > & cublas::TextureMatrix< T >::operator= | ( | const ::FullMatrix< T > & | other | ) | [inline] |
References cublas::TextureMatrix< T >::copy_from().
unsigned int cublas::TextureMatrix< T >::n_rows | ( | ) | [inline] |
References cublas::TextureMatrix< T >::__n_rows.
Referenced by cublas::TextureMatrix< T >::copy_from().
unsigned int cublas::TextureMatrix< T >::n_cols | ( | ) | [inline] |
References cublas::TextureMatrix< T >::__n_cols.
Referenced by cublas::TextureMatrix< T >::copy_from().
const textureReference* cublas::TextureMatrix< T >::__texref [private] |
Referenced by cublas::TextureMatrix< T >::obtain_tex_ref(), and cublas::TextureMatrix< T >::reinit().
unsigned int cublas::TextureMatrix< T >::__n_rows [private] |
unsigned int cublas::TextureMatrix< T >::__n_cols [private] |
cudaArray* cublas::TextureMatrix< T >::d_data [private] |