|
QUDA
0.9.0
|
clover_wrapper is an internal class that is used to wrap instances of colorspinor accessors, currying in a specifc location and chirality on the field. The operator() accessors in clover-field accessors return instances to this class, allowing us to then use operator overloading upon this class to interact with the HMatrix class. As a result we can include clover-field accessors directly in HMatrix expressions in kernels without having to declare temporaries with explicit calls to the load/save methods in the clover-field accessors. More...
#include <clover_field_order.h>
Public Member Functions | |
| __device__ __host__ | clover_wrapper (T &field, int x_cb, int parity, int chirality) |
| clover_wrapper constructor More... | |
| template<typename C > | |
| __device__ __host__ void | operator= (const C &a) |
| Assignment operator with H matrix instance as input. More... | |
Public Attributes | |
| T & | field |
| const int | x_cb |
| const int | parity |
| const int | chirality |
clover_wrapper is an internal class that is used to wrap instances of colorspinor accessors, currying in a specifc location and chirality on the field. The operator() accessors in clover-field accessors return instances to this class, allowing us to then use operator overloading upon this class to interact with the HMatrix class. As a result we can include clover-field accessors directly in HMatrix expressions in kernels without having to declare temporaries with explicit calls to the load/save methods in the clover-field accessors.
Definition at line 37 of file clover_field_order.h.
|
inline |
clover_wrapper constructor
| [in] | a | clover field accessor we are wrapping |
| [in] | x_cb | checkerboarded space-time index we are accessing |
| [in] | parity | Parity we are accessing |
| [in] | chirality | Chirality we are accessing |
Definition at line 50 of file clover_field_order.h.
|
inline |
Assignment operator with H matrix instance as input.
| [in] | C | ColorSpinor we want to store in this accessor |
Definition at line 58 of file clover_field_order.h.
References a, quda::clover_wrapper< Float, T >::chirality, quda::clover_wrapper< Float, T >::field, quda::clover_wrapper< Float, T >::parity, and quda::clover_wrapper< Float, T >::x_cb.
| const int quda::clover_wrapper< Float, T >::chirality |
Definition at line 41 of file clover_field_order.h.
Referenced by quda::clover_wrapper< Float, T >::operator=().
| T& quda::clover_wrapper< Float, T >::field |
Definition at line 38 of file clover_field_order.h.
Referenced by quda::clover_wrapper< Float, T >::operator=().
| const int quda::clover_wrapper< Float, T >::parity |
Definition at line 40 of file clover_field_order.h.
Referenced by quda::clover_wrapper< Float, T >::operator=().
| const int quda::clover_wrapper< Float, T >::x_cb |
Definition at line 39 of file clover_field_order.h.
Referenced by quda::clover_wrapper< Float, T >::operator=().
1.8.14