Class muda::DeviceCSRMatrix
template <typename Ty>
ClassList > muda > DeviceCSRMatrix
Public Attributes
Type | Name |
---|---|
int | m_col = = 0 |
muda::DeviceBuffer< int > | m_col_indices |
cusparseSpMatDescr_t | m_descr = = nullptr |
cusparseMatDescr_t | m_legacy_descr = = nullptr |
int | m_row = = 0 |
muda::DeviceBuffer< int > | m_row_offsets |
muda::DeviceBuffer< Ty > | m_values |
Public Functions
Type | Name |
---|---|
DeviceCSRMatrix () = default |
|
DeviceCSRMatrix (const DeviceCSRMatrix &) |
|
DeviceCSRMatrix (DeviceCSRMatrix &&) noexcept |
|
auto | T () const |
auto | T () |
void | clear () |
auto | col_indices () |
auto | col_indices () const |
auto | cols () const |
auto | cview () const |
cusparseSpMatDescr_t | descr () const |
cusparseMatDescr_t | legacy_descr () const |
auto | non_zeros () const |
operator CCSRMatrixView< Ty > () const |
|
operator CSRMatrixView< Ty > () |
|
DeviceCSRMatrix & | operator= (const DeviceCSRMatrix &) |
DeviceCSRMatrix & | operator= (DeviceCSRMatrix &&) noexcept |
void | reserve (int non_zeros) |
void | reshape (int row, int col) |
auto | row_offsets () |
auto | row_offsets () const |
auto | rows () const |
auto | values () |
auto | values () const |
auto | view () |
auto | view () const |
~DeviceCSRMatrix () |
Public Attributes Documentation
variable m_col
variable m_col_indices
variable m_descr
variable m_legacy_descr
variable m_row
variable m_row_offsets
variable m_values
Public Functions Documentation
function DeviceCSRMatrix [1/3]
function DeviceCSRMatrix [2/3]
function DeviceCSRMatrix [3/3]
function T [1/2]
function T [2/2]
function clear
function col_indices [1/2]
function col_indices [2/2]
function cols
function cview
function descr
function legacy_descr
function non_zeros
function operator CCSRMatrixView< Ty >
function operator CSRMatrixView< Ty >
function operator=
function operator=
function reserve
function reshape
function row_offsets [1/2]
function row_offsets [2/2]
function rows
function values [1/2]
function values [2/2]
function view [1/2]
function view [2/2]
function ~DeviceCSRMatrix
Friends Documentation
friend MatrixFormatConverter
template<typename T, int N>
class muda::DeviceCSRMatrix::MatrixFormatConverter (
details::MatrixFormatConverter
)
The documentation for this class was generated from the following file src/muda/ext/linear_system/device_csr_matrix.h