QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
quda::matrix_field< T, n > Struct Template Reference

#include <matrix_field.h>

Public Member Functions

 matrix_field (T *field, int volume_cb)
 
__device__ __host__ void load (Matrix< T, n > &A, int x_cb, int parity) const
 
__device__ __host__ void save (const Matrix< T, n > &A, int x_cb, int parity)
 

Public Attributes

T * field
 
int volume_cb
 

Detailed Description

template<typename T, int n>
struct quda::matrix_field< T, n >

Definition at line 21 of file matrix_field.h.

Constructor & Destructor Documentation

◆ matrix_field()

template<typename T , int n>
quda::matrix_field< T, n >::matrix_field ( T *  field,
int  volume_cb 
)
inline

Definition at line 25 of file matrix_field.h.

Member Function Documentation

◆ load()

template<typename T , int n>
__device__ __host__ void quda::matrix_field< T, n >::load ( Matrix< T, n > &  A,
int  x_cb,
int  parity 
) const
inline

Definition at line 27 of file matrix_field.h.

◆ save()

template<typename T , int n>
__device__ __host__ void quda::matrix_field< T, n >::save ( const Matrix< T, n > &  A,
int  x_cb,
int  parity 
)
inline

Definition at line 41 of file matrix_field.h.

Member Data Documentation

◆ field

template<typename T , int n>
T* quda::matrix_field< T, n >::field

Definition at line 22 of file matrix_field.h.

◆ volume_cb

template<typename T , int n>
int quda::matrix_field< T, n >::volume_cb

Definition at line 23 of file matrix_field.h.


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