NAMD
ComputePmeCUDAKernel.h
Go to the documentation of this file.
1 #ifdef NAMD_HIP
2 #include <hip/hip_runtime.h>
3 #endif
4 
5 #include "HipDefines.h"
6 
7 #if defined(NAMD_CUDA) || defined(NAMD_HIP)
8 
9 #ifndef __CUDACC__
10 #undef __align__
11 #define __align__(X)
12 #endif
13 
14 void cuda_init_bspline_coeffs(float **c, float **dc, int order);
15 
16 #define CUDA_PME_CHARGES_PROTOTYPE \
17 void cuda_pme_charges( \
18  const float *coeffs, \
19  float * const *q_arr, int *f_arr, int *fz_arr, \
20  float *a_data, int n_atoms, \
21  int K1, int K2, int K3, \
22  int order, cudaStream_t stream)
23 
25 
26 
27 #define CUDA_PME_CHARGES_BATCHED_PROTOTYPE \
28 void cuda_pme_charges_batched( \
29  const float *coeffs, \
30  float * const *q_arr, int *f_arr, int *fz_arr, \
31  float **a_data_ptr, int* n_atoms_ptr, \
32  int* K1_ptr, int* K2_ptr, int* K3_ptr, \
33  int order, int numPatches, int n_max_atoms, cudaStream_t stream)
34 
36 
37 
38 #define CUDA_PME_FORCES_PROTOTYPE \
39 void cuda_pme_forces( \
40  const float *coeffs, \
41  float * const *q_arr, \
42  float * const *afn, int dimy, int maxn, \
43  /* float *a_data, float *f_data, int n_atoms, */ \
44  int K1, int K2, int K3, \
45  int order, cudaStream_t stream)
46 
48 
49 #endif // NAMD_CUDA
50 
void cuda_init_bspline_coeffs(float **c, float **dc, int order)
#define CUDA_PME_FORCES_PROTOTYPE
#define CUDA_PME_CHARGES_BATCHED_PROTOTYPE
#define CUDA_PME_CHARGES_PROTOTYPE
#define order
Definition: PmeRealSpace.C:235