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

extract some common integrator infrastructure #1515

Merged
merged 23 commits into from
May 27, 2024

Conversation

zingale
Copy link
Member

@zingale zingale commented Mar 17, 2024

No description provided.

@zingale
Copy link
Member Author

zingale commented Mar 17, 2024

this looks a bit clumsy, so comments welcomed. With this, I can make BackwardEuler and RKC reuse the same integrator_setup

@zingale
Copy link
Member Author

zingale commented May 7, 2024

I am not sure how to fix the CUDA issues here. It seems to not like passing the integrator function into the integrator_setup function

@zingale
Copy link
Member Author

zingale commented May 7, 2024

update: std::function() doesn't work on the device, but a simple function pointer does.

@zingale
Copy link
Member Author

zingale commented May 7, 2024

it appears that function points are not supported by SYCL, so we'll need to use functors (e.g., a struct wrapper with an overload of ())

@zingale
Copy link
Member Author

zingale commented May 7, 2024

requires #1541

@zingale
Copy link
Member Author

zingale commented May 8, 2024

this has been refactored so it will be SYCL compliant now

@zingale zingale changed the title [WIP] extract some common integrator infrastructure extract some common integrator infrastructure May 9, 2024
@zingale zingale merged commit 7b1458b into AMReX-Astro:development May 27, 2024
29 checks passed
@zingale zingale deleted the common_integrators branch May 27, 2024 19:26
@zingale zingale restored the common_integrators branch May 27, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants