QUDA
v0.7.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 <misc.h>
#include <test_util.h>
#include <dslash_util.h>
#include <staggered_dslash_reference.h>
#include <gauge_field.h>
#include <face_quda.h>
#include <assert.h>
#include <gtest.h>
Go to the source code of this file.
Macros | |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
#define | staggeredSpinorSiteSize 6 |
Functions | |
void | usage (char **argv) |
void | init () |
void | end (void) |
double | dslashCUDA (int niter) |
void | staggeredDslashRef () |
TEST (dslash, verify) | |
void | display_test_info () |
void | usage_extra (char **argv) |
int | main (int argc, char **argv) |
Variables | |
QudaDslashType | dslash_type |
int | test_type |
bool | tune |
QudaGaugeParam | gaugeParam |
QudaInvertParam | inv_param |
cpuGaugeField * | cpuFat = NULL |
cpuGaugeField * | cpuLong = NULL |
cpuColorSpinorField * | spinor |
cpuColorSpinorField * | spinorOut |
cpuColorSpinorField * | spinorRef |
cudaColorSpinorField * | cudaSpinor |
cudaColorSpinorField * | cudaSpinorOut |
cudaColorSpinorField * | tmp |
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 |
bool | verify_results |
bool | kernel_pack_t |
int | X [4] |
Dirac * | dirac |
#define MAX | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 27 of file staggered_dslash_test.cpp.
#define staggeredSpinorSiteSize 6 |
Definition at line 28 of file staggered_dslash_test.cpp.
void display_test_info | ( | ) |
Definition at line 484 of file staggered_dslash_test.cpp.
double dslashCUDA | ( | int | niter | ) |
Definition at line 319 of file staggered_dslash_test.cpp.
void end | ( | void | ) |
Definition at line 295 of file staggered_dslash_test.cpp.
void init | ( | ) |
Definition at line 79 of file staggered_dslash_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 514 of file staggered_dslash_test.cpp.
void staggeredDslashRef | ( | ) |
Definition at line 372 of file staggered_dslash_test.cpp.
TEST | ( | dslash | , |
verify | |||
) |
Definition at line 419 of file staggered_dslash_test.cpp.
void usage | ( | char ** | argv | ) |
Definition at line 1584 of file test_util.cpp.
void usage_extra | ( | char ** | argv | ) |
Definition at line 505 of file staggered_dslash_test.cpp.
cpuGaugeField* cpuFat = NULL |
Definition at line 42 of file staggered_dslash_test.cpp.
cpuGaugeField* cpuLong = NULL |
Definition at line 43 of file staggered_dslash_test.cpp.
cudaColorSpinorField* cudaSpinor |
Definition at line 46 of file staggered_dslash_test.cpp.
cudaColorSpinorField * cudaSpinorOut |
Definition at line 46 of file staggered_dslash_test.cpp.
QudaDagType dagger |
Definition at line 1558 of file test_util.cpp.
int device |
Definition at line 1546 of file test_util.cpp.
Dirac* dirac |
Definition at line 77 of file staggered_dslash_test.cpp.
QudaDslashType dslash_type |
Definition at line 1560 of file test_util.cpp.
void* fatlink[4] |
Definition at line 51 of file staggered_dslash_test.cpp.
QudaGaugeParam gaugeParam |
Definition at line 39 of file staggered_dslash_test.cpp.
int gridsize_from_cmdline[] |
Definition at line 1559 of file test_util.cpp.
void* hostGauge[4] |
Definition at line 50 of file staggered_dslash_test.cpp.
QudaInvertParam inv_param |
Definition at line 40 of file staggered_dslash_test.cpp.
bool kernel_pack_t |
Definition at line 1571 of file test_util.cpp.
QudaReconstructType link_recon |
Definition at line 1549 of file test_util.cpp.
void * longlink[4] |
Definition at line 51 of file staggered_dslash_test.cpp.
const int loops = 100 |
Definition at line 57 of file staggered_dslash_test.cpp.
QudaParity parity |
Definition at line 59 of file staggered_dslash_test.cpp.
QudaPrecision prec |
Definition at line 1551 of file test_util.cpp.
cpuColorSpinorField* spinor |
Definition at line 45 of file staggered_dslash_test.cpp.
cpuColorSpinorField * spinorOut |
Definition at line 45 of file staggered_dslash_test.cpp.
cpuColorSpinorField * spinorRef |
Definition at line 45 of file staggered_dslash_test.cpp.
int tdim |
Definition at line 1556 of file test_util.cpp.
int test_type |
Definition at line 1564 of file test_util.cpp.
cudaColorSpinorField* tmp |
Definition at line 48 of file staggered_dslash_test.cpp.
int transfer = 0 |
Definition at line 61 of file staggered_dslash_test.cpp.
bool tune |
Definition at line 1562 of file test_util.cpp.
bool verify_results |
Definition at line 1568 of file test_util.cpp.
int X[4] |
Definition at line 75 of file staggered_dslash_test.cpp.
int xdim |
Definition at line 1553 of file test_util.cpp.
int ydim |
Definition at line 1554 of file test_util.cpp.
int zdim |
Definition at line 1555 of file test_util.cpp.