Class muda::DeviceBSRMatrix
template <typename Ty, int N>
ClassList > muda > DeviceBSRMatrix
Public Types
Type |
Name |
typedef std::conditional_t< N==1, Ty, Eigen::Matrix< Ty, N, N > > |
ValueT
|
Public Static Attributes
Public Functions
Public Static Functions
Protected Attributes
Public Types Documentation
typedef ValueT
using muda::DeviceBSRMatrix< Ty, N >::ValueT = std::conditional_t<N == 1, Ty, Eigen::Matrix<Ty, N, N>>;
Public Static Attributes Documentation
variable IsBlockMatrix
bool muda::DeviceBSRMatrix< Ty, N >::IsBlockMatrix;
Public Functions Documentation
function DeviceBSRMatrix [1/3]
muda::DeviceBSRMatrix::DeviceBSRMatrix () = default
function DeviceBSRMatrix [2/3]
muda::DeviceBSRMatrix::DeviceBSRMatrix (
const DeviceBSRMatrix &
)
function DeviceBSRMatrix [3/3]
muda::DeviceBSRMatrix::DeviceBSRMatrix (
DeviceBSRMatrix &&
)
function T [1/2]
inline auto muda::DeviceBSRMatrix::T () const
function T [2/2]
inline auto muda::DeviceBSRMatrix::T ()
function clear
void muda::DeviceBSRMatrix::clear ()
function col_indices [1/2]
inline auto muda::DeviceBSRMatrix::col_indices ()
function col_indices [2/2]
inline auto muda::DeviceBSRMatrix::col_indices () const
function cols
inline auto muda::DeviceBSRMatrix::cols () const
function cview
inline auto muda::DeviceBSRMatrix::cview () const
function descr
cusparseSpMatDescr_t muda::DeviceBSRMatrix::descr () const
function legacy_descr
cusparseMatDescr_t muda::DeviceBSRMatrix::legacy_descr () const
function non_zeros
inline auto muda::DeviceBSRMatrix::non_zeros () const
function operator BSRMatrixView< Ty, N >
inline muda::DeviceBSRMatrix::operator BSRMatrixView< Ty, N > ()
function operator CBSRMatrixView< Ty, N >
inline muda::DeviceBSRMatrix::operator CBSRMatrixView< Ty, N > () const
function operator=
DeviceBSRMatrix & muda::DeviceBSRMatrix::operator= (
const DeviceBSRMatrix &
)
function operator=
DeviceBSRMatrix & muda::DeviceBSRMatrix::operator= (
DeviceBSRMatrix &&
)
function reserve
void muda::DeviceBSRMatrix::reserve (
int non_zero_blocks
)
function reserve_offsets
void muda::DeviceBSRMatrix::reserve_offsets (
int size
)
function reshape
void muda::DeviceBSRMatrix::reshape (
int row,
int col
)
function resize
void muda::DeviceBSRMatrix::resize (
int non_zero_blocks
)
function row_offsets [1/2]
inline auto muda::DeviceBSRMatrix::row_offsets ()
function row_offsets [2/2]
inline auto muda::DeviceBSRMatrix::row_offsets () const
function rows
inline auto muda::DeviceBSRMatrix::rows () const
function values [1/2]
inline auto muda::DeviceBSRMatrix::values ()
function values [2/2]
inline auto muda::DeviceBSRMatrix::values () const
function view [1/2]
inline auto muda::DeviceBSRMatrix::view ()
function view [2/2]
inline auto muda::DeviceBSRMatrix::view () const
function ~DeviceBSRMatrix
muda::DeviceBSRMatrix::~DeviceBSRMatrix ()
Public Static Functions Documentation
function block_size
static inline int muda::DeviceBSRMatrix::block_size ()
Protected Attributes Documentation
variable m_col
int muda::DeviceBSRMatrix< Ty, N >::m_col;
variable m_col_indices
muda::DeviceBuffer<int> muda::DeviceBSRMatrix< Ty, N >::m_col_indices;
variable m_descr
cusparseSpMatDescr_t muda::DeviceBSRMatrix< Ty, N >::m_descr;
variable m_legacy_descr
cusparseMatDescr_t muda::DeviceBSRMatrix< Ty, N >::m_legacy_descr;
variable m_row
int muda::DeviceBSRMatrix< Ty, N >::m_row;
variable m_row_offsets
muda::DeviceBuffer<int> muda::DeviceBSRMatrix< Ty, N >::m_row_offsets;
variable m_values
muda::DeviceBuffer<ValueT> muda::DeviceBSRMatrix< Ty, N >::m_values;
Friends Documentation
template<typename U, int M>
class muda::DeviceBSRMatrix::MatrixFormatConverter (
details::MatrixFormatConverter
)
The documentation for this class was generated from the following file src/muda/ext/linear_system/device_bsr_matrix.h