8 #define EWALD_READ_ONLY_DATA 0
12 #define PARTICLE_TABLE_IDX 0
13 #define EWALD_READ_ONLY_DATA_IDX 1
14 #define EWALD_TABLE_IDX 2
17 #define BLOCK_SIZE 128
21 #define NUM_GRAVITY_BUFS 5
46 cudatype xxx,xyy,xxy,yyy,xxz,yyz,xyz;
47 cudatype xxxx,xyyy,xxxy,yyyy,xxxz,yyyz,xxyy,xxyz,xyyz;
50 cudatype xxzz,xyzz,xzzz,yyzz,yzzz,zzzz;
59 int n, nReps, nEwReps, nEwhLoop;
60 cudatype L, fEwCut, alpha, alpha2, k1, ka, fEwCut2, fInner2;
73 void EwaldHostMemorySetup(
EwaldData *h_idata,
int size,
int nEwhLoop,
int largephase);
74 void EwaldHostMemoryFree(
EwaldData *h_idata,
int largephase);
75 #ifdef HAPI_INSTRUMENT_WRS
76 void EwaldHost(
EwaldData *h_idata,
void *cb,
int myIndex,
char phase,
int largephase);
78 void EwaldHost(
EwaldData *h_idata,
void *cb,
int myIndex,
int largephase);
Parameters and data for Ewald in the CUDA kernel.
Definition: EwaldCUDA.h:55
Particle data that gets calculated by the GPU.
Definition: cuda_typedef.h:259
float cudatype
floating point type on the GPU
Definition: cuda_typedef.h:12
Data for the Ewald h loop in the CUDA kernel.
Definition: EwaldCUDA.h:25
Particle data needed on the GPU to calculate gravity.
Definition: cuda_typedef.h:231
EwtData * ewt
Definition: EwaldCUDA.h:69
CUDA version of MOMC for Ewald.
Definition: EwaldCUDA.h:43
EwaldReadOnlyData * cachedData
Definition: EwaldCUDA.h:70
structure to hold information specific to GPU Ewald
Definition: EwaldCUDA.h:65
int * EwaldMarkers
Definition: EwaldCUDA.h:68
CUDA version of complete MultipoleMoments for Ewald.
Definition: EwaldCUDA.h:32