heir icon indicating copy to clipboard operation
heir copied to clipboard

Support non-tensor types as input to `lwe.rlwe_encode` in lowerings to BGV/OpenFHE

Open j2kun opened this issue 1 year ago • 1 comments

j2kun avatar Apr 24 '24 19:04 j2kun

This issue has 1 outstanding TODOs:

This comment was autogenerated by todo-backlinks

github-actions[bot] avatar Apr 25 '24 14:04 github-actions[bot]

The linked issue #645 also describes how to encode short tensors - I suspect this will be handled by layout assignments / packing techniques to determine padding and replication strategies.

In the meantime, I'm adding support for scalars as replicated in plaintext slots, which will ensure correct behavior for scalar programs (i'll send a PR in a sec, happy to hear feedback)

asraa avatar Sep 11 '24 19:09 asraa