Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
HCSRtoSYCLMatrixConverter Class Reference

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 HCSRMatrix< 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

Detailed Description

Definition at line 28 of file HCSRtoSYCLMatrixConverter.cc.

Constructor & Destructor Documentation

◆ HCSRtoSYCLMatrixConverter()

HCSRtoSYCLMatrixConverter::HCSRtoSYCLMatrixConverter ( )

Definition at line 46 of file HCSRtoSYCLMatrixConverter.cc.

◆ ~HCSRtoSYCLMatrixConverter()

virtual HCSRtoSYCLMatrixConverter::~HCSRtoSYCLMatrixConverter ( )
inlinevirtual

Definition at line 32 of file HCSRtoSYCLMatrixConverter.cc.

Member Function Documentation

◆ _build()

void HCSRtoSYCLMatrixConverter::_build ( const HCSRMatrix< Real > & sourceImpl,
SYCLBEllPackMatrix< Real > & targetImpl ) const

Definition at line 66 of file HCSRtoSYCLMatrixConverter.cc.

◆ convert()

void HCSRtoSYCLMatrixConverter::convert ( const IMatrixImpl * sourceImpl,
IMatrixImpl * targetImpl ) const
virtual

Convert a matrix from one format to another.

Parameters
[in]sourceImplImplementation of the source matrix
[in,out]targetImplImplementation of the target matrix

Implements Alien::IMatrixConverter.

Definition at line 53 of file HCSRtoSYCLMatrixConverter.cc.

References Alien::IMatrixConverter::cast(), sourceBackend(), and targetBackend().

◆ sourceBackend()

BackEndId HCSRtoSYCLMatrixConverter::sourceBackend ( ) const
inlinevirtual

Get the source backend id.

Returns
The source backend id

Implements Alien::IMatrixConverter.

Definition at line 35 of file HCSRtoSYCLMatrixConverter.cc.

Referenced by convert().

◆ targetBackend()

BackEndId HCSRtoSYCLMatrixConverter::targetBackend ( ) const
inlinevirtual

Get the target backend id.

Returns
The target backend id

Implements Alien::IMatrixConverter.

Definition at line 39 of file HCSRtoSYCLMatrixConverter.cc.

Referenced by convert().


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