Classes | |
| class | IsLocal |
Public Types | |
| typedef BackEnd::tag::sycl | TagType |
| typedef ValueT | ValueType |
| typedef ValueT | value_type |
| typedef SYCLInternal::SYCLDistStructInfo | DistStructInfo |
| typedef SYCLInternal::MatrixInternal< ValueType, PKSIZE > | MatrixInternalType |
| typedef BEllPackStructInfo< PKSIZE, int > | ProfileInternalType |
| typedef BEllPackStructInfo< PKSIZE, int > | ProfileType |
| typedef ProfileType::IndexType | IndexType |
| typedef Alien::StdTimer | TimerType |
| typedef TimerType::Sentry | SentryType |
| using | HCSRView = HCSRViewT<SYCLBEllPackMatrix<ValueType>> |
| Public Types inherited from Alien::IMatrixImpl | |
| typedef Arccore::Real | ValueType |
| Type of the values stored in the matrix. | |
Public Member Functions | |
| SYCLBEllPackMatrix () | |
| SYCLBEllPackMatrix (const MultiMatrixImpl *multi_impl) | |
| virtual | ~SYCLBEllPackMatrix () |
| void | setTraceMng (ITraceMng *trace_mng) |
| ProfileType const & | getProfile () const |
| HCSRView | hcsrView (BackEnd::Memory::eType memory, int nrows, int nnz) const |
| ValueType * | getAddressData () |
| ValueType * | data () |
| ValueType const * | getAddressData () const |
| ValueType const * | data () const |
| IMessagePassingMng * | getParallelMng () |
| 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, int block_size=1) |
| SYCLBEllPackMatrix * | cloneTo (const MultiMatrixImpl *multi) const |
| bool | isParallel () const |
| Integer | getLocalSize () const |
| Integer | getLocalOffset () const |
| Integer | getGlobalSize () const |
| Integer | getGhostSize () const |
| Integer | getAllocSize () const |
| Integer | blockSize () const |
| void | setBlockSize (Integer block_size) |
| bool | setMatrixValues (Arccore::Real const *values, bool only_host) |
| void | copy (SYCLBEllPackMatrix const &matrix) |
| void | notifyChanges () |
| void | endUpdate () |
| void | mult (SYCLVector< ValueType > const &x, SYCLVector< ValueType > &y) const |
| void | endDistMult (SYCLVector< ValueType > const &x, SYCLVector< ValueType > &y) const |
| void | addLMult (ValueType alpha, SYCLVector< ValueType > const &x, SYCLVector< ValueType > &y) const |
| void | addUMult (ValueType alpha, SYCLVector< ValueType > const &x, SYCLVector< ValueType > &y) const |
| void | multDiag (SYCLVector< ValueType > const &x, SYCLVector< ValueType > &y) const |
| void | multDiag (SYCLVector< ValueType > &y) const |
| void | computeDiag (SYCLVector< ValueType > &y) const |
| void | multInvDiag (SYCLVector< ValueType > &y) const |
| void | computeInvDiag (SYCLVector< ValueType > &y) const |
| void | scal (SYCLVector< ValueType > const &diag) |
| const DistStructInfo & | getDistStructInfo () const |
| Alien::SimpleCSRInternal::CommProperty::ePolicyType | getSendPolicy () const |
| Alien::SimpleCSRInternal::CommProperty::ePolicyType | getRecvPolicy () const |
| MatrixInternalType * | internal () |
| MatrixInternalType const * | internal () const |
| void | allocateDevicePointers (std::size_t nrows, std::size_t nnz, IndexType **rows, IndexType **ncols, IndexType **cols, ValueType **values) const |
| void | freeDevicePointers (IndexType *rows, IndexType *ncols, IndexType *cols, ValueType *values) const |
| void | copyDevicePointers (std::size_t nrows, std::size_t nnz, IndexType *rows, IndexType *ncols, IndexType *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 constexpr bool | on_host_only = false |
Private Attributes | |
| std::unique_ptr< ProfileInternalType > | m_profilePKSIZE |
| std::unique_ptr< MatrixInternalType > | m_matrixPKSIZE |
| std::unique_ptr< ProfileInternalType > | m_ext_profilePKSIZE |
| int | m_ellpack_size = PKSIZE |
| std::vector< int > | m_block_row_offset |
| std::vector< int > | m_ext_block_row_offset |
| Integer | m_own_block_size = 1 |
| 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 |
| SimpleCSRInternal::CommProperty::ePolicyType | m_send_policy |
| SimpleCSRInternal::CommProperty::ePolicyType | m_recv_policy |
| ITraceMng * | m_trace = nullptr |
Friends | |
| class | SYCLInternal::SYCLBEllPackMatrixMultT< ValueType > |
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 72 of file SYCLBEllPackMatrix.h.
| typedef SYCLInternal::SYCLDistStructInfo Alien::SYCLBEllPackMatrix< ValueT >::DistStructInfo |
Definition at line 82 of file SYCLBEllPackMatrix.h.
| using Alien::SYCLBEllPackMatrix< ValueT >::HCSRView = HCSRViewT<SYCLBEllPackMatrix<ValueType>> |
Definition at line 94 of file SYCLBEllPackMatrix.h.
| typedef ProfileType::IndexType Alien::SYCLBEllPackMatrix< ValueT >::IndexType |
Definition at line 88 of file SYCLBEllPackMatrix.h.
| typedef SYCLInternal::MatrixInternal<ValueType,PKSIZE> Alien::SYCLBEllPackMatrix< ValueT >::MatrixInternalType |
Definition at line 83 of file SYCLBEllPackMatrix.h.
| typedef BEllPackStructInfo<PKSIZE,int> Alien::SYCLBEllPackMatrix< ValueT >::ProfileInternalType |
Definition at line 86 of file SYCLBEllPackMatrix.h.
| typedef BEllPackStructInfo<PKSIZE,int> Alien::SYCLBEllPackMatrix< ValueT >::ProfileType |
Definition at line 87 of file SYCLBEllPackMatrix.h.
| typedef TimerType::Sentry Alien::SYCLBEllPackMatrix< ValueT >::SentryType |
Definition at line 91 of file SYCLBEllPackMatrix.h.
| typedef BackEnd::tag::sycl Alien::SYCLBEllPackMatrix< ValueT >::TagType |
Definition at line 78 of file SYCLBEllPackMatrix.h.
| typedef Alien::StdTimer Alien::SYCLBEllPackMatrix< ValueT >::TimerType |
Definition at line 90 of file SYCLBEllPackMatrix.h.
| typedef ValueT Alien::SYCLBEllPackMatrix< ValueT >::value_type |
Definition at line 80 of file SYCLBEllPackMatrix.h.
| typedef ValueT Alien::SYCLBEllPackMatrix< ValueT >::ValueType |
Definition at line 79 of file SYCLBEllPackMatrix.h.
| Alien::SYCLBEllPackMatrix< ValueT >::SYCLBEllPackMatrix | ( | ) |
Constructeur de la classe
Definition at line 3327 of file SYCLBEllPackMatrix.cc.
References Alien::IMatrixImpl::IMatrixImpl(), and SYCLBEllPackMatrix().
Referenced by SYCLBEllPackMatrix().
| Alien::SYCLBEllPackMatrix< ValueT >::SYCLBEllPackMatrix | ( | const MultiMatrixImpl * | multi_impl | ) |
Constructeur de la classe
Definition at line 3334 of file SYCLBEllPackMatrix.cc.
References Alien::IMatrixImpl::IMatrixImpl().
|
virtual |
Destructeur de la classe
Definition at line 3341 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::addLMult | ( | ValueType | alpha, |
| SYCLVector< ValueType > const & | x, | ||
| SYCLVector< ValueType > & | y ) const |
Definition at line 3577 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::addUMult | ( | ValueType | alpha, |
| SYCLVector< ValueType > const & | x, | ||
| SYCLVector< ValueType > & | y ) const |
Definition at line 3584 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::allocateDevicePointers | ( | std::size_t | nrows, |
| std::size_t | nnz, | ||
| IndexType ** | rows, | ||
| IndexType ** | ncols, | ||
| IndexType ** | cols, | ||
| ValueType ** | values ) const |
Definition at line 3679 of file SYCLBEllPackMatrix.cc.
|
inline |
Definition at line 151 of file SYCLBEllPackMatrix.h.
| SYCLBEllPackMatrix< ValueT > * Alien::SYCLBEllPackMatrix< ValueT >::cloneTo | ( | const MultiMatrixImpl * | multi | ) | const |
Definition at line 3501 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::computeDiag | ( | SYCLVector< ValueType > & | y | ) | const |
Definition at line 3603 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::computeInvDiag | ( | SYCLVector< ValueType > & | y | ) | const |
Definition at line 3621 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::copy | ( | SYCLBEllPackMatrix< ValueT > const & | matrix | ) |
Definition at line 3640 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::copyDevicePointers | ( | std::size_t | nrows, |
| std::size_t | nnz, | ||
| IndexType * | rows, | ||
| IndexType * | ncols, | ||
| IndexType * | cols, | ||
| ValueType * | values ) const |
Definition at line 3715 of file SYCLBEllPackMatrix.cc.
| ValueT * Alien::SYCLBEllPackMatrix< ValueT >::data | ( | ) |
Definition at line 3559 of file SYCLBEllPackMatrix.cc.
| ValueT const * Alien::SYCLBEllPackMatrix< ValueT >::data | ( | ) | const |
Definition at line 3547 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::endDistMult | ( | SYCLVector< ValueType > const & | x, |
| SYCLVector< ValueType > & | y ) const |
Definition at line 3571 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::endUpdate | ( | ) |
Definition at line 3532 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::freeDevicePointers | ( | IndexType * | rows, |
| IndexType * | ncols, | ||
| IndexType * | cols, | ||
| ValueType * | values ) const |
Definition at line 3702 of file SYCLBEllPackMatrix.cc.
| ValueT * Alien::SYCLBEllPackMatrix< ValueT >::getAddressData | ( | ) |
Definition at line 3553 of file SYCLBEllPackMatrix.cc.
| ValueT const * Alien::SYCLBEllPackMatrix< ValueT >::getAddressData | ( | ) | const |
Definition at line 3541 of file SYCLBEllPackMatrix.cc.
|
inline |
Definition at line 149 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 196 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 147 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 145 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 143 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 141 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 122 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 109 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 203 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 198 of file SYCLBEllPackMatrix.h.
| SYCLBEllPackMatrix< ValueT >::HCSRView Alien::SYCLBEllPackMatrix< ValueT >::hcsrView | ( | BackEnd::Memory::eType | memory, |
| int | nrows, | ||
| int | nnz ) const |
Definition at line 3729 of file SYCLBEllPackMatrix.cc.
| bool Alien::SYCLBEllPackMatrix< ValueT >::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, | ||
| int | block_size = 1 ) |
Definition at line 3349 of file SYCLBEllPackMatrix.cc.
|
inline |
Definition at line 208 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 210 of file SYCLBEllPackMatrix.h.
|
inline |
Definition at line 139 of file SYCLBEllPackMatrix.h.
| void Alien::SYCLBEllPackMatrix< ValueT >::mult | ( | SYCLVector< ValueType > const & | x, |
| SYCLVector< ValueType > & | y ) const |
Definition at line 3565 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::multDiag | ( | SYCLVector< ValueType > & | y | ) | const |
Definition at line 3597 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::multDiag | ( | SYCLVector< ValueType > const & | x, |
| SYCLVector< ValueType > & | y ) const |
Definition at line 3591 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::multInvDiag | ( | SYCLVector< ValueType > & | y | ) | const |
Definition at line 3615 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::notifyChanges | ( | ) |
Definition at line 3525 of file SYCLBEllPackMatrix.cc.
| void Alien::SYCLBEllPackMatrix< ValueT >::scal | ( | SYCLVector< ValueType > const & | diag | ) |
Definition at line 3633 of file SYCLBEllPackMatrix.cc.
|
inline |
Definition at line 165 of file SYCLBEllPackMatrix.h.
| bool Alien::SYCLBEllPackMatrix< ValueT >::setMatrixValues | ( | Arccore::Real const * | values, |
| bool | only_host ) |
Definition at line 3519 of file SYCLBEllPackMatrix.cc.
|
inline |
Definition at line 107 of file SYCLBEllPackMatrix.h.
|
friend |
Definition at line 277 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 257 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 256 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 258 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 254 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 270 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 269 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 262 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 268 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 267 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 274 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 252 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 265 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 264 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 260 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 263 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 251 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 276 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 275 of file SYCLBEllPackMatrix.h.
|
private |
Definition at line 277 of file SYCLBEllPackMatrix.h.
|
staticconstexpr |
Definition at line 76 of file SYCLBEllPackMatrix.h.