QUDA v0.4.0
A library for QCD on GPUs
|
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <quda.h>
#include <quda_internal.h>
#include <dirac_quda.h>
#include <dslash_quda.h>
#include <invert_quda.h>
#include <util_quda.h>
#include <blas_quda.h>
#include <test_util.h>
#include <wilson_dslash_reference.h>
#include "misc.h"
#include <gauge_qio.h>
Go to the source code of this file.
Defines | |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
Functions | |
void | init (int argc, char **argv) |
void | end () |
double | dslashCUDA (int niter) |
void | dslashRef () |
void | display_test_info () |
void | usage (char **) |
int | main (int argc, char **argv) |
Variables | |
const int | test_type = 0 |
const QudaParity | parity = QUDA_EVEN_PARITY |
const int | transfer = 0 |
const int | loops = 100 |
QudaPrecision | cpu_prec = QUDA_DOUBLE_PRECISION |
QudaPrecision | cuda_prec |
QudaGaugeParam | gauge_param |
QudaInvertParam | inv_param |
cpuColorSpinorField * | spinor |
cpuColorSpinorField * | spinorOut |
cpuColorSpinorField * | spinorRef |
cudaColorSpinorField * | cudaSpinor |
cudaColorSpinorField * | cudaSpinorOut |
cudaColorSpinorField * | tmp1 = 0 |
cudaColorSpinorField * | tmp2 = 0 |
void * | hostGauge [4] |
void * | hostClover |
void * | hostCloverInv |
Dirac * | dirac |
QudaDslashType | dslash_type |
bool | tune |
int | device |
int | xdim |
int | ydim |
int | zdim |
int | tdim |
int | gridsize_from_cmdline [] |
QudaReconstructType | link_recon |
QudaPrecision | prec |
bool | kernelPackT |
QudaDagType | dagger |
char | latfile [] |
#define MAX | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 20 of file wilson_dslash_test.cpp.
void display_test_info | ( | ) |
Definition at line 396 of file wilson_dslash_test.cpp.
double dslashCUDA | ( | int | niter | ) |
Definition at line 296 of file wilson_dslash_test.cpp.
void dslashRef | ( | ) |
Definition at line 340 of file wilson_dslash_test.cpp.
void end | ( | void | ) |
Definition at line 272 of file wilson_dslash_test.cpp.
void init | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 61 of file wilson_dslash_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 419 of file wilson_dslash_test.cpp.
void usage | ( | char ** | ) |
Definition at line 1324 of file test_util.cpp.
QudaPrecision cpu_prec = QUDA_DOUBLE_PRECISION |
Definition at line 30 of file wilson_dslash_test.cpp.
Definition at line 31 of file wilson_dslash_test.cpp.
Definition at line 37 of file wilson_dslash_test.cpp.
Definition at line 37 of file wilson_dslash_test.cpp.
Definition at line 20 of file domain_wall_dslash_test.cpp.
int device |
Definition at line 1304 of file test_util.cpp.
Definition at line 41 of file wilson_dslash_test.cpp.
Definition at line 1318 of file test_util.cpp.
Definition at line 33 of file wilson_dslash_test.cpp.
int gridsize_from_cmdline[] |
Definition at line 1317 of file test_util.cpp.
void * hostClover |
Definition at line 39 of file wilson_dslash_test.cpp.
void * hostCloverInv |
Definition at line 39 of file wilson_dslash_test.cpp.
void* hostGauge[4] |
Definition at line 39 of file wilson_dslash_test.cpp.
Definition at line 34 of file wilson_dslash_test.cpp.
bool kernelPackT |
Definition at line 61 of file dslash_quda.cu.
char latfile[] |
Definition at line 1319 of file test_util.cpp.
Definition at line 1307 of file test_util.cpp.
const int loops = 100 |
Definition at line 28 of file wilson_dslash_test.cpp.
const QudaParity parity = QUDA_EVEN_PARITY |
Definition at line 25 of file wilson_dslash_test.cpp.
Definition at line 1309 of file test_util.cpp.
Definition at line 36 of file wilson_dslash_test.cpp.
Definition at line 36 of file wilson_dslash_test.cpp.
Definition at line 36 of file wilson_dslash_test.cpp.
int tdim |
Definition at line 1314 of file test_util.cpp.
const int test_type = 0 |
Definition at line 23 of file wilson_dslash_test.cpp.
cudaColorSpinorField * tmp1 = 0 |
Definition at line 37 of file wilson_dslash_test.cpp.
cudaColorSpinorField * tmp2 = 0 |
Definition at line 37 of file wilson_dslash_test.cpp.
const int transfer = 0 |
Definition at line 26 of file wilson_dslash_test.cpp.
bool tune |
Definition at line 1320 of file test_util.cpp.
int xdim |
Definition at line 1311 of file test_util.cpp.
int ydim |
Definition at line 1312 of file test_util.cpp.
int zdim |
Definition at line 1313 of file test_util.cpp.