Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::BEllPackStructInfo< EllPackSize, IndexT > Class Template Reference
Inheritance diagram for Alien::BEllPackStructInfo< EllPackSize, IndexT >:
Collaboration diagram for Alien::BEllPackStructInfo< EllPackSize, IndexT >:

Public Types

using index_type = IndexT
using IndexType = IndexT
using InternalType = SYCLInternal::StructInfoInternal<EllPackSize,IndexT>

Public Member Functions

 BEllPackStructInfo (std::size_t nrows, int const *kcol, int const *cols, int const *h_block_row_offset, int const *h_local_row_size)
const BaseBEllPackStructInfo & base () const
InternalType const * internal () const
std::size_t getBlockNnz () const
Arccore::ConstArrayView< Integer > getRowOffset () const
IndexType const * kcol () const
IndexType const * cols () const
IndexType const * dcol () const
int const * localRowSize () const
void computeUpperDiagOffset () const
Integer computeBandeSize () const
Integer computeUpperBandeSize () const
Integer computeLowerBandeSize () const
Integer computeMaxRowSize () const
Integer getMaxRowSize () const
Public Member Functions inherited from Alien::BaseBEllPackStructInfo
 BaseBEllPackStructInfo (std::size_t nrows, std::size_t nnz)
std::size_t getNRows () const
std::size_t getNnz () const
Arccore::Int64 timestamp () const
void setTimestamp (Arccore::Int64 value)

Static Public Member Functions

static std::size_t nbBlocks (std::size_t nrows)
static std::size_t roundUp (std::size_t nrows)
static void computeBlockRowOffset (std::vector< int > &block_row_offset, std::size_t nrows, int const *kcol)

Static Public Attributes

static const int ellpack_size = EllPackSize

Protected Attributes

std::size_t m_block_nrows = 0
std::size_t m_block_nnz = 0
Integer m_max_row_size = -1
InternalType * m_internal = nullptr
int const * m_h_local_row_size = nullptr
Protected Attributes inherited from Alien::BaseBEllPackStructInfo
std::size_t m_nrows = 0
std::size_t m_nnz = 0
Arccore::Int64 m_timestamp = -1

Detailed Description

template<int EllPackSize, typename IndexT = int>
class Alien::BEllPackStructInfo< EllPackSize, IndexT >

Definition at line 56 of file BEllPackStructInfo.h.

Member Typedef Documentation

◆ index_type

template<int EllPackSize, typename IndexT = int>
using Alien::BEllPackStructInfo< EllPackSize, IndexT >::index_type = IndexT

Definition at line 61 of file BEllPackStructInfo.h.

◆ IndexType

template<int EllPackSize, typename IndexT = int>
using Alien::BEllPackStructInfo< EllPackSize, IndexT >::IndexType = IndexT

Definition at line 62 of file BEllPackStructInfo.h.

◆ InternalType

template<int EllPackSize, typename IndexT = int>
using Alien::BEllPackStructInfo< EllPackSize, IndexT >::InternalType = SYCLInternal::StructInfoInternal<EllPackSize,IndexT>

Definition at line 63 of file BEllPackStructInfo.h.

Constructor & Destructor Documentation

◆ BEllPackStructInfo()

template<int EllpackSize, typename IndexT>
Alien::BEllPackStructInfo< EllpackSize, IndexT >::BEllPackStructInfo ( std::size_t nrows,
int const * kcol,
int const * cols,
int const * h_block_row_offset,
int const * h_local_row_size )

Definition at line 371 of file SYCLBEllPackMatrix.cc.

◆ ~BEllPackStructInfo()

template<int EllpackSize, typename IndexT>
Alien::BEllPackStructInfo< EllpackSize, IndexT >::~BEllPackStructInfo ( )
virtual

Definition at line 404 of file SYCLBEllPackMatrix.cc.

Member Function Documentation

◆ base()

template<int EllPackSize, typename IndexT = int>
const BaseBEllPackStructInfo & Alien::BEllPackStructInfo< EllPackSize, IndexT >::base ( ) const
inline

Definition at line 90 of file BEllPackStructInfo.h.

◆ cols()

template<int EllpackSize, typename IndexT>
BEllPackStructInfo< EllpackSize, IndexT >::IndexType const * Alien::BEllPackStructInfo< EllpackSize, IndexT >::cols ( ) const

Definition at line 418 of file SYCLBEllPackMatrix.cc.

◆ computeBandeSize()

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::computeBandeSize ( ) const
inline

Definition at line 122 of file BEllPackStructInfo.h.

◆ computeBlockRowOffset()

template<int EllpackSize, typename IndexT>
void Alien::BEllPackStructInfo< EllpackSize, IndexT >::computeBlockRowOffset ( std::vector< int > & block_row_offset,
std::size_t nrows,
int const * kcol )
static

