QUDA  v1.1.0
A library for QCD on GPUs
Macros | Functions | Variables
unitarize_link_test.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include "quda.h"
#include "gauge_field.h"
#include "host_utils.h"
#include <command_line_params.h>
#include "misc.h"
#include "util_quda.h"
#include "llfat_quda.h"
#include <unitarization_links.h>
#include "dslash_quda.h"
#include "ks_improved_force.h"
#include <gtest/gtest.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

 TEST (unitarization, verify)
 
int main (int argc, char **argv)
 

Variables

cpuGaugeFieldcpuFatLink
 
cpuGaugeFieldcpuULink
 
cpuGaugeFieldcudaResult
 
cudaGaugeFieldcudaFatLink
 
cudaGaugeFieldcudaULink
 
const double unittol = (prec == QUDA_DOUBLE_PRECISION) ? 1e-10 : 1e-6
 

Macro Definition Documentation

◆ TDIFF

#define TDIFF (   a,
 
)    (b.tv_sec - a.tv_sec + 0.000001*(b.tv_usec - a.tv_usec))

Definition at line 24 of file unitarize_link_test.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 222 of file unitarize_link_test.cpp.

◆ TEST()

TEST ( unitarization  ,
verify   
)

Definition at line 42 of file unitarize_link_test.cpp.

Variable Documentation

◆ cpuFatLink

cpuGaugeField* cpuFatLink

Definition at line 37 of file unitarize_link_test.cpp.

◆ cpuULink

cpuGaugeField * cpuULink

Definition at line 37 of file unitarize_link_test.cpp.

◆ cudaFatLink

cudaGaugeField* cudaFatLink

Definition at line 38 of file unitarize_link_test.cpp.

◆ cudaResult

cpuGaugeField * cudaResult

Definition at line 37 of file unitarize_link_test.cpp.

◆ cudaULink

cudaGaugeField * cudaULink

Definition at line 38 of file unitarize_link_test.cpp.

◆ unittol

const double unittol = (prec == QUDA_DOUBLE_PRECISION) ? 1e-10 : 1e-6

Definition at line 40 of file unitarize_link_test.cpp.