ViennaCL - The Vienna Computing Library
1.5.0
|
Sparse matrix class using a hybrid format composed of the ELL and CSR format for storing the nonzeros. More...
#include <hyb_matrix.hpp>
Public Types | |
typedef viennacl::backend::mem_handle | handle_type |
typedef scalar< typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT < SCALARTYPE >::ResultType > | value_type |
Public Member Functions | |
hyb_matrix () | |
hyb_matrix (viennacl::context ctx) | |
SCALARTYPE | csr_threshold () const |
void | csr_threshold (SCALARTYPE thr) |
vcl_size_t | internal_size1 () const |
vcl_size_t | internal_size2 () const |
vcl_size_t | size1 () const |
vcl_size_t | size2 () const |
vcl_size_t | internal_ellnnz () const |
vcl_size_t | ell_nnz () const |
vcl_size_t | csr_nnz () const |
const handle_type & | handle () const |
const handle_type & | handle2 () const |
const handle_type & | handle3 () const |
const handle_type & | handle4 () const |
const handle_type & | handle5 () const |
Friends | |
template<typename CPU_MATRIX , typename T , unsigned int ALIGN> | |
void | copy (const CPU_MATRIX &cpu_matrix, hyb_matrix< T, ALIGN > &gpu_matrix) |
Sparse matrix class using a hybrid format composed of the ELL and CSR format for storing the nonzeros.
typedef scalar<typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT<SCALARTYPE>::ResultType> value_type |
hyb_matrix | ( | ) | [inline] |
hyb_matrix | ( | viennacl::context | ctx | ) | [inline] |
vcl_size_t csr_nnz | ( | ) | const [inline] |
SCALARTYPE csr_threshold | ( | ) | const [inline] |
void csr_threshold | ( | SCALARTYPE | thr | ) | [inline] |
vcl_size_t ell_nnz | ( | ) | const [inline] |
const handle_type& handle | ( | ) | const [inline] |
const handle_type& handle2 | ( | ) | const [inline] |
const handle_type& handle3 | ( | ) | const [inline] |
const handle_type& handle4 | ( | ) | const [inline] |
const handle_type& handle5 | ( | ) | const [inline] |
vcl_size_t internal_ellnnz | ( | ) | const [inline] |
vcl_size_t internal_size1 | ( | ) | const [inline] |
vcl_size_t internal_size2 | ( | ) | const [inline] |
vcl_size_t size1 | ( | ) | const [inline] |
vcl_size_t size2 | ( | ) | const [inline] |
void copy | ( | const CPU_MATRIX & | cpu_matrix, |
hyb_matrix< T, ALIGN > & | gpu_matrix | ||
) | [friend] |