-
Notifications
You must be signed in to change notification settings - Fork 3
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
Implementation strategy #2
Comments
Hello Stephan,
for Lines 27 to 35 in f5dd7f2
for Lines 23 to 34 in f5dd7f2
For Lines 37 to 51 in f5dd7f2
For Lines 36 to 47 in f5dd7f2
Yes, definitely, the library relies on
I benchmarked In general, my prime motivation is to solve PDEs using a stencil definition, which might require applying different functions at different locations of the array (ex., boundary),
|
OK great, thank you for sharing! I agree that this is a very promising approach for implementing PDE kernels, and in general this is similar to the way I've implemented PDE solvers in JAX by hand (e.g., the wave equation solver).
|
This project looks really cool!
I would love to understand at a high level how this package works -- how do you actually implement stencil computations in JAX? Do you reuse
jax.lax.scan
or something else? Does it support auto-diff? How does performance compare on CPU/GPU/TPU (or whichever configs you've tried)?The text was updated successfully, but these errors were encountered: