Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CNC_MatrixCRS< T > Class Template Reference
Inheritance diagram for Arcane::CNC_MatrixCRS< T >:
Collaboration diagram for Arcane::CNC_MatrixCRS< T >:

Public Types

typedef CNC_Vector< T > CoeffArray
Public Types inherited from Arcane::CNC_MatrixPatternCRS
enum  { NO_INDEX = ~0 }
typedef CNC_Vector< long > IndexArray

Public Member Functions

void mult (const T *x, T *y) const
void mult (const CNC_Vector< T > &x, CNC_Vector< T > &y) const
long mem_usage () const
void gpu_allocate ()
void gpu_upload ()
void gpu_deallocate ()
void gpu_mult (const void *x, void *y, unsigned int vec_size)
void print (void)
Public Member Functions inherited from Arcane::CNC_MatrixPatternCRS
void clear ()
long m () const
long n () const
long nnz () const
long row_nnz (long i) const
long mem_usage () const

Public Attributes

CoeffArray a
CoeffArray diag
bool separate_diag
void * gpu_redundant_rp_
void * gpu_ci_
void * gpu_mat_
Public Attributes inherited from Arcane::CNC_MatrixPatternCRS
IndexArray colind
IndexArray rowptr
long N
bool symmetric_storage

Detailed Description

template<class T>
class Arcane::CNC_MatrixCRS< T >

Definition at line 113 of file AlephCudaMatrixCrs.h.

Member Typedef Documentation

◆ CoeffArray

template<class T>
typedef CNC_Vector<T> Arcane::CNC_MatrixCRS< T >::CoeffArray

Definition at line 117 of file AlephCudaMatrixCrs.h.

Constructor & Destructor Documentation

◆ CNC_MatrixCRS()

template<class T>
Arcane::CNC_MatrixCRS< T >::CNC_MatrixCRS ( )
inline

Definition at line 118 of file AlephCudaMatrixCrs.h.

Member Function Documentation

◆ gpu_allocate()

template<class T>
void Arcane::CNC_MatrixCRS< T >::gpu_allocate ( )
inline

Definition at line 196 of file AlephCudaMatrixCrs.h.

◆ gpu_deallocate()

template<class T>
void Arcane::CNC_MatrixCRS< T >::gpu_deallocate ( )
inline

Definition at line 242 of file AlephCudaMatrixCrs.h.

◆ gpu_mult()

template<class T>
void Arcane::CNC_MatrixCRS< T >::gpu_mult ( const void * x,
void * y,
unsigned int vec_size )
inline

Definition at line 249 of file AlephCudaMatrixCrs.h.

◆ gpu_upload()

template<class T>
void Arcane::CNC_MatrixCRS< T >::gpu_upload ( )
inline

Definition at line 219 of file AlephCudaMatrixCrs.h.

◆ mem_usage()

template<class T>
long Arcane::CNC_MatrixCRS< T >::mem_usage ( ) const
inline

Definition at line 187 of file AlephCudaMatrixCrs.h.

◆ mult() [1/2]

template<class T>
void Arcane::CNC_MatrixCRS< T >::mult ( const CNC_Vector< T > & x,
CNC_Vector< T > & y ) const
inline

Definition at line 182 of file AlephCudaMatrixCrs.h.

◆ mult() [2/2]

template<class T>
void Arcane::CNC_MatrixCRS< T >::mult ( const T * x,
T * y ) const
inline

Definition at line 123 of file AlephCudaMatrixCrs.h.

◆ print()

template<class T>
void Arcane::CNC_MatrixCRS< T >::print ( void )
inline

Definition at line 257 of file AlephCudaMatrixCrs.h.

Member Data Documentation

◆ a

template<class T>
CoeffArray Arcane::CNC_MatrixCRS< T >::a

Definition at line 282 of file AlephCudaMatrixCrs.h.

◆ diag

template<class T>
CoeffArray Arcane::CNC_MatrixCRS< T >::diag

Definition at line 283 of file AlephCudaMatrixCrs.h.

◆ gpu_ci_

template<class T>
void* Arcane::CNC_MatrixCRS< T >::gpu_ci_

Definition at line 287 of file AlephCudaMatrixCrs.h.

◆ gpu_mat_

template<class T>
void* Arcane::CNC_MatrixCRS< T >::gpu_mat_

Definition at line 288 of file AlephCudaMatrixCrs.h.

◆ gpu_redundant_rp_

template<class T>
void* Arcane::CNC_MatrixCRS< T >::gpu_redundant_rp_

Definition at line 286 of file AlephCudaMatrixCrs.h.

◆ separate_diag

template<class T>
bool Arcane::CNC_MatrixCRS< T >::separate_diag

Definition at line 284 of file AlephCudaMatrixCrs.h.


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