QUDA
1.0.0
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <cuda.h>
#include <cuda_runtime.h>
#include "quda.h"
#include "test_util.h"
#include "llfat_reference.h"
#include "misc.h"
#include "util_quda.h"
#include "malloc_quda.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 | usage (char **argv) |
static void | llfat_test () |
static void | display_test_info () |
void | usage_extra (char **argv) |
int | main (int argc, char **argv) |
Variables | |
bool | verify_results |
int | device |
int | xdim |
int | ydim |
int | zdim |
int | tdim |
int | gridsize_from_cmdline [] |
QudaReconstructType | link_recon |
QudaPrecision | prec |
int | niter |
static QudaPrecision | cpu_prec = QUDA_DOUBLE_PRECISION |
static QudaGaugeFieldOrder | gauge_order = QUDA_MILC_GAUGE_ORDER |
static size_t | gSize |
#define TDIFF | ( | a, | |
b | |||
) | (b.tv_sec - a.tv_sec + 0.000001*(b.tv_usec - a.tv_usec)) |
Definition at line 19 of file llfat_test.cpp.
Referenced by llfat_test().
|
static |
Definition at line 334 of file llfat_test.cpp.
References dimPartitioned(), gauge_order, get_gauge_order_str(), get_prec_str(), get_recon_str(), link_recon, prec, printfQuda, tdim, xdim, ydim, and zdim.
Referenced by main().
|
static |
Definition at line 38 of file llfat_test.cpp.
References QudaGaugeParam_s::anisotropy, compare_floats(), computeKSLinkQuda(), computeLongLinkCPU(), cpu_prec, QudaGaugeParam_s::cpu_prec, createSiteLinkCPU(), QudaGaugeParam_s::cuda_prec, QudaGaugeParam_s::cuda_prec_sloppy, device, E1h, E2, E3, endQuda(), exchange_cpu_sitelink(), exchange_cpu_sitelink_ex(), exchange_llfat_cleanup(), fatlink, quda::blas::flops, QudaGaugeParam_s::ga_pad, QudaGaugeParam_s::gauge_fix, gauge_order, QudaGaugeParam_s::gauge_order, gaugeSiteSize, gSize, host_free, initQuda(), link_recon, llfat_reference(), llfat_reference_mg(), longlink, memset(), mu, newQudaGaugeParam(), niter, pinned_malloc, prec, printfQuda, QUDA_ANTI_PERIODIC_T, QUDA_DOUBLE_PRECISION, QUDA_GAUGE_FIXED_NO, QUDA_MILC_GAUGE_ORDER, QUDA_QDP_GAUGE_ORDER, QUDA_STAGGERED_PHASE_MILC, QUDA_WILSON_LINKS, qudaGaugeParam, R, QudaGaugeParam_s::reconstruct, QudaGaugeParam_s::reconstruct_sloppy, safe_malloc, setDims(), QudaGaugeParam_s::staggered_phase_type, strong_check_link(), QudaGaugeParam_s::t_boundary, TDIFF, tdim, QudaGaugeParam_s::type, V, V_ex, verify_results, Vh, Vh_ex, Vs, Vs_t, Vs_x, Vs_y, Vs_z, QudaGaugeParam_s::X, X1, X2, X3, X4, xdim, ydim, Z, and zdim.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 363 of file llfat_test.cpp.
References cpu_prec, display_test_info(), finalizeComms(), gauge_order, gridsize_from_cmdline, initComms(), link_recon, llfat_test(), prec, process_command_line_option(), QUDA_DOUBLE_PRECISION, QUDA_MILC_GAUGE_ORDER, QUDA_QDP_GAUGE_ORDER, QUDA_RECONSTRUCT_NO, tdim, usage(), xdim, ydim, and zdim.
void usage | ( | char ** | argv | ) |
Definition at line 1783 of file test_util.cpp.
Referenced by main().
void usage_extra | ( | char ** | argv | ) |
Definition at line 356 of file llfat_test.cpp.
References printfQuda.
|
static |
Definition at line 32 of file llfat_test.cpp.
Referenced by llfat_test(), and main().
int device |
Definition at line 1602 of file test_util.cpp.
Referenced by llfat_test().
|
static |
Definition at line 34 of file llfat_test.cpp.
Referenced by display_test_info(), llfat_test(), and main().
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 main().
|
static |
Definition at line 36 of file llfat_test.cpp.
Referenced by llfat_test().
QudaReconstructType link_recon |
Definition at line 1605 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().
int niter |
Definition at line 1629 of file test_util.cpp.
Referenced by llfat_test().
QudaPrecision prec |
Definition at line 1608 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().
int tdim |
Definition at line 1618 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().
bool verify_results |
Definition at line 1643 of file test_util.cpp.
Referenced by llfat_test().
int xdim |
Definition at line 1615 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().
int ydim |
Definition at line 1616 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().
int zdim |
Definition at line 1617 of file test_util.cpp.
Referenced by display_test_info(), llfat_test(), and main().