Public Types | |
| typedef ValueT | ValueType |
| typedef Integer | IndexType |
| typedef HCSRInternal::VectorInternal< ValueType > | InternalType |
| Public Types inherited from Alien::IVectorImpl | |
| typedef Arccore::Real | ValueType |
| Type of the values stored in the vectors. | |
Public Member Functions | |
| HCSRVector () | |
| Constructeur sans association ? un MultiImpl. | |
| HCSRVector (const MultiVectorImpl *multi_impl) | |
| Constructeur avec association ? un MultiImpl. | |
| void | allocate () |
| void | resize (Integer alloc_size) |
| void | clear () override |
| Wipe out internal data. | |
| void | init (const VectorDistribution &dist, const bool need_allocate) override |
| Initialize vector datas. | |
| const VectorDistribution & | distribution () const override |
| Get the distribution of the vector. | |
| Arccore::Integer | scalarizedLocalSize () const override |
| Get the "scalarized" local size. | |
| Arccore::Integer | scalarizedGlobalSize () const override |
| Get the "scalarized" global size. | |
| Arccore::Integer | scalarizedOffset () const override |
| Get the "scalarized" offset. | |
| Arccore::Integer | allocSize () const |
| Arccore::Integer | getAllocSize () const |
| ValueType const * | dataPtr () const |
| void | initDevicePointers (int **rows, ValueType **values) const |
| void | freeDevicePointers (int *rows, ValueType *values) const |
| void | copyValuesTo (ValueType *values) const |
| InternalType * | internal () |
| InternalType const * | internal () const |
| Public Member Functions inherited from Alien::IVectorImpl | |
| IVectorImpl (const MultiVectorImpl *multi_impl, BackEndId backend="") | |
| Constructor. | |
| virtual | ~IVectorImpl () override |
| Free resources. | |
| IVectorImpl (const IVectorImpl &src)=delete | |
| IVectorImpl (IVectorImpl &&src)=delete | |
| IVectorImpl & | operator= (const IVectorImpl &src)=delete |
| IVectorImpl & | operator= (IVectorImpl &&src)=delete |
| virtual const ISpace & | space () const |
| Get the vector space. | |
| virtual BackEndId | backend () const |
| virtual const Block * | block () const |
| Get block datas of the vector. | |
| virtual const VBlock * | vblock () const |
| Get block datas of the vector. | |
| const MultiVectorImpl * | 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 |
Private Attributes | |
| Alien::BackEnd::Memory::eType | m_mem_kind = Alien::BackEnd::Memory::Device |
| std::unique_ptr< InternalType > | m_internal |
| Integer | m_local_size = 0 |
| VectorDistribution | m_own_distribution |
Additional Inherited Members | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
| Protected Attributes inherited from Alien::IVectorImpl | |
| const MultiVectorImpl * | m_multi_impl |
| Pointer on vectors implementations. | |
| BackEndId | m_backend |
| Backend id. | |
| VBlockSizes * | m_vblock_sizes |
| Variable blocks size data. | |
Definition at line 32 of file HCSRVector.h.
| typedef Integer Alien::HCSRVector< ValueT >::IndexType |
Definition at line 36 of file HCSRVector.h.
| typedef HCSRInternal::VectorInternal<ValueType> Alien::HCSRVector< ValueT >::InternalType |
Definition at line 37 of file HCSRVector.h.
| typedef ValueT Alien::HCSRVector< ValueT >::ValueType |
Definition at line 35 of file HCSRVector.h.
| Alien::HCSRVector< ValueT >::HCSRVector | ( | ) |
Constructeur sans association ? un MultiImpl.
Definition at line 111 of file HCSRVectorInternal.h.
References Alien::IVectorImpl::IVectorImpl().
| Alien::HCSRVector< ValueT >::HCSRVector | ( | const MultiVectorImpl * | multi_impl | ) |
Constructeur avec association ? un MultiImpl.
Definition at line 118 of file HCSRVectorInternal.h.
References Alien::IVectorImpl::IVectorImpl().
| void Alien::HCSRVector< ValueT >::allocate | ( | ) |
Definition at line 125 of file HCSRVectorInternal.h.
|
inline |
Definition at line 89 of file HCSRVector.h.
|
inlineoverridevirtual |
Wipe out internal data.
Reimplemented from Alien::IVectorImpl.
Definition at line 49 of file HCSRVector.h.
| void Alien::HCSRVector< ValueT >::copyValuesTo | ( | ValueType * | values | ) | const |
Definition at line 47 of file HCSRVector.cc.
| HCSRVector< ValueT >::ValueType const * Alien::HCSRVector< ValueT >::dataPtr | ( | ) | const |
Definition at line 18 of file HCSRVector.cc.
|
inlineoverridevirtual |
Get the distribution of the vector.
Reimplemented from Alien::IVectorImpl.
Definition at line 57 of file HCSRVector.h.
| void Alien::HCSRVector< ValueT >::freeDevicePointers | ( | int * | rows, |
| ValueType * | values ) const |
Definition at line 103 of file HCSRVector.cc.
|
inline |
Definition at line 93 of file HCSRVector.h.
|
overridevirtual |
Initialize vector datas.
| [in] | dist | The vector distribution |
| [in] | do_alloc | Allocate memory or not |
Reimplemented from Alien::IVectorImpl.
Definition at line 187 of file HCSRVectorInternal.h.
References Alien::VectorDistribution::localSize(), Alien::IVectorImpl::m_multi_impl, and scalarizedLocalSize().
| void Alien::HCSRVector< ValueT >::initDevicePointers | ( | int ** | rows, |
| ValueType ** | values ) const |
Definition at line 71 of file HCSRVector.cc.
|
inline |
Definition at line 103 of file HCSRVector.h.
|
inline |
Definition at line 107 of file HCSRVector.h.
| void Alien::HCSRVector< ValueT >::resize | ( | Integer | alloc_size | ) |
Definition at line 131 of file HCSRVectorInternal.h.
|
inlineoverridevirtual |
Get the "scalarized" global size.
Reimplemented from Alien::IVectorImpl.
Definition at line 73 of file HCSRVector.h.
|
inlineoverridevirtual |
Get the "scalarized" local size.
Reimplemented from Alien::IVectorImpl.
Definition at line 65 of file HCSRVector.h.
Referenced by init().
|
inlineoverridevirtual |
Get the "scalarized" offset.
Reimplemented from Alien::IVectorImpl.
Definition at line 81 of file HCSRVector.h.
|
private |
Definition at line 113 of file HCSRVector.h.
|
private |
Definition at line 114 of file HCSRVector.h.
|
private |
Definition at line 112 of file HCSRVector.h.
|
private |
Definition at line 115 of file HCSRVector.h.