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

bgv/openfhe: update rotation index to be an integerattr #742

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

bgv/openfhe: update rotation index to be an integerattr

This change updates the rotation index / offset to be an attribute rather than an SSA value, reflecting the requirement that we must have a statically known constant rotation for the RLWE rotation operation.

We can also lower uknown tensor_ext rotations like a blind rotate or PIR style operation, but that is future work if we need it.

Fixes #741

I'll rebase this on top of #696

@copybara-service copybara-service bot force-pushed the test_644401397 branch 3 times, most recently from 08e83ea to 62b2671 Compare June 20, 2024 20:50
This change updates the rotation index / offset to be an attribute rather than an SSA value, reflecting the requirement that we must have a statically known constant rotation for the RLWE rotation operation.

We can also lower uknown tensor_ext rotations like a blind rotate or PIR style operation, but that is future work if we need it.

Fixes #741

I'll rebase this on top of #696

PiperOrigin-RevId: 645162459
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.

openfhe: rotation index is statically known - use an attribute?
2 participants