QUDA
v1.1.0
A library for QCD on GPUs
|
#include <stdio.h>
#include <stdlib.h>
#include <quda_internal.h>
#include <color_spinor_field.h>
#include <blas_quda.h>
#include <host_utils.h>
#include <command_line_params.h>
#include <misc.h>
#include <dslash_reference.h>
#include <dirac_quda.h>
Go to the source code of this file.
Macros | |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
Functions | |
void | usage (char **) |
void | display_test_info () |
void | initFields (QudaPrecision prec) |
void | freeFields () |
double | benchmark (int test, const int niter) |
int | main (int argc, char **argv) |
Variables | |
ColorSpinorField * | xH |
ColorSpinorField * | yH |
ColorSpinorField * | xD |
ColorSpinorField * | yD |
cpuGaugeField * | Y_h |
cpuGaugeField * | X_h |
cpuGaugeField * | Xinv_h |
cpuGaugeField * | Yhat_h |
cudaGaugeField * | Y_d |
cudaGaugeField * | X_d |
cudaGaugeField * | Xinv_d |
cudaGaugeField * | Yhat_d |
int | Nspin |
int | Ncolor |
DiracCoarse * | dirac |
const char * | names [] |
#define MAX | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 32 of file multigrid_benchmark_test.cpp.
#define MAX | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 32 of file multigrid_benchmark_test.cpp.
double benchmark | ( | int | test, |
const int | niter | ||
) |
Definition at line 167 of file multigrid_benchmark_test.cpp.
void display_test_info | ( | ) |
Definition at line 34 of file multigrid_benchmark_test.cpp.
void freeFields | ( | ) |
Definition at line 146 of file multigrid_benchmark_test.cpp.
void initFields | ( | QudaPrecision | prec | ) |
Definition at line 47 of file multigrid_benchmark_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 206 of file multigrid_benchmark_test.cpp.
void usage | ( | char ** | ) |
DiracCoarse* dirac |
Definition at line 165 of file multigrid_benchmark_test.cpp.
const char* names[] |
Definition at line 200 of file multigrid_benchmark_test.cpp.
int Ncolor |
Definition at line 30 of file multigrid_benchmark_test.cpp.
int Nspin |
Definition at line 29 of file multigrid_benchmark_test.cpp.
cudaGaugeField * X_d |
Definition at line 27 of file multigrid_benchmark_test.cpp.
cpuGaugeField * X_h |
Definition at line 26 of file multigrid_benchmark_test.cpp.
ColorSpinorField* xD |
Definition at line 24 of file multigrid_benchmark_test.cpp.
ColorSpinorField* xH |
Definition at line 23 of file multigrid_benchmark_test.cpp.
cudaGaugeField * Xinv_d |
Definition at line 27 of file multigrid_benchmark_test.cpp.
cpuGaugeField * Xinv_h |
Definition at line 26 of file multigrid_benchmark_test.cpp.
cudaGaugeField* Y_d |
Definition at line 27 of file multigrid_benchmark_test.cpp.
cpuGaugeField* Y_h |
Definition at line 26 of file multigrid_benchmark_test.cpp.
ColorSpinorField * yD |
Definition at line 24 of file multigrid_benchmark_test.cpp.
ColorSpinorField * yH |
Definition at line 23 of file multigrid_benchmark_test.cpp.
cudaGaugeField * Yhat_d |
Definition at line 27 of file multigrid_benchmark_test.cpp.
cpuGaugeField * Yhat_h |
Definition at line 26 of file multigrid_benchmark_test.cpp.