Skip to content
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

Allow TapedFunction as a special Instruction #99

Closed
yebai opened this issue Dec 14, 2021 · 4 comments
Closed

Allow TapedFunction as a special Instruction #99

yebai opened this issue Dec 14, 2021 · 4 comments

Comments

@yebai
Copy link
Member

yebai commented Dec 14, 2021

We currently treat all instructions on a tape as primitive. There are use-cases (see here) where we need to selectively trace into instructions. One neat way of achieving that is to have a special instruction type that allows us to plug a tape A into another tape B, where tape A is considered as a standard instruction on tape B. This way, we can create a dedicated tape for an instruction that we want to trace into, and use it on another (parent) tape.

@yebai yebai changed the title Treat Tape as a special Instruction Allow Tape as a special Instruction Dec 14, 2021
@KDr2 KDr2 mentioned this issue Dec 15, 2021
@KDr2
Copy link
Member

KDr2 commented Dec 15, 2021

Fixed by #100.

@yebai yebai changed the title Allow Tape as a special Instruction Allow TapedFunction as a special Instruction Jan 26, 2022
@KDr2
Copy link
Member

KDr2 commented Feb 25, 2022

Do we still need this feature?

@yebai
Copy link
Member Author

yebai commented Feb 26, 2022

We might still want to selectly convert some function calls into TapedFunctions. Let's revisit this later.

@yebai
Copy link
Member Author

yebai commented Jun 15, 2022

Probably not necessary after #138

@yebai yebai closed this as completed Jun 15, 2022
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

No branches or pull requests

2 participants