Sparse matrix class using the sliced ELLPACK with parameters C, .
More...
#include <forwards.h>
Public Types | |
typedef viennacl::backend::mem_handle | handle_type |
typedef scalar< typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT < ScalarT >::ResultType > | value_type |
typedef vcl_size_t | size_type |
Public Member Functions | |
sliced_ell_matrix () | |
sliced_ell_matrix (size_type num_rows, size_type num_cols, size_type num_rows_per_block_=0) | |
sliced_ell_matrix (viennacl::context ctx) | |
void | clear () |
Resets all entries in the matrix back to zero without changing the matrix size. Resets the sparsity pattern. More... | |
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 | rows_per_block () const |
handle_type & | handle1 () |
const handle_type & | handle1 () const |
handle_type & | handle2 () |
const handle_type & | handle2 () const |
handle_type & | handle3 () |
const handle_type & | handle3 () const |
handle_type & | handle () |
const handle_type & | handle () const |
Friends | |
template<typename CPUMatrixT , typename ScalarT2 , typename IndexT2 > | |
void | copy (CPUMatrixT const &cpu_matrix, sliced_ell_matrix< ScalarT2, IndexT2 > &gpu_matrix) |
Sparse matrix class using the sliced ELLPACK with parameters C, .
Based on the SELL-C-sigma format provided by Kreutzer et al., 2014 Can be seen as a block-wise ELLPACK format, where C rows are accumulated into the same block for which a column-wise storage is used. Enables fully-coalesced reads from global memory.
Note: Currently is fixed to 1, since the sorting of rows
Definition at line 402 of file forwards.h.
typedef viennacl::backend::mem_handle viennacl::sliced_ell_matrix< ScalarT, IndexT >::handle_type |
Definition at line 49 of file sliced_ell_matrix.hpp.
typedef vcl_size_t viennacl::sliced_ell_matrix< ScalarT, IndexT >::size_type |
Definition at line 51 of file sliced_ell_matrix.hpp.
typedef scalar<typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT<ScalarT>::ResultType> viennacl::sliced_ell_matrix< ScalarT, IndexT >::value_type |
Definition at line 50 of file sliced_ell_matrix.hpp.
|
inlineexplicit |
Definition at line 53 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 55 of file sliced_ell_matrix.hpp.
|
inlineexplicit |
Definition at line 62 of file sliced_ell_matrix.hpp.
|
inline |
Resets all entries in the matrix back to zero without changing the matrix size. Resets the sparsity pattern.
Definition at line 81 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 114 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 115 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 105 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 106 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 108 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 109 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 111 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 112 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 94 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 95 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 100 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 97 of file sliced_ell_matrix.hpp.
|
inline |
Definition at line 98 of file sliced_ell_matrix.hpp.
|
friend |