Definition at line 107 of file SYCLBEllPackMatrix.cc.

◆ computeLowerBandeSize()

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::computeLowerBandeSize ( ) const
inline

Definition at line 132 of file BEllPackStructInfo.h.

◆ computeMaxRowSize()

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::computeMaxRowSize ( ) const
inline

Definition at line 137 of file BEllPackStructInfo.h.

◆ computeUpperBandeSize()

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::computeUpperBandeSize ( ) const
inline

Definition at line 127 of file BEllPackStructInfo.h.

◆ computeUpperDiagOffset()

template<int EllPackSize, typename IndexT = int>
void Alien::BEllPackStructInfo< EllPackSize, IndexT >::computeUpperDiagOffset ( ) const
inline

Definition at line 118 of file BEllPackStructInfo.h.

◆ dcol()

template<int EllpackSize, typename IndexT>
BEllPackStructInfo< EllpackSize, IndexT >::IndexType const * Alien::BEllPackStructInfo< EllpackSize, IndexT >::dcol ( ) const

Definition at line 425 of file SYCLBEllPackMatrix.cc.

◆ getBlockNnz()

template<int EllPackSize, typename IndexT = int>
std::size_t Alien::BEllPackStructInfo< EllPackSize, IndexT >::getBlockNnz ( ) const
inline

Definition at line 100 of file BEllPackStructInfo.h.

◆ getMaxRowSize()

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::getMaxRowSize ( ) const
inline

Definition at line 143 of file BEllPackStructInfo.h.

◆ getRowOffset()

template<int EllPackSize, typename IndexT = int>
Arccore::ConstArrayView< Integer > Alien::BEllPackStructInfo< EllPackSize, IndexT >::getRowOffset ( ) const
inline

Definition at line 102 of file BEllPackStructInfo.h.

◆ internal()

template<int EllPackSize, typename IndexT = int>
InternalType const * Alien::BEllPackStructInfo< EllPackSize, IndexT >::internal ( ) const
inline

Definition at line 95 of file BEllPackStructInfo.h.

◆ kcol()

template<int EllpackSize, typename IndexT>
BEllPackStructInfo< EllpackSize, IndexT >::IndexType const * Alien::BEllPackStructInfo< EllpackSize, IndexT >::kcol ( ) const

Definition at line 411 of file SYCLBEllPackMatrix.cc.

◆ localRowSize()

template<int EllPackSize, typename IndexT = int>
int const * Alien::BEllPackStructInfo< EllPackSize, IndexT >::localRowSize ( ) const
inline

Definition at line 113 of file BEllPackStructInfo.h.

◆ nbBlocks()

template<int EllPackSize, typename IndexT = int>
std::size_t Alien::BEllPackStructInfo< EllPackSize, IndexT >::nbBlocks ( std::size_t nrows)
inlinestatic

Definition at line 68 of file BEllPackStructInfo.h.

◆ roundUp()

template<int EllPackSize, typename IndexT = int>
std::size_t Alien::BEllPackStructInfo< EllPackSize, IndexT >::roundUp ( std::size_t nrows)
inlinestatic

Definition at line 73 of file BEllPackStructInfo.h.

Member Data Documentation

◆ ellpack_size

template<int EllPackSize, typename IndexT = int>
const int Alien::BEllPackStructInfo< EllPackSize, IndexT >::ellpack_size = EllPackSize
static

Definition at line 64 of file BEllPackStructInfo.h.

◆ m_block_nnz

template<int EllPackSize, typename IndexT = int>
std::size_t Alien::BEllPackStructInfo< EllPackSize, IndexT >::m_block_nnz = 0
protected

Definition at line 154 of file BEllPackStructInfo.h.

◆ m_block_nrows

template<int EllPackSize, typename IndexT = int>
std::size_t Alien::BEllPackStructInfo< EllPackSize, IndexT >::m_block_nrows = 0
protected

Definition at line 153 of file BEllPackStructInfo.h.

◆ m_h_local_row_size

template<int EllPackSize, typename IndexT = int>
int const* Alien::BEllPackStructInfo< EllPackSize, IndexT >::m_h_local_row_size = nullptr
protected

Definition at line 158 of file BEllPackStructInfo.h.

◆ m_internal

template<int EllPackSize, typename IndexT = int>
InternalType* Alien::BEllPackStructInfo< EllPackSize, IndexT >::m_internal = nullptr
protected

Definition at line 157 of file BEllPackStructInfo.h.

◆ m_max_row_size

template<int EllPackSize, typename IndexT = int>
Integer Alien::BEllPackStructInfo< EllPackSize, IndexT >::m_max_row_size = -1
mutableprotected

Definition at line 155 of file BEllPackStructInfo.h.


The documentation for this class was generated from the following files: