QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
pack_test.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <quda_internal.h>
#include <gauge_field.h>
#include <util_quda.h>
#include <test_util.h>
#include <dslash_util.h>
#include <color_spinor_field.h>
#include <blas_quda.h>
Include dependency graph for pack_test.cpp:

Go to the source code of this file.

Functions

void init ()
 
void end ()
 
void packTest ()
 
void usage (char **)
 
int main (int argc, char **argv)
 

Variables

QudaGaugeParam param
 
cudaColorSpinorFieldcudaSpinor
 
void * qdpCpuGauge_p [4]
 
void * cpsCpuGauge_p
 
cpuColorSpinorFieldspinor
 
cpuColorSpinorFieldspinor2
 
ColorSpinorParam csParam
 
int ODD_BIT = 0
 
int DAGGER_BIT = 0
 
int device
 
int xdim
 
int ydim
 
int zdim
 
int tdim
 
QudaReconstructType link_recon
 
QudaPrecision prec
 
char latfile []
 
int gridsize_from_cmdline []
 
QudaPrecision prec_cpu = QUDA_DOUBLE_PRECISION
 

Function Documentation

◆ end()

void end ( void  )

Definition at line 99 of file pack_test.cpp.

References cpsCpuGauge_p, cudaSpinor, endQuda(), qdpCpuGauge_p, spinor, and spinor2.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void init ( )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 192 of file pack_test.cpp.

References end(), finalizeComms(), gridsize_from_cmdline, init(), initComms(), packTest(), process_command_line_option(), and usage().

Here is the call graph for this function:

◆ packTest()

void packTest ( )

◆ usage()

void usage ( char **  )

Definition at line 1783 of file test_util.cpp.

Referenced by main(), and packTest().

Here is the caller graph for this function:

Variable Documentation

◆ cpsCpuGauge_p

void* cpsCpuGauge_p

Definition at line 21 of file pack_test.cpp.

Referenced by end(), init(), and packTest().

◆ csParam

◆ cudaSpinor

cudaColorSpinorField* cudaSpinor

Definition at line 18 of file pack_test.cpp.

Referenced by end(), and packTest().

◆ DAGGER_BIT

int DAGGER_BIT = 0

Definition at line 27 of file pack_test.cpp.

◆ device

int device

Definition at line 1602 of file test_util.cpp.

Referenced by init().

◆ gridsize_from_cmdline

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().

◆ latfile

char latfile[]

Definition at line 1623 of file test_util.cpp.

◆ link_recon

QudaReconstructType link_recon

Definition at line 1605 of file test_util.cpp.

Referenced by init().

◆ ODD_BIT

int ODD_BIT = 0

Definition at line 26 of file pack_test.cpp.

◆ param

◆ prec

Definition at line 1608 of file test_util.cpp.

Referenced by init().

◆ prec_cpu

Definition at line 39 of file pack_test.cpp.

Referenced by init().

◆ qdpCpuGauge_p

void* qdpCpuGauge_p[4]

Definition at line 20 of file pack_test.cpp.

Referenced by end(), init(), and packTest().

◆ spinor

Definition at line 22 of file pack_test.cpp.

Referenced by end(), and packTest().

◆ spinor2

Definition at line 22 of file pack_test.cpp.

Referenced by end().

◆ tdim

int tdim

Definition at line 1618 of file test_util.cpp.

Referenced by init().

◆ xdim

int xdim

Definition at line 1615 of file test_util.cpp.

Referenced by init().

◆ ydim

int ydim

Definition at line 1616 of file test_util.cpp.

Referenced by init().

◆ zdim

int zdim

Definition at line 1617 of file test_util.cpp.

Referenced by init().