QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
quda::HMatrix_wrapper< T, Hmat > Struct Template Reference

wrapper class that enables us to write to Hmatrices in packed format More...

#include <quda_matrix.h>

Public Member Functions

__device__ __host__ HMatrix_wrapper (Hmat &mat, int i, int j, int idx)
 
__device__ __host__ void operator= (const complex< T > &a)
 
__device__ __host__ void operator+= (const complex< T > &a)
 

Public Attributes

Hmat & mat
 
const int i
 
const int j
 
const int idx
 

Detailed Description

template<typename T, typename Hmat>
struct quda::HMatrix_wrapper< T, Hmat >

wrapper class that enables us to write to Hmatrices in packed format

Template Parameters
TUnderlying real storage type
HmatThe type of HMatrix we are wrapping

Definition at line 249 of file quda_matrix.h.

Constructor & Destructor Documentation

◆ HMatrix_wrapper()

template<typename T, typename Hmat>
__device__ __host__ quda::HMatrix_wrapper< T, Hmat >::HMatrix_wrapper ( Hmat &  mat,
int  i,
int  j,
int  idx 
)
inline

Definition at line 255 of file quda_matrix.h.

Member Function Documentation

◆ operator+=()

template<typename T, typename Hmat>
__device__ __host__ void quda::HMatrix_wrapper< T, Hmat >::operator+= ( const complex< T > &  a)
inline

Definition at line 269 of file quda_matrix.h.

◆ operator=()

template<typename T, typename Hmat>
__device__ __host__ void quda::HMatrix_wrapper< T, Hmat >::operator= ( const complex< T > &  a)
inline

Definition at line 257 of file quda_matrix.h.

Member Data Documentation

◆ i

template<typename T, typename Hmat>
const int quda::HMatrix_wrapper< T, Hmat >::i

Definition at line 251 of file quda_matrix.h.

◆ idx

template<typename T, typename Hmat>
const int quda::HMatrix_wrapper< T, Hmat >::idx

Definition at line 253 of file quda_matrix.h.

◆ j

template<typename T, typename Hmat>
const int quda::HMatrix_wrapper< T, Hmat >::j

Definition at line 252 of file quda_matrix.h.

◆ mat

template<typename T, typename Hmat>
Hmat& quda::HMatrix_wrapper< T, Hmat >::mat

Definition at line 250 of file quda_matrix.h.


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