QUDA  v1.1.0
A library for QCD on GPUs
blas_reference.h
Go to the documentation of this file.
1 #include <stdlib.h>
2 #include <stdio.h>
3 #include <time.h>
4 #include <math.h>
5 #include <string.h>
6 #include <complex>
7 #include <inttypes.h>
8 
9 #include <util_quda.h>
10 #include <host_utils.h>
11 #include <command_line_params.h>
12 #include "misc.h"
13 
14 #include <Eigen/Dense>
15 using namespace Eigen;
16 
17 using namespace std;
18 
19 void fillEigenArrayColMaj(MatrixXcd &EigenArr, complex<double> *arr, int rows, int cols, int ld, int offset);
20 
21 void fillEigenArrayRowMaj(MatrixXcd &EigenArr, complex<double> *arr, int rows, int cols, int ld, int offset);
22 
23 double blasGEMMQudaVerify(void *arrayA, void *arrayB, void *arrayC, void *arrayCcopy, uint64_t refA_size,
24  uint64_t refB_size, uint64_t refC_size, QudaBLASParam *blas_param);
void fillEigenArrayColMaj(MatrixXcd &EigenArr, complex< double > *arr, int rows, int cols, int ld, int offset)
void fillEigenArrayRowMaj(MatrixXcd &EigenArr, complex< double > *arr, int rows, int cols, int ld, int offset)
double blasGEMMQudaVerify(void *arrayA, void *arrayB, void *arrayC, void *arrayCcopy, uint64_t refA_size, uint64_t refB_size, uint64_t refC_size, QudaBLASParam *blas_param)