QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
blas_reference.cpp File Reference
#include <blas_reference.h>
#include <stdio.h>
#include <comm_quda.h>
Include dependency graph for blas_reference.cpp:

Go to the source code of this file.

Functions

template<typename Float >
void aXpY (Float a, Float *x, Float *y, int len)
 
void axpy (double a, void *x, void *y, int len, QudaPrecision precision)
 
template<typename Float >
void aX (Float a, Float *x, int len)
 
void ax (double a, void *x, int len, QudaPrecision precision)
 
template<typename Float >
void mXpY (Float *x, Float *y, int len)
 
void mxpy (void *x, void *y, int len, QudaPrecision precision)
 
template<typename Float >
double norm2 (Float *v, int len)
 
double norm_2 (void *v, int len, QudaPrecision precision)
 
template<typename Float >
static void xpay (Float *x, Float a, Float *y, int len)
 
void xpay (void *x, double a, void *y, int length, QudaPrecision precision)
 
void cxpay (void *x, double _Complex a, void *y, int length, QudaPrecision precision)
 

Function Documentation

◆ aX()

template<typename Float >
void aX ( Float  a,
Float *  x,
int  len 
)
inline

Definition at line 18 of file blas_reference.cpp.

Referenced by ax().

Here is the caller graph for this function:

◆ ax()

void ax ( double  a,
void *  x,
int  len,
QudaPrecision  precision 
)

Definition at line 22 of file blas_reference.cpp.

References aX(), and QUDA_DOUBLE_PRECISION.

Here is the call graph for this function:

◆ aXpY()

template<typename Float >
void aXpY ( Float  a,
Float *  x,
Float *  y,
int  len 
)
inline

Definition at line 6 of file blas_reference.cpp.

Referenced by axpy().

Here is the caller graph for this function:

◆ axpy()

void axpy ( double  a,
void *  x,
void *  y,
int  len,
QudaPrecision  precision 
)

Definition at line 11 of file blas_reference.cpp.

References aXpY(), and QUDA_DOUBLE_PRECISION.

Here is the call graph for this function:

◆ cxpay()

void cxpay ( void *  x,
double _Complex  a,
void *  y,
int  length,
QudaPrecision  precision 
)

Definition at line 64 of file blas_reference.cpp.

References QUDA_DOUBLE_PRECISION, and xpay().

Referenced by mdw_dslash_5(), mdw_mat(), and mdw_matpc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mXpY()

template<typename Float >
void mXpY ( Float *  x,
Float *  y,
int  len 
)
inline

Definition at line 29 of file blas_reference.cpp.

Referenced by mxpy().

Here is the caller graph for this function:

◆ mxpy()

void mxpy ( void *  x,
void *  y,
int  len,
QudaPrecision  precision 
)

Definition at line 33 of file blas_reference.cpp.

References mXpY(), and QUDA_DOUBLE_PRECISION.

Here is the call graph for this function:

◆ norm2()

template<typename Float >
double norm2 ( Float *  v,
int  len 
)
inline

Definition at line 41 of file blas_reference.cpp.

References comm_allreduce(), and sum().

Referenced by getRealBidiagMatrix(), and norm_2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ norm_2()

double norm_2 ( void *  v,
int  len,
QudaPrecision  precision 
)

Definition at line 48 of file blas_reference.cpp.

References norm2(), and QUDA_DOUBLE_PRECISION.

Referenced by invert_test(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xpay() [1/2]

template<typename Float >
static void xpay ( Float *  x,
Float  a,
Float *  y,
int  len 
)
inlinestatic

Definition at line 55 of file blas_reference.cpp.

Referenced by cxpay(), and xpay().

Here is the caller graph for this function:

◆ xpay() [2/2]

void xpay ( void *  x,
double  a,
void *  y,
int  length,
QudaPrecision  precision 
)

Definition at line 59 of file blas_reference.cpp.

References QUDA_DOUBLE_PRECISION, and xpay().

Here is the call graph for this function: