Skip to content

[WIP] TypeTree support in autodiff #143490

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KMJ-007
Copy link
Contributor

@KMJ-007 KMJ-007 commented Jul 5, 2025

This PR starts the migration to full type tree support for autodiff in Rust

@rustbot rustbot added F-autodiff `#![feature(autodiff)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 5, 2025
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. label Jul 5, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms rust-cloud-vms bot force-pushed the type-trees-enzyme branch from ba7cd1e to a165957 Compare July 5, 2025 13:51
@rust-log-analyzer

This comment has been minimized.

@KMJ-007
Copy link
Contributor Author

KMJ-007 commented Jul 5, 2025

r? @ZuseZ4

@ZuseZ4
Copy link
Member

ZuseZ4 commented Jul 5, 2025

thanks! It looks like you haven't ported everything over yet, but let me know if you get stuck somewhere.
I would recommend to aim to get an MVP to work where you add typetrees in one location, like e.g. memcpy, to prove that the code works. Then we can talk with the others to see where to go from here.

KMJ-007 added 2 commits July 12, 2025 11:19
Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. F-autodiff `#![feature(autodiff)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants