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

Add stepping to GPU integrators #325

Open
ggkountouras opened this issue Mar 6, 2024 · 2 comments
Open

Add stepping to GPU integrators #325

ggkountouras opened this issue Mar 6, 2024 · 2 comments

Comments

@ggkountouras
Copy link

Is your feature request related to a problem? Please describe.

step!(integ, dt, true) fails on GPURosenbrock23() with add_tstop!: method has not been implemented for the integrator

Describe the solution you’d like

Stepping should be added to GPU integrators (as is the case for CPU integrators).

Additional context

Stepping might also affect ensembles.

@ChrisRackauckas
Copy link
Member

I'm not sure this can be done on t he GPU. You want to make there be a single kernel call, and a stepping interface makes there be more intermediate state memory that needs to be stored.

@ggkountouras
Copy link
Author

You only need one kernel. Start it on DiffEqGPU.init(), after that every step!() is CPU-GPU communication.

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