Wrapping transformed functions in external callbacks #27139
Answered
by
dfm
alecbetancourt
asked this question in
Q&A
-
I have a question about integrating external code with JAX. I am writing a piece of physics code and am dealing with the following situation:
A stripped down version of my current code looks something like this:
My main questions/concerns are as follows:
|
Beta Was this translation helpful? Give feedback.
Answered by
dfm
Mar 14, 2025
Replies: 1 comment 1 reply
-
This all looks reasonable to me! Without knowing more about the Fortran library it's hard to confidently answer your specific questions, but everything that you're doing here looks sensible, and I wouldn't be concerned about the approach. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alecbetancourt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This all looks reasonable to me! Without knowing more about the Fortran library it's hard to confidently answer your specific questions, but everything that you're doing here looks sensible, and I wouldn't be concerned about the approach.