Open
Description
openedon Aug 20, 2024
When importing a function (with autodiff
macro) from a module, the derivatives are missing. I created a minimal example here.
# identical function as below, but defined in lib.rs
[src/main.rs:34:5] enzyme_y1_lib = (
4.497780053946161,
0.0, # <---
)
# identical function as above, but defined in main.rs
[src/main.rs:35:5] enzyme_y1f = (
4.497780053946161,
4.05342789389862,
)
Meta
rustc --version --verbose
:
rustc 1.82.0-nightly (86dedf7dc 2024-08-16)
binary: rustc
commit-hash: 86dedf7dc5b63661998a038c726033ad92c2d40e
commit-date: 2024-08-16
host: x86_64-unknown-linux-gnu
release: 1.82.0-nightly
LLVM version: 19.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels