2 #include <hip/hip_runtime.h> 7 #if defined(NAMD_CUDA) || defined(NAMD_HIP) 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) 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) 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, \ 44 int K1, int K2, int K3, \ 45 int order, cudaStream_t stream) 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