QUDA
1.0.0
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <test_util.h>
#include <quda_internal.h>
#include <quda.h>
#include <util_quda.h>
#include <staggered_dslash_reference.h>
#include "misc.h"
#include <blas_quda.h>
#include <blas_reference.h>
#include <dslash_util.h>
Go to the source code of this file.
Functions | |
void * | memset (void *s, int c, size_t n) |
template<typename Float > | |
void | display_link_internal (Float *link) |
template<typename sFloat , typename gFloat > | |
void | dslashReference (sFloat *res, gFloat **fatlink, gFloat **longlink, gFloat **ghostFatlink, gFloat **ghostLonglink, sFloat *spinorField, sFloat **fwd_nbr_spinor, sFloat **back_nbr_spinor, int oddBit, int daggerBit, int nSrc, QudaDslashType dslash_type) |
void | staggered_dslash (cpuColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink, void **ghost_longlink, cpuColorSpinorField *in, int oddBit, int daggerBit, QudaPrecision sPrecision, QudaPrecision gPrecision, QudaDslashType dslash_type) |
void | matdagmat (cpuColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink, void **ghost_longlink, cpuColorSpinorField *in, double mass, int dagger_bit, QudaPrecision sPrecision, QudaPrecision gPrecision, cpuColorSpinorField *tmp, QudaParity parity, QudaDslashType dslash_type) |
void display_link_internal | ( | Float * | link | ) |
Definition at line 30 of file staggered_dslash_reference.cpp.
void dslashReference | ( | sFloat * | res, |
gFloat ** | fatlink, | ||
gFloat ** | longlink, | ||
gFloat ** | ghostFatlink, | ||
gFloat ** | ghostLonglink, | ||
sFloat * | spinorField, | ||
sFloat ** | fwd_nbr_spinor, | ||
sFloat ** | back_nbr_spinor, | ||
int | oddBit, | ||
int | daggerBit, | ||
int | nSrc, | ||
QudaDslashType | dslash_type | ||
) |
Definition at line 45 of file staggered_dslash_reference.cpp.
References faceVolume, gaugeLink(), gaugeSiteSize, mySpinorSiteSize, negx(), QUDA_ASQTAD_DSLASH, QUDA_LAPLACE_DSLASH, su3Mul(), su3Tmul(), sub(), sum(), and Vh.
Referenced by staggered_dslash().
void matdagmat | ( | cpuColorSpinorField * | out, |
void ** | fatlink, | ||
void ** | longlink, | ||
void ** | ghost_fatlink, | ||
void ** | ghost_longlink, | ||
cpuColorSpinorField * | in, | ||
double | mass, | ||
int | dagger_bit, | ||
QudaPrecision | sPrecision, | ||
QudaPrecision | gPrecision, | ||
cpuColorSpinorField * | tmp, | ||
QudaParity | parity, | ||
QudaDslashType | dslash_type | ||
) |
Definition at line 176 of file staggered_dslash_reference.cpp.
References axmy(), errorQuda, mySpinorSiteSize, QUDA_DOUBLE_PRECISION, QUDA_EVEN_PARITY, QUDA_INVALID_PARITY, QUDA_ODD_PARITY, staggered_dslash(), quda::ColorSpinorField::V(), Vh, and quda::ColorSpinorField::X().
void* memset | ( | void * | s, |
int | c, | ||
size_t | n | ||
) |
void staggered_dslash | ( | cpuColorSpinorField * | out, |
void ** | fatlink, | ||
void ** | longlink, | ||
void ** | ghost_fatlink, | ||
void ** | ghost_longlink, | ||
cpuColorSpinorField * | in, | ||
int | oddBit, | ||
int | daggerBit, | ||
QudaPrecision | sPrecision, | ||
QudaPrecision | gPrecision, | ||
QudaDslashType | dslash_type | ||
) |
Definition at line 132 of file staggered_dslash_reference.cpp.
References quda::cpuColorSpinorField::backGhostFaceBuffer, dslash_type, dslashReference(), errorQuda, quda::cpuColorSpinorField::exchangeGhost(), quda::cpuColorSpinorField::fwdGhostFaceBuffer, ghost_longlink, longlink, QUDA_ASQTAD_DSLASH, QUDA_DOUBLE_PRECISION, QUDA_EVEN_PARITY, QUDA_INVALID_PARITY, QUDA_ODD_PARITY, quda::ColorSpinorField::V(), and quda::ColorSpinorField::X().
Referenced by invert_test(), matdagmat(), and staggeredDslashRef().