espressomd / espresso

The ESPResSo package
https://espressomd.org
GNU General Public License v3.0
226 stars 184 forks source link

Kokkos based P3M #4959

Open RudolfWeeber opened 1 month ago

RudolfWeeber commented 1 month ago

Charge/force assignment

Parallel FFT

K-Space calculations

RudolfWeeber commented 2 weeks ago

Discussion elsewhere: to parallelize the loops, the meshes would have to be represented as Kokkos views.

I looked into this, briefly.

To bring this in iteratlively, one could begin by creating a Kokkos unmanaged view which points to the memory of the meshes. In this way, Kokkos parallel loops can be leveraged immediately, and the underlying storage can be replaced separately.