MPI_jacsolve
vdop.h
Go to the documentation of this file.
1 #ifndef VDOP_FILE
2 #define VDOP_FILE
3 
4 
18 void vddiv(const int n, float x[], const int ix,
19  const float y[], const int iy,
20  const float z[], const int iz);
21 
36 //#pragma acc routine gang
37 void vdaxpy(const int n, float x[], const float y[],
38  const float a, const float z[] );
39 
40 
49 //#pragma acc routine gang
50 float dscapr(const int n, const float x[], const float y[]);
51 
52 
53 
54 #endif
55 
void vddiv(const int n, float x[], const int ix, const float y[], const int iy, const float z[], const int iz)
Element-wise vector divison x = y/z. A stride iy =0 for the source stride adds a constant value store...
Definition: vdop.cpp:6
void vdaxpy(const int n, float x[], const float y[], const float a, const float z[])
Element-wise vector multiplication x = y*z. A stride iy =0 for the source stride adds a constant valu...
Definition: vdop.cpp:19
float dscapr(const int n, const float x[], const float y[])
Calculates the Euclidian inner product of two vectors.
Definition: vdop.cpp:33