google / google/heir

[modarith] migrate barrett/subifge to mod arith type

Open
#1,084 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

This would remove the mod arith op attributes tracking the modulus.

We realized this would be a nice "type" to have to describe the coefficient type of a ring. In the case of working with $$\mathbb{Z}_q$$, the coefficient type would be a modarith type like `modarith`. RNS types would be a list of modarith types.

See the type refactor here: https://github.com/google/heir/pull/1083

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.