QUDA  v1.1.0
A library for QCD on GPUs
Functions | Variables
hisq_unitarize_force_test.cpp File Reference
#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 <sys/time.h>
#include <dslash_quda.h>

Go to the source code of this file.

Functions

void setPrecision (QudaPrecision precision)
 
void createNoisyLinkCPU (void **field, QudaPrecision prec, int seed)
 
int main (int argc, char **argv)
 

Variables

cudaGaugeFieldcudaFatLink = NULL
 
cpuGaugeFieldcpuFatLink = NULL
 
cudaGaugeFieldcudaOprod = NULL
 
cpuGaugeFieldcpuOprod = NULL
 
cudaGaugeFieldcudaResult = NULL
 
cpuGaugeFieldcpuResult = NULL
 
cpuGaugeFieldcpuReference = NULL
 
double accuracy = 1e-5
 
int ODD_BIT = 1
 
QudaPrecision link_prec = QUDA_SINGLE_PRECISION
 

Function Documentation

◆ createNoisyLinkCPU()

void createNoisyLinkCPU ( void **  field,
QudaPrecision  prec,
int  seed 
)

Definition at line 39 of file hisq_unitarize_force_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 175 of file hisq_unitarize_force_test.cpp.

◆ setPrecision()

void setPrecision ( QudaPrecision  precision)

Definition at line 36 of file hisq_unitarize_force_test.cpp.

Variable Documentation

◆ accuracy

double accuracy = 1e-5

Definition at line 31 of file hisq_unitarize_force_test.cpp.

◆ cpuFatLink

cpuGaugeField* cpuFatLink = NULL

Definition at line 18 of file hisq_unitarize_force_test.cpp.

◆ cpuOprod

cpuGaugeField* cpuOprod = NULL

Definition at line 21 of file hisq_unitarize_force_test.cpp.

◆ cpuReference

cpuGaugeField* cpuReference = NULL

Definition at line 26 of file hisq_unitarize_force_test.cpp.

◆ cpuResult

cpuGaugeField* cpuResult = NULL

Definition at line 24 of file hisq_unitarize_force_test.cpp.

◆ cudaFatLink

cudaGaugeField* cudaFatLink = NULL

Definition at line 17 of file hisq_unitarize_force_test.cpp.

◆ cudaOprod

cudaGaugeField* cudaOprod = NULL

Definition at line 20 of file hisq_unitarize_force_test.cpp.

◆ cudaResult

cudaGaugeField* cudaResult = NULL

Definition at line 23 of file hisq_unitarize_force_test.cpp.

◆ link_prec

Definition at line 34 of file hisq_unitarize_force_test.cpp.

◆ ODD_BIT

int ODD_BIT = 1

Definition at line 32 of file hisq_unitarize_force_test.cpp.