DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
solveVselfInBinsDeviceKernels.h
Go to the documentation of this file.
1#ifndef solveVselfInBeinsDeviceKernels_H
2#define solveVselfInBeinsDeviceKernels_H
3#include <DeviceAPICalls.h>
6
7namespace dftfe
8{
9 namespace poissonDevice
10 {
11 void
12 diagScale(const unsigned int blockSize,
13 const unsigned int numContiguousBlocks,
14 const double * srcArray,
15 const double * scalingVector,
16 double * dstArray);
17 void
18 dotProductContributionBlocked(const unsigned int numEntries,
19 const double * vec1,
20 const double * vec2,
21 double * vecTemp);
22
23 void
24 scaleBlocked(const unsigned int blockSize,
25 const unsigned int numContiguousBlocks,
26 double * xArray,
27 const double * scalingVector);
28
29 void
30 scale(const unsigned int numEntries,
31 double * xArray,
32 const double * scalingVector);
33
34 // y=alpha*x+y
35 void
36 daxpyBlocked(const unsigned int blockSize,
37 const unsigned int numContiguousBlocks,
38 const double * x,
39 const double * alpha,
40 double * y);
41
42
43 // y=-alpha*x+y
44 void
45 dmaxpyBlocked(const unsigned int blockSize,
46 const unsigned int numContiguousBlocks,
47 const double * x,
48 const double * alpha,
49 double * y);
50
51 } // namespace poissonDevice
52} // namespace dftfe
53#endif
Definition solveVselfInBinsDeviceKernels.h:10
void dotProductContributionBlocked(const unsigned int numEntries, const double *vec1, const double *vec2, double *vecTemp)
void scale(const unsigned int numEntries, double *xArray, const double *scalingVector)
void daxpyBlocked(const unsigned int blockSize, const unsigned int numContiguousBlocks, const double *x, const double *alpha, double *y)
void diagScale(const unsigned int blockSize, const unsigned int numContiguousBlocks, const double *srcArray, const double *scalingVector, double *dstArray)
void dmaxpyBlocked(const unsigned int blockSize, const unsigned int numContiguousBlocks, const double *x, const double *alpha, double *y)
void scaleBlocked(const unsigned int blockSize, const unsigned int numContiguousBlocks, double *xArray, const double *scalingVector)
Definition pseudoPotentialToDftfeConverter.cc:34