Public Member Functions | |
| BackEndId | sourceBackend () const |
| Get the source backend id. | |
| BackEndId | targetBackend () const |
| Get the target backend id. | |
| void | convert (const IMatrixImpl *sourceImpl, IMatrixImpl *targetImpl) const |
| Convert a matrix from one format to another. | |
| void | _build (const SimpleCSRMatrix< Real > &sourceImpl, SYCLBEllPackMatrix< Real > &targetImpl) const |
| Public Member Functions inherited from Alien::IMatrixConverter | |
| virtual | ~IMatrixConverter () |
| Free resources. | |
| 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 |
Additional Inherited Members | |
| Public Types inherited from Alien::IMatrixConverter | |
| typedef Alien::IMatrixImpl | IMatrixImpl |
| Type of matrix implementation. | |
| typedef Alien::BackEndId | BackEndId |
| Type of matrix backend. | |
| Static Public Member Functions inherited from Alien::IMatrixConverter | |
| template<typename T> | |
| static T & | cast (IMatrixImpl *impl, BackEndId backend) |
| Cast a matrix implementation in its actual type. | |
| template<typename T> | |
| static const T & | cast (const IMatrixImpl *impl, BackEndId backend) |
| Const cast a matrix implementation in its actual type. | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
Definition at line 26 of file SimpleCSRtoSYCLMatrixConverter.cc.
| SimpleCSRtoSYCLMatrixConverter::SimpleCSRtoSYCLMatrixConverter | ( | ) |
Definition at line 44 of file SimpleCSRtoSYCLMatrixConverter.cc.
|
inlinevirtual |
Definition at line 30 of file SimpleCSRtoSYCLMatrixConverter.cc.
| void SimpleCSRtoSYCLMatrixConverter::_build | ( | const SimpleCSRMatrix< Real > & | sourceImpl, |
| SYCLBEllPackMatrix< Real > & | targetImpl ) const |
Definition at line 64 of file SimpleCSRtoSYCLMatrixConverter.cc.
|
virtual |
Convert a matrix from one format to another.
| [in] | sourceImpl | Implementation of the source matrix |
| [in,out] | targetImpl | Implementation of the target matrix |
Implements Alien::IMatrixConverter.
Definition at line 51 of file SimpleCSRtoSYCLMatrixConverter.cc.
References Alien::IMatrixConverter::cast(), sourceBackend(), and targetBackend().
|
inlinevirtual |
Get the source backend id.
Implements Alien::IMatrixConverter.
Definition at line 33 of file SimpleCSRtoSYCLMatrixConverter.cc.
Referenced by convert().
|
inlinevirtual |
Get the target backend id.
Implements Alien::IMatrixConverter.
Definition at line 37 of file SimpleCSRtoSYCLMatrixConverter.cc.
Referenced by convert().