|
QUDA
1.0.0
|
#include <stdlib.h>#include <stdio.h>#include <time.h>#include <math.h>#include <string.h>#include <util_quda.h>#include <test_util.h>#include <dslash_util.h>#include "misc.h"#include <qio_field.h>#include <quda.h>
Go to the source code of this file.
Macros | |
| #define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
Functions | |
| void | setGaugeParam (QudaGaugeParam &gauge_param) |
| void | usage (char **) |
| void | plaq_test (int argc, char **argv) |
| int | main (int argc, char **argv) |
Variables | |
| bool | tune |
| int | device |
| int | xdim |
| int | ydim |
| int | zdim |
| int | tdim |
| int | gridsize_from_cmdline [] |
| QudaReconstructType | link_recon |
| QudaReconstructType | link_recon_sloppy |
| QudaPrecision | prec |
| QudaPrecision | prec_sloppy |
| double | anisotropy |
| double | epsilon |
| bool | verify_results |
| char | latfile [] |
| double | gaussian_sigma |
| QudaVerbosity | verbosity |
| QudaPrecision | cpu_prec = QUDA_DOUBLE_PRECISION |
| QudaPrecision & | cuda_prec = prec |
| QudaPrecision & | cuda_prec_sloppy = prec_sloppy |
| #define MAX | ( | a, | |
| b | |||
| ) | ((a) > (b) ? (a) : (b)) |
Definition at line 44 of file plaq_test.cpp.
Referenced by setGaugeParam().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 144 of file plaq_test.cpp.
References plaq_test().

| void plaq_test | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 88 of file plaq_test.cpp.
References construct_gauge_field(), QudaGaugeParam_s::cpu_prec, device, endQuda(), finalizeComms(), freeGaugeQuda(), gauge_param, gaugeSiteSize, gaussGaugeQuda(), gaussian_sigma, gridsize_from_cmdline, gSize, initComms(), initQuda(), initRand(), latfile, link_recon, link_recon_sloppy, loadGaugeQuda(), newQudaGaugeParam(), plaqQuda(), prec, prec_sloppy, printfQuda, process_command_line_option(), QUDA_INVALID_PRECISION, QUDA_RECONSTRUCT_INVALID, read_gauge_field(), setDims(), setGaugeParam(), setVerbosity(), usage(), V, verbosity, and QudaGaugeParam_s::X.
Referenced by main().


| void setGaugeParam | ( | QudaGaugeParam & | gauge_param | ) |
Definition at line 50 of file plaq_test.cpp.
References anisotropy, QudaGaugeParam_s::anisotropy, cpu_prec, QudaGaugeParam_s::cpu_prec, cuda_prec, QudaGaugeParam_s::cuda_prec, cuda_prec_sloppy, QudaGaugeParam_s::cuda_prec_sloppy, QudaGaugeParam_s::ga_pad, QudaGaugeParam_s::gauge_fix, QudaGaugeParam_s::gauge_order, link_recon, link_recon_sloppy, MAX, QUDA_GAUGE_FIXED_NO, QUDA_PERIODIC_T, QUDA_QDP_GAUGE_ORDER, QUDA_WILSON_LINKS, QudaGaugeParam_s::reconstruct, QudaGaugeParam_s::reconstruct_sloppy, QudaGaugeParam_s::t_boundary, tdim, QudaGaugeParam_s::type, usage(), QudaGaugeParam_s::X, xdim, ydim, and zdim.
Referenced by plaq_test().


| void usage | ( | char ** | ) |
Definition at line 1783 of file test_util.cpp.
Referenced by plaq_test(), and setGaugeParam().

| double anisotropy |
Definition at line 1650 of file test_util.cpp.
Referenced by setGaugeParam().
| QudaPrecision cpu_prec = QUDA_DOUBLE_PRECISION |
Definition at line 46 of file plaq_test.cpp.
Referenced by setGaugeParam().
| QudaPrecision& cuda_prec = prec |
Definition at line 47 of file plaq_test.cpp.
Referenced by setGaugeParam().
| QudaPrecision& cuda_prec_sloppy = prec_sloppy |
Definition at line 48 of file plaq_test.cpp.
Referenced by setGaugeParam().
| int device |
Definition at line 1602 of file test_util.cpp.
Referenced by plaq_test().
| double epsilon |
Definition at line 1649 of file test_util.cpp.
Referenced by process_command_line_option().
| double gaussian_sigma |
Definition at line 1625 of file test_util.cpp.
Referenced by plaq_test(), and process_command_line_option().
| int gridsize_from_cmdline[] |
For MPI, the default node mapping is lexicographical with t varying fastest.
Definition at line 49 of file test_util.cpp.
Referenced by plaq_test().
| char latfile[] |
Definition at line 1623 of file test_util.cpp.
Referenced by plaq_test().
| QudaReconstructType link_recon |
Definition at line 1605 of file test_util.cpp.
Referenced by plaq_test(), and setGaugeParam().
| QudaReconstructType link_recon_sloppy |
Definition at line 1606 of file test_util.cpp.
Referenced by plaq_test(), and setGaugeParam().
| QudaPrecision prec |
Definition at line 1608 of file test_util.cpp.
Referenced by plaq_test().
| QudaPrecision prec_sloppy |
Definition at line 1609 of file test_util.cpp.
Referenced by plaq_test().
| int tdim |
Definition at line 1618 of file test_util.cpp.
Referenced by setGaugeParam().
| bool tune |
| QudaVerbosity verbosity |
Definition at line 1614 of file test_util.cpp.
Referenced by plaq_test().
| bool verify_results |
Definition at line 1643 of file test_util.cpp.
| int xdim |
Definition at line 1615 of file test_util.cpp.
Referenced by setGaugeParam().
| int ydim |
Definition at line 1616 of file test_util.cpp.
Referenced by setGaugeParam().
| int zdim |
Definition at line 1617 of file test_util.cpp.
Referenced by setGaugeParam().
1.8.13