QUDA  v1.1.0
A library for QCD on GPUs
Functions
host_blas.cpp File Reference
#include <host_utils.h>
#include <stdio.h>
#include <comm_quda.h>

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)
 
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)
 
void cpu_axy (QudaPrecision prec, double a, void *x, void *y, int size)
 
void cpu_xpy (QudaPrecision prec, void *x, void *y, int size)
 

Function Documentation

◆ ax()

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

Definition at line 22 of file host_blas.cpp.

◆ aX()

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

Definition at line 18 of file host_blas.cpp.

◆ axpy()

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

Definition at line 11 of file host_blas.cpp.

◆ aXpY()

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

Definition at line 6 of file host_blas.cpp.

◆ cpu_axy()

void cpu_axy ( QudaPrecision  prec,
double  a,
void *  x,
void *  y,
int  size 
)

Definition at line 74 of file host_blas.cpp.

◆ cpu_xpy()

void cpu_xpy ( QudaPrecision  prec,
void *  x,
void *  y,
int  size 
)

Definition at line 87 of file host_blas.cpp.

◆ cxpay()

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

Definition at line 64 of file host_blas.cpp.

◆ mXpY()

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

Definition at line 29 of file host_blas.cpp.

◆ mxpy()

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

Definition at line 33 of file host_blas.cpp.

◆ norm2()

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

Definition at line 41 of file host_blas.cpp.

◆ norm_2()

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

Definition at line 48 of file host_blas.cpp.

◆ xpay()

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

Definition at line 59 of file host_blas.cpp.