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

Classes

class  Impl
class  View
class  ConstView
class  HostView

Public Types

using ResetFlag = ProfiledMatrixOptions::ResetFlag
using MatrixElement = MatrixElementT<ProfiledMatrixBuilderT<ValueT,IndexT>>
typedef ValueT ValueType
using ResetFlag = ProfiledMatrixOptions::ResetFlag
using MatrixElement = MatrixElementT<ProfiledMatrixBuilderT<ValueT,IndexT>>
typedef ValueT ValueType

Public Member Functions

 ProfiledMatrixBuilderT (IMatrix &matrix, ResetFlag reset_values)
 ProfiledMatrixBuilderT (const ProfiledMatrixBuilderT &)=delete
 ProfiledMatrixBuilderT (ProfiledMatrixBuilderT &&)=delete
ProfiledMatrixBuilderT & operator= (const ProfiledMatrixBuilderT &)=delete
ProfiledMatrixBuilderT & operator= (ProfiledMatrixBuilderT &&)=delete
MatrixElement operator() (const Integer iIndex, const Integer jIndex)
View view (SYCLControlGroupHandler &cgh)
ConstView constView (SYCLControlGroupHandler &cgh) const
HostView hostView () const
void finalize ()
 ProfiledMatrixBuilderT (IMatrix &matrix, ResetFlag reset_values)
 ProfiledMatrixBuilderT (const ProfiledMatrixBuilderT &)=delete
 ProfiledMatrixBuilderT (ProfiledMatrixBuilderT &&)=delete
ProfiledMatrixBuilderT & operator= (const ProfiledMatrixBuilderT &)=delete
ProfiledMatrixBuilderT & operator= (ProfiledMatrixBuilderT &&)=delete
MatrixElement operator() (const Integer iIndex, const Integer jIndex)
View view (SYCLControlGroupHandler &cgh)
ConstView constView (SYCLControlGroupHandler &cgh) const
HostView hostView () const
void finalize ()

Protected Member Functions

IndexT entryIndex (IndexT row, IndexT col) const

Private Member Functions

bool isLocal (Integer jIndex) const
void _startTimer ()
void _stopTimer ()
bool isLocal (Integer jIndex) const
void _startTimer ()
void _stopTimer ()

Private Attributes

IMatrixm_matrix
HCSRMatrix< ValueType > * m_matrix_impl
std::unique_ptr< Implm_impl
Integer m_local_offset = 0
Integer m_local_size = 0
Integer m_next_offset = 0
ConstArrayView< Integer > m_row_starts
ConstArrayView< Integer > m_cols
ConstArrayView< Integer > m_local_row_size
ArrayView< ValueType > m_values
bool m_finalized = false

Detailed Description

template<typename ValueT, typename IndexT>
class Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >

Definition at line 26 of file MatrixAccessor.h.

Member Typedef Documentation

◆ MatrixElement [1/2]

template<typename ValueT, typename IndexT>
using Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::MatrixElement = MatrixElementT<ProfiledMatrixBuilderT<ValueT,IndexT>>

Definition at line 32 of file MatrixAccessor.h.

◆ MatrixElement [2/2]

template<typename ValueT, typename IndexT>
using Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::MatrixElement = MatrixElementT<ProfiledMatrixBuilderT<ValueT,IndexT>>

Definition at line 32 of file ProfiledMatrixBuilderT.h.

◆ ResetFlag [1/2]

template<typename ValueT, typename IndexT>
using Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::ResetFlag = ProfiledMatrixOptions::ResetFlag

Definition at line 29 of file MatrixAccessor.h.

◆ ResetFlag [2/2]

template<typename ValueT, typename IndexT>
using Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::ResetFlag = ProfiledMatrixOptions::ResetFlag

Definition at line 29 of file ProfiledMatrixBuilderT.h.

◆ ValueType [1/2]

template<typename ValueT, typename IndexT>
typedef ValueT Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::ValueType

Definition at line 34 of file MatrixAccessor.h.

◆ ValueType [2/2]

template<typename ValueT, typename IndexT>
typedef ValueT Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::ValueType

Definition at line 34 of file ProfiledMatrixBuilderT.h.

Constructor & Destructor Documentation

◆ ProfiledMatrixBuilderT()

template<typename ValueT, typename IndexT>
Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::ProfiledMatrixBuilderT ( IMatrix & matrix,
ResetFlag reset_values )

Definition at line 53 of file MatrixAccessorT.h.

◆ ~ProfiledMatrixBuilderT()

template<typename ValueT, typename IndexT>
Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::~ProfiledMatrixBuilderT ( )
virtual

Definition at line 79 of file MatrixAccessorT.h.

Member Function Documentation

