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

Support for GPU (CUDA or similar) massive parallelization?? #521

Open
kchour1 opened this issue Aug 16, 2024 · 1 comment
Open

Support for GPU (CUDA or similar) massive parallelization?? #521

kchour1 opened this issue Aug 16, 2024 · 1 comment

Comments

@kchour1
Copy link

kchour1 commented Aug 16, 2024

Is there any plan to incorporate GPU-based calculations to massively speed-up the simulation? This can be done for conflict-detection-resolution, propagating aircraft dynamics forward, or to allow for multiple simulations in parallel.

Of course for small scenario instances, I expect numpy calculations to be much faster. But at some point as the number of agents increase, these calculations may become too expensive on the cpu. Also, we would need to figure out a way to keep the current python API the same.

Perhaps, this is a new thesis project for a student right 😉?

@kchour1 kchour1 changed the title Support for GPU (CUDA) massive parallelization?? Support for GPU (CUDA or similar) massive parallelization?? Aug 16, 2024
@jooste
Copy link
Member

jooste commented Oct 2, 2024

Hi @kchour1,

There are different approaches to this. The easiest way would be to use a JIT compiler approach like Numba. And you can also of course more directly use something like CUDA. With BlueSky's plugin architecture it is easy to make an additional implementation for e.g., the state-based CD module, which you can then select if you want to make use of the GPU to speed up the simulation.

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

No branches or pull requests

2 participants