QUDA  v1.1.0
A library for QCD on GPUs
Functions | Variables
covdev_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 <host_utils.h>
#include <command_line_params.h>
#include <dslash_reference.h>
#include <covdev_reference.h>
#include <gauge_field.h>
#include <assert.h>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

void init (int argc, char **argv)
 
void end (void)
 
double dslashCUDA (int niter, int mu)
 
void covdevRef (int mu)
 
 TEST (dslash, verify)
 
void display_test_info ()
 
int main (int argc, char **argv)
 

Variables

QudaGaugeParam gauge_param
 
QudaInvertParam inv_param
 
cpuGaugeFieldcpuLink = nullptr
 
cpuColorSpinorFieldspinor
 
cpuColorSpinorFieldspinorOut
 
cpuColorSpinorFieldspinorRef
 
cudaColorSpinorFieldcudaSpinor
 
cudaColorSpinorFieldcudaSpinorOut
 
cudaColorSpinorFieldtmp
 
void * links [4]
 
void ** ghostLink
 
QudaParity parity = QUDA_EVEN_PARITY
 
GaugeCovDevdirac
 
const int nColor = 3
 

Function Documentation

◆ covdevRef()

void covdevRef ( int  mu)

Definition at line 182 of file covdev_test.cpp.

◆ display_test_info()

void display_test_info ( )

Definition at line 202 of file covdev_test.cpp.

◆ dslashCUDA()

double dslashCUDA ( int  niter,
int  mu 
)

Definition at line 160 of file covdev_test.cpp.

◆ end()

void end ( void  )

Definition at line 141 of file covdev_test.cpp.

◆ init()

void init ( int  argc,
char **  argv 
)

Definition at line 46 of file covdev_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 218 of file covdev_test.cpp.

◆ TEST()

TEST ( dslash  ,
verify   
)

Definition at line 194 of file covdev_test.cpp.

Variable Documentation

◆ cpuLink

cpuGaugeField* cpuLink = nullptr

Definition at line 29 of file covdev_test.cpp.

◆ cudaSpinor

cudaColorSpinorField* cudaSpinor

Definition at line 32 of file covdev_test.cpp.

◆ cudaSpinorOut

cudaColorSpinorField * cudaSpinorOut

Definition at line 32 of file covdev_test.cpp.

◆ dirac

GaugeCovDev* dirac

Definition at line 42 of file covdev_test.cpp.

◆ gauge_param

QudaGaugeParam gauge_param

Definition at line 26 of file covdev_test.cpp.

◆ ghostLink

void** ghostLink

Definition at line 38 of file covdev_test.cpp.

◆ inv_param

QudaInvertParam inv_param

Definition at line 27 of file covdev_test.cpp.

◆ links

void* links[4]

Definition at line 36 of file covdev_test.cpp.

◆ nColor

const int nColor = 3

Definition at line 44 of file covdev_test.cpp.

◆ parity

Definition at line 40 of file covdev_test.cpp.

◆ spinor

Definition at line 31 of file covdev_test.cpp.

◆ spinorOut

cpuColorSpinorField * spinorOut

Definition at line 31 of file covdev_test.cpp.

◆ spinorRef

cpuColorSpinorField * spinorRef

Definition at line 31 of file covdev_test.cpp.

◆ tmp

Definition at line 34 of file covdev_test.cpp.