QUDA
v0.5.0
A library for QCD on GPUs
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
quda
tests
blas_reference.h
Go to the documentation of this file.
1
#ifndef _BLAS_REFERENCE_H
2
#define _BLAS_REFERENCE_H
3
4
#include <
enum_quda.h
>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
// ---------- blas_reference.cpp ----------
11
double
norm_2
(
void
*vector,
int
len,
QudaPrecision
precision);
12
void
mxpy
(
void
*
x
,
void
*y,
int
len,
QudaPrecision
precision);
13
void
ax
(
double
a,
void
*
x
,
int
len,
QudaPrecision
precision);
14
void
axpy
(
double
a,
void
*
x
,
void
*y,
int
len,
QudaPrecision
precision);
15
/* void zero(float* a, int cnt);
16
void copy(float* a, float *b, int len);*/
17
18
/*void axpbyCuda(float a, float *x, float b, float *y, int len);
19
void axpy(float a, float *x, float *y, int len);*/
20
//void xpay(float *x, float a, float *y, int len);
21
22
/*float reDotProduct(float *v1, float *v2, int len);
23
float imDotProduct(float *v1, float *v2, int len);
24
double normD(float *vector, int len);
25
double reDotProductD(float *v1, float *v2, int len);
26
double imDotProductD(float *v1, float *v2, int len);*/
27
28
#ifdef __cplusplus
29
}
30
#endif
31
32
#endif // _BLAS_REFERENCE_H
Generated on Wed Mar 20 2013 12:52:17 for QUDA by
1.8.2