Skip to content

Class muda::DenseMatrixViewer

template <typename T>

ClassList > muda > DenseMatrixViewer

Inherits the following classes: muda::DenseMatrixViewerBase

Public Types inherited from muda::DenseMatrixViewerBase

See muda::DenseMatrixViewerBase

Type Name
typedef Buffer2DView< T > Buffer2DView
typedef CBuffer2DView< T > CBuffer2DView
typedef MapMatrixT< const MatrixType > CMapMatrix
typedef DenseMatrixViewerBase< true, T > ConstViewer
typedef MapMatrixT< MatrixType > MapMatrix
typedef Eigen::Map< U, Eigen::AlignmentType::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > MapMatrixT
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > MatrixType
typedef DenseMatrixViewerBase< false, T > NonConstViewer
typedef std::conditional_t< IsConst, CBuffer2DView, Buffer2DView > ThisBuffer2DView
typedef std::conditional_t< IsConst, CMapMatrix, MapMatrix > ThisMapMatrix
typedef std::conditional_t< IsConst, ConstViewer, NonConstViewer > ThisViewer

Public Static Attributes inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
constexpr bool IsConst = = IsConst_
constexpr bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC DenseMatrixViewer (const Base & base)
MUDA_GENERIC DenseMatrixViewer (const CDenseMatrixViewer< T > &) = delete
MUDA_DEVICE T atomic_add (size_t i, size_t j, T val)
MUDA_DEVICE Eigen::Matrix< T, M, N > atomic_add (const Eigen::Matrix< T, M, N > & other)
MUDA_GENERIC DenseMatrixViewer block (size_t row_offset, size_t col_offset, size_t row_size, size_t col_size)
MUDA_GENERIC DenseMatrixViewer block (size_t row_offset, size_t col_offset)
MUDA_GENERIC DenseMatrixViewer & operator= (const Eigen::Matrix< T, M, N > & other)

Public Functions inherited from muda::DenseMatrixViewerBase

See muda::DenseMatrixViewerBase

Type Name
MUDA_GENERIC DenseMatrixViewerBase (ThisBuffer2DView view, size_t row_offset, size_t col_offset, size_t row_size, size_t col_size)
MUDA_GENERIC auto as_const () const
MUDA_GENERIC Eigen::Block< ThisMapMatrix > as_eigen ()
MUDA_GENERIC Eigen::Block< CMapMatrix > as_eigen () const
MUDA_GENERIC ThisViewer block (size_t row_offset, size_t col_offset, size_t row_size, size_t col_size)
MUDA_GENERIC ThisViewer block (int row_offset, int col_offset)
MUDA_GENERIC ConstViewer block (size_t row_offset, size_t col_offset, size_t row_size, size_t col_size) const
MUDA_GENERIC ConstViewer block (int row_offset, int col_offset) const
MUDA_GENERIC auto buffer_view ()
MUDA_GENERIC auto buffer_view () const
MUDA_GENERIC size_t col () const
MUDA_GENERIC auto col_offset () const
MUDA_GENERIC operator ConstViewer () const
MUDA_GENERIC Block< CMapMatrix > ()
MUDA_GENERIC Block< CMapMatrix > () const
MUDA_GENERIC auto_const_t< T > & operator() (size_t i, size_t j)
MUDA_GENERIC const T & operator() (size_t i, size_t j) const
MUDA_GENERIC size_t origin_col () const
MUDA_GENERIC size_t origin_row () const
MUDA_GENERIC size_t row () const
MUDA_GENERIC auto row_offset () const

Public Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_GENERIC ViewerBase ()
ViewerBase (const ViewerBase &) = default
ViewerBase (ViewerBase &&) = default
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase & other)
MUDA_GENERIC const char * kernel_file () const
MUDA_GENERIC int kernel_line () const
MUDA_GENERIC const char * kernel_name () const
MUDA_GENERIC const char * name () const
ViewerBase & operator= (const ViewerBase &) = default
ViewerBase & operator= (ViewerBase &&) = default

Protected Types inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
typedef std::conditional_t< IsConst, const T, T > auto_const_t
typedef std::enable_if_t< IsNonConst, T > non_const_enable_t

Protected Attributes inherited from muda::DenseMatrixViewerBase

See muda::DenseMatrixViewerBase

Type Name
size_t m_col_offset = = 0
size_t m_col_size = = 0
size_t m_row_offset = = 0
size_t m_row_size = = 0
ThisBuffer2DView m_view

Protected Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_INLINE MUDA_HOST void name (const char * n)
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer)

Public Functions Documentation

function DenseMatrixViewer [1/2]

inline MUDA_GENERIC muda::DenseMatrixViewer::DenseMatrixViewer (
    const Base & base
) 

function DenseMatrixViewer [2/2]

MUDA_GENERIC muda::DenseMatrixViewer::DenseMatrixViewer (
    const CDenseMatrixViewer < T > &
) = delete

function atomic_add [1/2]

MUDA_DEVICE T muda::DenseMatrixViewer::atomic_add (
    size_t i,
    size_t j,
    T val
) 

function atomic_add [2/2]

template<int M, int N>
MUDA_DEVICE Eigen::Matrix< T, M, N > muda::DenseMatrixViewer::atomic_add (
    const Eigen::Matrix< T, M, N > & other
) 

function block [1/2]

inline MUDA_GENERIC DenseMatrixViewer muda::DenseMatrixViewer::block (
    size_t row_offset,
    size_t col_offset,
    size_t row_size,
    size_t col_size
) 

function block [2/2]

template<size_t M, size_t N>
inline MUDA_GENERIC DenseMatrixViewer muda::DenseMatrixViewer::block (
    size_t row_offset,
    size_t col_offset
) 

function operator=

template<int M, int N>
MUDA_GENERIC DenseMatrixViewer & muda::DenseMatrixViewer::operator= (
    const Eigen::Matrix< T, M, N > & other
) 


The documentation for this class was generated from the following file src/muda/ext/linear_system/dense_matrix_viewer.h