Re-arranged some for loops in umutual1 to improve cache-friendly memory access; made placeholder for grid_uind on the GPU lib, maybe FFT is not that heavy to be put on the device.

This commit is contained in:
Trung Nguyen
2022-08-25 23:18:13 -05:00
parent f4a90c62c0
commit b2d6df5bfb
2 changed files with 77 additions and 15 deletions

View File

@ -162,6 +162,11 @@ void amoeba_gpu_compute_polar_real(int *host_amtype, int *host_amgroup, double *
eflag_in, vflag_in, eatom, vatom, aewald, felec, off2, tep_ptr);
}
void amoeba_gpu_grid_uind(double **host_fuind, double **host_fuinp,
double ***host_thetai1, double ***host_thetai2,
double ***host_thetai3, double ***grid) {
}
void amoeba_setup_fft(const int numel, const int element_type) {
AMOEBAMF.setup_fft(numel, element_type);
}