QUDA
v1.1.0
A library for QCD on GPUs
|
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <quda.h>
#include "host_utils.h"
#include <command_line_params.h>
#include "gauge_field.h"
#include "misc.h"
#include "hisq_force_reference.h"
#include "ks_improved_force.h"
#include "momentum.h"
#include <dslash_quda.h>
#include <sys/time.h>
Go to the source code of this file.
Macros | |
#define | TDIFF(a, b) (b.tv_sec - a.tv_sec + 0.000001*(b.tv_usec - a.tv_usec)) |
Functions | |
void | total_staple_io_flops (QudaPrecision prec, QudaReconstructType recon, double *io, double *flops) |
int | main (int argc, char **argv) |
Variables | |
cudaGaugeField * | cudaGauge = NULL |
cpuGaugeField * | cpuGauge = NULL |
cudaGaugeField * | cudaForce = NULL |
cpuGaugeField * | cpuForce = NULL |
cudaGaugeField * | cudaMom = NULL |
cpuGaugeField * | cpuMom = NULL |
cpuGaugeField * | refMom = NULL |
QudaGaugeFieldOrder | gauge_order = QUDA_QDP_GAUGE_ORDER |
cpuGaugeField * | cpuOprod = NULL |
cudaGaugeField * | cudaOprod = NULL |
cpuGaugeField * | cpuLongLinkOprod = NULL |
cudaGaugeField * | cudaLongLinkOprod = NULL |
int | ODD_BIT = 1 |
QudaPrecision | link_prec = QUDA_DOUBLE_PRECISION |
QudaPrecision | hw_prec = QUDA_DOUBLE_PRECISION |
QudaPrecision | cpu_hw_prec = QUDA_DOUBLE_PRECISION |
QudaPrecision | mom_prec = QUDA_DOUBLE_PRECISION |
cudaGaugeField * | cudaGauge_ex = NULL |
cpuGaugeField * | cpuGauge_ex = NULL |
cudaGaugeField * | cudaForce_ex = NULL |
cpuGaugeField * | cpuForce_ex = NULL |
cpuGaugeField * | cpuOprod_ex = NULL |
cudaGaugeField * | cudaOprod_ex = NULL |
cpuGaugeField * | cpuLongLinkOprod_ex = NULL |
cudaGaugeField * | cudaLongLinkOprod_ex = NULL |
GaugeFieldParam | gParam_ex |
GaugeFieldParam | gParam |
#define TDIFF | ( | a, | |
b | |||
) | (b.tv_sec - a.tv_sec + 0.000001*(b.tv_usec - a.tv_usec)) |
Definition at line 16 of file hisq_paths_force_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 418 of file hisq_paths_force_test.cpp.
void total_staple_io_flops | ( | QudaPrecision | prec, |
QudaReconstructType | recon, | ||
double * | io, | ||
double * | flops | ||
) |
Definition at line 69 of file hisq_paths_force_test.cpp.
QudaPrecision cpu_hw_prec = QUDA_DOUBLE_PRECISION |
Definition at line 45 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuForce = NULL |
Definition at line 24 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuForce_ex = NULL |
Definition at line 51 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuGauge = NULL |
Definition at line 21 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuGauge_ex = NULL |
Definition at line 49 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuLongLinkOprod = NULL |
Definition at line 38 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuLongLinkOprod_ex = NULL |
Definition at line 54 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuMom = NULL |
Definition at line 27 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuOprod = NULL |
Definition at line 36 of file hisq_paths_force_test.cpp.
cpuGaugeField* cpuOprod_ex = NULL |
Definition at line 52 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaForce = NULL |
Definition at line 23 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaForce_ex = NULL |
Definition at line 50 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaGauge = NULL |
Definition at line 20 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaGauge_ex = NULL |
Definition at line 48 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaLongLinkOprod = NULL |
Definition at line 39 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaLongLinkOprod_ex = NULL |
Definition at line 55 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaMom = NULL |
Definition at line 26 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaOprod = NULL |
Definition at line 37 of file hisq_paths_force_test.cpp.
cudaGaugeField* cudaOprod_ex = NULL |
Definition at line 53 of file hisq_paths_force_test.cpp.
QudaGaugeFieldOrder gauge_order = QUDA_QDP_GAUGE_ORDER |
Definition at line 34 of file hisq_paths_force_test.cpp.
GaugeFieldParam gParam |
Definition at line 58 of file hisq_paths_force_test.cpp.
GaugeFieldParam gParam_ex |
Definition at line 57 of file hisq_paths_force_test.cpp.
QudaPrecision hw_prec = QUDA_DOUBLE_PRECISION |
Definition at line 44 of file hisq_paths_force_test.cpp.
QudaPrecision link_prec = QUDA_DOUBLE_PRECISION |
Definition at line 43 of file hisq_paths_force_test.cpp.
QudaPrecision mom_prec = QUDA_DOUBLE_PRECISION |
Definition at line 46 of file hisq_paths_force_test.cpp.
int ODD_BIT = 1 |
Definition at line 41 of file hisq_paths_force_test.cpp.
cpuGaugeField* refMom = NULL |
Definition at line 28 of file hisq_paths_force_test.cpp.