QUDA v0.4.0
A library for QCD on GPUs
Defines | Functions | Variables
quda/tests/staggered_dslash_test.cpp File Reference
#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 <misc.h>
#include <test_util.h>
#include <staggered_dslash_reference.h>
#include <gauge_field.h>
#include <face_quda.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define MAX(a, b)   ((a)>(b)?(a):(b))
#define staggeredSpinorSiteSize   6

Functions

void usage (char **argv)
void setDimConstants (int *X)
void init ()
void end (void)
double dslashCUDA (int niter)
void staggeredDslashRef ()
void display_test_info ()
void usage_extra (char **argv)
int main (int argc, char **argv)

Variables

int test_type = 0
bool tune
QudaGaugeParam gaugeParam
QudaInvertParam inv_param
cpuGaugeFieldcpuFat = NULL
cpuGaugeFieldcpuLong = NULL
cpuColorSpinorFieldspinor
cpuColorSpinorFieldspinorOut
cpuColorSpinorFieldspinorRef
cudaColorSpinorFieldcudaSpinor
cudaColorSpinorFieldcudaSpinorOut
cudaColorSpinorFieldtmp
void * hostGauge [4]
void * fatlink [4]
void * longlink [4]
const int loops = 100
QudaParity parity
QudaDagType dagger
int transfer = 0
int xdim
int ydim
int zdim
int tdim
int gridsize_from_cmdline []
QudaReconstructType link_recon
QudaPrecision prec
int device
int X [4]
Diracdirac
int Z [4]
int V
int Vh
static int Vs_y
static int Vs_z
static int Vs_t
int Vsh_x
int Vsh_y
int Vsh_z
int Vsh_t

Define Documentation

#define MAX (   a,
 
)    ((a)>(b)?(a):(b))

Definition at line 23 of file staggered_dslash_test.cpp.

#define staggeredSpinorSiteSize   6

Definition at line 24 of file staggered_dslash_test.cpp.


Function Documentation

void display_test_info ( )

Definition at line 476 of file staggered_dslash_test.cpp.

double dslashCUDA ( int  niter)

Definition at line 315 of file staggered_dslash_test.cpp.

void end ( void  )

Definition at line 291 of file staggered_dslash_test.cpp.

void init ( )

Definition at line 104 of file staggered_dslash_test.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 506 of file staggered_dslash_test.cpp.

void setDimConstants ( int *  X)

Definition at line 78 of file staggered_dslash_test.cpp.

void staggeredDslashRef ( )

Definition at line 367 of file staggered_dslash_test.cpp.

void usage ( char **  argv)

Definition at line 1324 of file test_util.cpp.

void usage_extra ( char **  argv)

Definition at line 497 of file staggered_dslash_test.cpp.


Variable Documentation

Definition at line 36 of file staggered_dslash_test.cpp.

Definition at line 37 of file staggered_dslash_test.cpp.

Definition at line 40 of file staggered_dslash_test.cpp.

Definition at line 40 of file staggered_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 69 of file staggered_dslash_test.cpp.

void* fatlink[4]

Definition at line 45 of file staggered_dslash_test.cpp.

Definition at line 33 of file staggered_dslash_test.cpp.

Definition at line 1317 of file test_util.cpp.

void* hostGauge[4]

Definition at line 44 of file staggered_dslash_test.cpp.

Definition at line 34 of file staggered_dslash_test.cpp.

Definition at line 1307 of file test_util.cpp.

void * longlink[4]

Definition at line 45 of file staggered_dslash_test.cpp.

const int loops = 100

Definition at line 51 of file staggered_dslash_test.cpp.

Definition at line 53 of file staggered_dslash_test.cpp.

Definition at line 1309 of file test_util.cpp.

Definition at line 39 of file staggered_dslash_test.cpp.

Definition at line 39 of file staggered_dslash_test.cpp.

Definition at line 39 of file staggered_dslash_test.cpp.

int tdim

Definition at line 1314 of file test_util.cpp.

int test_type = 0

Definition at line 29 of file staggered_dslash_test.cpp.

Definition at line 42 of file staggered_dslash_test.cpp.

int transfer = 0

Definition at line 55 of file staggered_dslash_test.cpp.

bool tune

Definition at line 1320 of file test_util.cpp.

int V

Definition at line 5 of file force_kernel_common.cu.

int Vh

Definition at line 50 of file dslash_constants.h.

int Vs_t

Definition at line 73 of file staggered_dslash_test.cpp.

int Vs_y

Definition at line 73 of file staggered_dslash_test.cpp.

int Vs_z

Definition at line 73 of file staggered_dslash_test.cpp.

int Vsh_t

Definition at line 5 of file dslash_util.h.

int Vsh_x

Definition at line 5 of file dslash_util.h.

int Vsh_y

Definition at line 5 of file dslash_util.h.

int Vsh_z

Definition at line 5 of file dslash_util.h.

int X[4]

Definition at line 66 of file staggered_dslash_test.cpp.

int xdim

Definition at line 1311 of file test_util.cpp.

int ydim

Definition at line 1312 of file test_util.cpp.

int Z[4]

Definition at line 11 of file domain_wall_dslash_reference.cpp.

int zdim

Definition at line 1313 of file test_util.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines