QUDA
v1.1.0
A library for QCD on GPUs
|
#include <quda_matrix.h>
Public Member Functions | |
__device__ constexpr __host__ int | size () const |
__device__ __host__ | Matrix () |
__device__ __host__ | Matrix (const Matrix< T, N > &a) |
template<class U > | |
__device__ __host__ | Matrix (const Matrix< U, N > &a) |
__device__ __host__ | Matrix (const T data_[]) |
__device__ __host__ | Matrix (const HMatrix< real, N > &a) |
__device__ __host__ T const & | operator() (int i, int j) const |
__device__ __host__ T & | operator() (int i, int j) |
__device__ __host__ T const & | operator() (int i) const |
__device__ __host__ T & | operator() (int i) |
template<class U > | |
__device__ __host__ void | operator= (const Matrix< U, N > &b) |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_ghost_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_ghost_wrapper< real, S > &s) |
__device__ __host__ real | L1 () |
Compute the matrix L1 norm - this is the maximum of the absolute column sums. More... | |
__device__ __host__ real | L2 () |
Compute the matrix L2 norm. We actually compute the Frobenius norm which is an upper bound on the L2 norm. More... | |
__device__ __host__ real | Linf () |
Compute the matrix Linfinity norm - this is the maximum of the absolute row sums. More... | |
__device__ __host__ uint64_t | checksum () const |
__device__ __host__ bool | isUnitary (double max_error) const |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_wrapper< typename RealType< T >::type, S > &a) |
Copy constructor for the Matrix class with a gauge_wrapper input. More... | |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_wrapper< typename RealType< T >::type, S > &a) |
Assignment operator for the Matrix class with a gauge_wrapper input. More... | |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_ghost_wrapper< typename RealType< T >::type, S > &a) |
Copy constructor for the Matrix class with a gauge_ghost_wrapper input. More... | |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_ghost_wrapper< typename RealType< T >::type, S > &a) |
Assignment operator for the Matrix class with a gauge_ghost_wrapper input. More... | |
Public Attributes | |
T | data [N *N] |
Definition at line 62 of file quda_matrix.h.
Definition at line 74 of file quda_matrix.h.
|
inline |
Definition at line 76 of file quda_matrix.h.
|
inline |
Definition at line 82 of file quda_matrix.h.
|
inline |
Definition at line 88 of file quda_matrix.h.
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator for the Matrix class with a gauge_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 93 of file gauge_field_order.h.
|
inline |
Assignment operator for the Matrix class with a gauge_ghost_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 159 of file gauge_field_order.h.
|
inline |
Return 64-bit XOR checksum computed from the elements of the matrix. Compute the checksum on each 64-bit word that constitutes the Matrix
Definition at line 194 of file quda_matrix.h.
|
inline |
Definition at line 204 of file quda_matrix.h.
|
inline |
Compute the matrix L1 norm - this is the maximum of the absolute column sums.
Definition at line 139 of file quda_matrix.h.
|
inline |
Compute the matrix L2 norm. We actually compute the Frobenius norm which is an upper bound on the L2 norm.
Definition at line 158 of file quda_matrix.h.
|
inline |
Compute the matrix Linfinity norm - this is the maximum of the absolute row sums.
Definition at line 175 of file quda_matrix.h.
|
inline |
Definition at line 110 of file quda_matrix.h.
|
inline |
Definition at line 104 of file quda_matrix.h.
|
inline |
Definition at line 100 of file quda_matrix.h.
|
inline |
Definition at line 96 of file quda_matrix.h.
|
inline |
|
inline |
Copy constructor for the Matrix class with a gauge_ghost_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 149 of file gauge_field_order.h.
|
inline |
|
inline |
Copy constructor for the Matrix class with a gauge_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 83 of file gauge_field_order.h.
|
inline |
Definition at line 117 of file quda_matrix.h.
|
inlineconstexpr |
Definition at line 72 of file quda_matrix.h.
T quda::Matrix< T, N >::data[N *N] |
Definition at line 70 of file quda_matrix.h.