◆ _startTimer() [1/2]

template<typename ValueT, typename IndexT>
void Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::_startTimer ( )
inlineprivate

Definition at line 75 of file MatrixAccessor.h.

◆ _startTimer() [2/2]

template<typename ValueT, typename IndexT>
void Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::_startTimer ( )
inlineprivate

Definition at line 75 of file ProfiledMatrixBuilderT.h.

◆ _stopTimer() [1/2]

template<typename ValueT, typename IndexT>
void Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::_stopTimer ( )
inlineprivate

Definition at line 76 of file MatrixAccessor.h.

◆ _stopTimer() [2/2]

template<typename ValueT, typename IndexT>
void Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::_stopTimer ( )
inlineprivate

Definition at line 76 of file ProfiledMatrixBuilderT.h.

◆ constView()

template<typename ValueT, typename IndexT>
ProfiledMatrixBuilderT< ValueT, IndexT >::ConstView Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::constView ( SYCLControlGroupHandler & cgh) const

Definition at line 216 of file MatrixAccessorT.h.

◆ entryIndex()

template<typename ValueT, typename IndexT>
IndexT Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::entryIndex ( IndexT row,
IndexT col ) const
inlineprotected

Definition at line 80 of file ProfiledMatrixBuilderT.h.

◆ finalize()

template<typename ValueT, typename IndexT>
void Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::finalize ( )

Definition at line 89 of file MatrixAccessorT.h.

◆ hostView()

template<typename ValueT, typename IndexT>
ProfiledMatrixBuilderT< ValueT, IndexT >::HostView Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::hostView ( ) const

Definition at line 224 of file MatrixAccessorT.h.

◆ isLocal() [1/2]

template<typename ValueT, typename IndexT>
bool Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::isLocal ( Integer jIndex) const
inlineprivate

Definition at line 70 of file MatrixAccessor.h.

◆ isLocal() [2/2]

template<typename ValueT, typename IndexT>
bool Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::isLocal ( Integer jIndex) const
inlineprivate

Definition at line 70 of file ProfiledMatrixBuilderT.h.

◆ operator()() [1/2]

template<typename ValueT, typename IndexT>
MatrixElement Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::operator() ( const Integer iIndex,
const Integer jIndex )
inline

Definition at line 56 of file MatrixAccessor.h.

◆ operator()() [2/2]

template<typename ValueT, typename IndexT>
MatrixElement Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::operator() ( const Integer iIndex,
const Integer jIndex )
inline

Definition at line 56 of file ProfiledMatrixBuilderT.h.

◆ view()

template<typename ValueT, typename IndexT>
ProfiledMatrixBuilderT< ValueT, IndexT >::View Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::view ( SYCLControlGroupHandler & cgh)

Definition at line 208 of file MatrixAccessorT.h.

Member Data Documentation

◆ m_cols

template<typename ValueT, typename IndexT>
ConstArrayView< Integer > Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_cols
private

Definition at line 87 of file MatrixAccessor.h.

◆ m_finalized

template<typename ValueT, typename IndexT>
bool Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_finalized = false
private

Definition at line 90 of file MatrixAccessor.h.

◆ m_impl

template<typename ValueT, typename IndexT>
std::unique_ptr< Impl > Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_impl
private

Definition at line 81 of file MatrixAccessor.h.

◆ m_local_offset

template<typename ValueT, typename IndexT>
Integer Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_local_offset = 0
private

Definition at line 83 of file MatrixAccessor.h.

◆ m_local_row_size

template<typename ValueT, typename IndexT>
ConstArrayView< Integer > Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_local_row_size
private

Definition at line 88 of file MatrixAccessor.h.

◆ m_local_size

template<typename ValueT, typename IndexT>
Integer Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_local_size = 0
private

Definition at line 84 of file MatrixAccessor.h.

◆ m_matrix

template<typename ValueT, typename IndexT>
IMatrix & Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_matrix
private

Definition at line 79 of file MatrixAccessor.h.

◆ m_matrix_impl

template<typename ValueT, typename IndexT>
HCSRMatrix< ValueType > * Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_matrix_impl
private

Definition at line 80 of file MatrixAccessor.h.

◆ m_next_offset

template<typename ValueT, typename IndexT>
Integer Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_next_offset = 0
private

Definition at line 85 of file MatrixAccessor.h.

◆ m_row_starts

template<typename ValueT, typename IndexT>
ConstArrayView< Integer > Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_row_starts
private

Definition at line 86 of file MatrixAccessor.h.

◆ m_values

template<typename ValueT, typename IndexT>
ArrayView< ValueType > Alien::SYCL::ProfiledMatrixBuilderT< ValueT, IndexT >::m_values
private

Definition at line 89 of file MatrixAccessor.h.


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