QUDA  v1.1.0
A library for QCD on GPUs
Functions | Variables
gauge_force_test.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <quda.h>
#include <host_utils.h>
#include <command_line_params.h>
#include <gauge_field.h>
#include "misc.h"
#include "gauge_force_reference.h"
#include "gauge_force_quda.h"
#include <sys/time.h>
#include <dslash_quda.h>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

void gauge_force_test (void)
 
 TEST (force, verify)
 
 TEST (action, verify)
 
int main (int argc, char **argv)
 

Variables

int length []
 
float loop_coeff_f []
 
int path_dir_x [][5]
 
int path_dir_y [][5]
 
int path_dir_z [][5]
 
int path_dir_t [][5]
 

Function Documentation

◆ gauge_force_test()

void gauge_force_test ( void  )

Definition at line 240 of file gauge_force_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 388 of file gauge_force_test.cpp.

◆ TEST() [1/2]

TEST ( action  ,
verify   
)

Definition at line 374 of file gauge_force_test.cpp.

◆ TEST() [2/2]

TEST ( force  ,
verify   
)

Definition at line 372 of file gauge_force_test.cpp.

Variable Documentation

◆ length

int length[]
Initial value:
= {
3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
}

Definition at line 18 of file gauge_force_test.cpp.

◆ loop_coeff_f

float loop_coeff_f[]

Definition at line 23 of file gauge_force_test.cpp.

◆ path_dir_t

int path_dir_t[][5]

Definition at line 186 of file gauge_force_test.cpp.

◆ path_dir_x

int path_dir_x[][5]

Definition at line 74 of file gauge_force_test.cpp.

◆ path_dir_y

int path_dir_y[][5]

Definition at line 126 of file gauge_force_test.cpp.

◆ path_dir_z

int path_dir_z[][5]
Initial value:
= {
{3, 5, 4}, {4, 5, 3}, {0, 5, 7}, {7, 5, 0}, {1, 5, 6}, {6, 5, 1}, {2, 3, 5, 5, 4},
{3, 5, 5, 4, 2}, {4, 5, 5, 3, 2}, {2, 4, 5, 5, 3}, {2, 0, 5, 5, 7}, {0, 5, 5, 7, 2}, {7, 5, 5, 0, 2}, {2, 7, 5, 5, 0},
{2, 1, 5, 5, 6}, {1, 5, 5, 6, 2}, {6, 5, 5, 1, 2}, {2, 6, 5, 5, 1}, {4, 4, 5, 3, 3}, {3, 3, 5, 4, 4}, {7, 7, 5, 0, 0},
{0, 0, 5, 7, 7}, {6, 6, 5, 1, 1}, {1, 1, 5, 6, 6}, {3, 0, 5, 4, 7}, {7, 4, 5, 0, 3}, {3, 7, 5, 4, 0}, {0, 4, 5, 7, 3},
{4, 0, 5, 3, 7}, {7, 3, 5, 0, 4}, {4, 7, 5, 3, 0}, {0, 3, 5, 7, 4}, {3, 1, 5, 4, 6}, {6, 4, 5, 1, 3}, {3, 6, 5, 4, 1},
{1, 4, 5, 6, 3}, {4, 1, 5, 3, 6}, {6, 3, 5, 1, 4}, {4, 6, 5, 3, 1}, {1, 3, 5, 6, 4}, {0, 1, 5, 7, 6}, {6, 7, 5, 1, 0},
{0, 6, 5, 7, 1}, {1, 7, 5, 6, 0}, {7, 1, 5, 0, 6}, {6, 0, 5, 1, 7}, {7, 6, 5, 0, 1}, {1, 0, 5, 6, 7}}

Definition at line 177 of file gauge_force_test.cpp.