Classes | |
| class | IsLocal |
Public Types | |
| typedef BackEnd::tag::hcsr | TagType |
| typedef ValueT | ValueType |
| typedef ValueT | value_type |
| typedef SimpleCSRInternal::CSRStructInfo | CSRStructInfo |
| typedef SimpleCSRInternal::CSRStructInfo | ProfileType |
| typedef SYCLInternal::SYCLDistStructInfo | DistStructInfo |
| typedef HCSRInternal::MatrixInternal< ValueType > | MatrixInternal |
| typedef HCSRInternal::MatrixInternal< ValueType > | InternalType |
| typedef ProfileType::IndexType | IndexType |
| typedef HCSRViewT< HCSRMatrix< ValueType > > | HCSRView |
| Public Types inherited from Alien::IMatrixImpl | |
| typedef Arccore::Real | ValueType |
| Type of the values stored in the matrix. | |
Public Member Functions | |
| HCSRMatrix () | |
| HCSRMatrix (const MultiMatrixImpl *multi_impl) | |
| Constructeur avec association ? un MultiImpl. | |
| virtual | ~HCSRMatrix () |
| void | setTraceMng (ITraceMng *trace_mng) |
| void | allocate () |
| CSRStructInfo & | getCSRProfile () |
| const CSRStructInfo & | getCSRProfile () const |
| const CSRStructInfo & | getProfile () const |
| const DistStructInfo & | getDistStructInfo () const |
| IMessagePassingMng * | getParallelMng () |
| void | sequentialStart () |
| void | parallelStart (ConstArrayView< Integer > offset, IMessagePassingMng *parallel_mng, bool need_sort_ghost_col=false) |
| bool | initMatrix (Arccore::MessagePassing::IMessagePassingMng *parallel_mng, Integer local_offset, Integer global_size, std::size_t nrows, int const *kcol, int const *cols, SimpleCSRInternal::DistStructInfo const &matrix_dist_info) |
| HCSRMatrix * | cloneTo (const MultiMatrixImpl *multi) const |
| bool | isParallel () const |
| Integer | getLocalSize () const |
| Integer | getLocalOffset () const |
| Integer | getGlobalSize () const |
| Integer | getGhostSize () const |
| Integer | getAllocSize () const |
| bool | setMatrixValues (Arccore::Real const *values, bool only_host) |
| void | notifyChanges () |
| void | endUpdate () |
| MatrixInternal * | internal () |
| MatrixInternal const * | internal () const |
| void | allocateDevicePointers (std::size_t nrows, std::size_t nnz, IndexType **rows, IndexType **ncols, IndexType **cols, ValueType **values) const |
| void | initDevicePointers (IndexType **ncols, IndexType **rows, IndexType **cols, ValueType **values) const |
| void | freeDevicePointers (IndexType *ncols, IndexType *rows, IndexType *cols, ValueType *values) const |
| void | copyDevicePointers (std::size_t nrows, std::size_t nnz, IndexType *rows, IndexType *ncols, IndexType *cols, ValueType *values) const |
| HCSRView | hcsrView (BackEnd::Memory::eType memory, int nrows, int nnz) const |
| void | initCOODevicePointers (int **dof_uids, int **rows, int **cols, ValueType **values) const |
| void | freeCOODevicePointers (int *dof_uids, int *rows, int *cols, ValueType *values) const |
| Public Member Functions inherited from Alien::IMatrixImpl | |
| IMatrixImpl (const MultiMatrixImpl *multi_impl, BackEndId backend="") | |
| Constructor. | |
| virtual | ~IMatrixImpl () override=default |
| Free resources. | |
| IMatrixImpl (const IMatrixImpl &src)=delete | |
| IMatrixImpl (IMatrixImpl &&src)=delete | |
| IMatrixImpl & | operator= (const IMatrixImpl &src)=delete |
| IMatrixImpl & | operator= (IMatrixImpl &&src)=delete |
| virtual void | clear () |
| Wipe out internal data. | |
| virtual const ISpace & | rowSpace () const |
| Get the row space associated to the matrix \ returns The row space. | |
| virtual const ISpace & | colSpace () const |
| Get the row space associated to the matrix \ returns The row space. | |
| virtual const MatrixDistribution & | distribution () const |
| Get the distribution of the matrix. | |
| virtual BackEndId | backend () const |
| virtual const Block * | block () const |
| Get block datas of the matrix. | |
| virtual const VBlock * | vblock () const |
| Get block datas of the matrix. | |
| virtual const VBlock * | rowBlock () const |
| Get row block datas of the matrix. | |
| virtual const VBlock * | colBlock () const |
| Get col block datas of the matrix. | |
| const MultiMatrixImpl * | impls () const |
| Public Member Functions inherited from Alien::Timestamp | |
| Timestamp (const TimestampMng *manager) | |
| virtual | ~Timestamp () |
| Destructeur de la classe. | |
| virtual Int64 | timestamp () const |
| Donne la valeur courante du timestamp. | |
| void | updateTimestamp () |
| Met à jour le timestamp. | |
| void | copyTimestamp (const Timestamp &v) |
| Copy un autre timestamp. | |
| void | setTimestamp (const TimestampMng *manager, const Int64 timestamp) |
| Public Member Functions inherited from Alien::ObjectWithTrace | |
| template<typename T> | |
| void | alien_info (T &&t) const |
| template<typename T> | |
| void | alien_debug (T &&t) const |
| template<typename T> | |
| void | alien_warning (T &&t) const |
| template<typename T> | |
| void | alien_fatal (T &&t) const |
| ITraceMng * | traceMng () const |
Static Public Attributes | |
| static const bool | on_host_only = false |
Private Member Functions | |
| void | sortGhostCols (ConstArrayView< Integer > offset) |
Private Attributes | |
| Alien::BackEnd::Memory::eType | m_mem_kind = Alien::BackEnd::Memory::Device |
| std::unique_ptr< ProfileType > | m_profile |
| std::unique_ptr< InternalType > | m_internal |
| bool | m_is_parallel = false |
| IMessagePassingMng * | m_parallel_mng = nullptr |
| Integer | m_nproc = 1 |
| Integer | m_myrank = 0 |
| Integer | m_local_size = 0 |
| Integer | m_local_offset = 0 |
| Integer | m_global_size = 0 |
| Integer | m_ghost_size = 0 |
| DistStructInfo | m_matrix_dist_info |
| ITraceMng * | m_trace = nullptr |
Additional Inherited Members | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
| Protected Attributes inherited from Alien::IMatrixImpl | |
| const MultiMatrixImpl * | m_multi_impl |
| Pointer on matrices implementation. | |
| BackEndId | m_backend |
| Backend id. | |
Definition at line 42 of file HCSRMatrix.h.
| typedef SimpleCSRInternal::CSRStructInfo Alien::HCSRMatrix< ValueT >::CSRStructInfo |
Definition at line 51 of file HCSRMatrix.h.
| typedef SYCLInternal::SYCLDistStructInfo Alien::HCSRMatrix< ValueT >::DistStructInfo |
Definition at line 53 of file HCSRMatrix.h.
| typedef HCSRViewT<HCSRMatrix<ValueType> > Alien::HCSRMatrix< ValueT >::HCSRView |
Definition at line 60 of file HCSRMatrix.h.
| typedef ProfileType::IndexType Alien::HCSRMatrix< ValueT >::IndexType |
Definition at line 57 of file HCSRMatrix.h.
| typedef HCSRInternal::MatrixInternal<ValueType> Alien::HCSRMatrix< ValueT >::InternalType |
Definition at line 55 of file HCSRMatrix.h.
| typedef HCSRInternal::MatrixInternal<ValueType> Alien::HCSRMatrix< ValueT >::MatrixInternal |
Definition at line 54 of file HCSRMatrix.h.
| typedef SimpleCSRInternal::CSRStructInfo Alien::HCSRMatrix< ValueT >::ProfileType |
Definition at line 52 of file HCSRMatrix.h.
| typedef BackEnd::tag::hcsr Alien::HCSRMatrix< ValueT >::TagType |
Definition at line 47 of file HCSRMatrix.h.
| typedef ValueT Alien::HCSRMatrix< ValueT >::value_type |
Definition at line 49 of file HCSRMatrix.h.
| typedef ValueT Alien::HCSRMatrix< ValueT >::ValueType |
Definition at line 48 of file HCSRMatrix.h.
| Alien::HCSRMatrix< ValueT >::HCSRMatrix | ( | ) |
Constructeur de la classe
Definition at line 235 of file HCSRMatrixInternal.h.
References Alien::IMatrixImpl::IMatrixImpl().
| Alien::HCSRMatrix< ValueT >::HCSRMatrix | ( | const MultiMatrixImpl * | multi_impl | ) |
Constructeur avec association ? un MultiImpl.
Constructeur de la classe
Definition at line 244 of file HCSRMatrixInternal.h.
References Alien::IMatrixImpl::IMatrixImpl().
|
virtual |
Destructeur de la classe
Definition at line 253 of file HCSRMatrixInternal.h.
| void Alien::HCSRMatrix< ValueT >::allocate | ( | ) |
Definition at line 259 of file HCSRMatrixInternal.h.
| void Alien::HCSRMatrix< ValueT >::allocateDevicePointers | ( | std::size_t | nrows, |
| std::size_t | nnz, | ||
| IndexType ** | rows, | ||
| IndexType ** | ncols, | ||
| IndexType ** | cols, | ||
| ValueType ** | values ) const |
Definition at line 18 of file HCSRMatrix.cc.
| void Alien::HCSRMatrix< ValueT >::copyDevicePointers | ( | std::size_t | nrows, |
| std::size_t | nnz, | ||
| IndexType * | rows, | ||
| IndexType * | ncols, | ||
| IndexType * | cols, | ||
| ValueType * | values ) const |
Definition at line 97 of file HCSRMatrix.cc.
| void Alien::HCSRMatrix< ValueT >::freeCOODevicePointers | ( | int * | dof_uids, |
| int * | rows, | ||
| int * | cols, | ||
| ValueType * | values ) const |
Definition at line 251 of file HCSRMatrix.cc.
| void Alien::HCSRMatrix< ValueT >::freeDevicePointers | ( | IndexType * | ncols, |
| IndexType * | rows, | ||
| IndexType * | cols, | ||
| ValueType * | values ) const |
Definition at line 240 of file HCSRMatrix.cc.
|
inline |
Definition at line 158 of file HCSRMatrix.h.
|
inline |
Definition at line 78 of file HCSRMatrix.h.
|
inline |
Definition at line 80 of file HCSRMatrix.h.
|
inline |
Definition at line 84 of file HCSRMatrix.h.
|
inline |
Definition at line 156 of file HCSRMatrix.h.
|
inline |
Definition at line 154 of file HCSRMatrix.h.
|
inline |
Definition at line 152 of file HCSRMatrix.h.
|
inline |
Definition at line 150 of file HCSRMatrix.h.
|
inline |
Definition at line 86 of file HCSRMatrix.h.
|
inline |
Definition at line 82 of file HCSRMatrix.h.
| HCSRMatrix< ValueT >::HCSRView Alien::HCSRMatrix< ValueT >::hcsrView | ( | BackEnd::Memory::eType | memory, |
| int | nrows, | ||
| int | nnz ) const |
Definition at line 152 of file HCSRMatrix.cc.
| void Alien::HCSRMatrix< ValueT >::initCOODevicePointers | ( | int ** | dof_uids, |
| int ** | rows, | ||
| int ** | cols, | ||
| ValueType ** | values ) const |
Definition at line 160 of file HCSRMatrix.cc.
| void Alien::HCSRMatrix< ValueT >::initDevicePointers | ( | IndexType ** | ncols, |
| IndexType ** | rows, | ||
| IndexType ** | cols, | ||
| ValueType ** | values ) const |
Definition at line 42 of file HCSRMatrix.cc.
|
inline |
Definition at line 165 of file HCSRMatrix.h.
|
inline |
Definition at line 167 of file HCSRMatrix.h.
|
inline |
Definition at line 148 of file HCSRMatrix.h.
|
inline |
Definition at line 107 of file HCSRMatrix.h.
|
inline |
Definition at line 92 of file HCSRMatrix.h.
|
inline |
Definition at line 74 of file HCSRMatrix.h.
|
inlineprivate |
Definition at line 217 of file HCSRMatrix.h.
|
private |
Definition at line 285 of file HCSRMatrix.h.
|
private |
Definition at line 284 of file HCSRMatrix.h.
|
private |
Definition at line 273 of file HCSRMatrix.h.
|
private |
Definition at line 277 of file HCSRMatrix.h.
|
private |
Definition at line 283 of file HCSRMatrix.h.
|
private |
Definition at line 282 of file HCSRMatrix.h.
|
private |
Definition at line 288 of file HCSRMatrix.h.
|
private |
Definition at line 271 of file HCSRMatrix.h.
|
private |
Definition at line 280 of file HCSRMatrix.h.
|
private |
Definition at line 279 of file HCSRMatrix.h.
|
private |
Definition at line 278 of file HCSRMatrix.h.
|
private |
Definition at line 272 of file HCSRMatrix.h.
|
private |
Definition at line 289 of file HCSRMatrix.h.
|
static |
Definition at line 46 of file HCSRMatrix.h.