Skip to content

Frozen Functions #317

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

Closed

Conversation

DoeringChristian
Copy link
Contributor

This PR implements the frozen function feature in drjit.
It adds a new FrozenFunction struct that is a wrapper over a Python callable.
When calling the operator() of the object, it traverses the input and determines a unique layout/key.
This key is then used to determine if the function has to be recorded or if it's possible to replay it.
The PR relies on functionality implemented in Frozen ThreadState, and #288.

@DoeringChristian DoeringChristian force-pushed the freeze-mitsuba branch 2 times, most recently from 8d135fb to 8ed7b59 Compare December 15, 2024 10:45
@DoeringChristian
Copy link
Contributor Author

Changed the source branch. This PR is replaced by #336 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants