Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is GPU support being planned? #59

Open
AhmedSalih3d opened this issue Apr 3, 2022 · 2 comments
Open

Is GPU support being planned? #59

AhmedSalih3d opened this issue Apr 3, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@AhmedSalih3d
Copy link

Hi!

Thank you for this incredible tool for working with particle based cases. I am developing a post-processing tool https://github.com/AhmedSalih3d/PostSPH.jl directed at a software package called DualSPHysics (https://dual.sphysics.org/).

I have been using the current implementation of CellListMap (CPU based) and found that it is much faster than anything I have been able to write from hand, so I would of course want to make use of it in my package when post-processing different quantities.

The reason I ask about GPU is that it would be quite impressive being able to switch between CPU/GPU based on task and in the future I hope to write some small SPH simulations, which would greatly benefit from a GPU implementation of this library.

Please do not take me making this issue as a "demand", I just share in your passion about efficient neighbour algorithms for particle simulations! 😊

@lmiq
Copy link
Member

lmiq commented Apr 3, 2022

That is certainly something I want to explore in the future. I'm not sure if I can provide a reasonable interface for any pairwise computation, as happens currently with the package, but it may be interesting to have a neighborlist function implemented for the GPU. Maybe that will be a new package. But, unfortunately, that is not in the timeline for the near future, I don't think I will be able to get started with that this year, for instance.

@lmiq lmiq added the enhancement New feature or request label Apr 3, 2022
@AhmedSalih3d
Copy link
Author

Thanks for the response!

Fantastic to hear that you have been having some of the same thoughts and understandable that it is quite difficult to implement (so most likely not this year).

I can atleast share that it will be a huge game changer to have a neighbour list algorithm "built-in" into Julia. I am not aware of any other approach to do this in Julia, other than perhaps ParallelStencil.jl

Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants