-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT for block machines with non-rectangular shapes (#2275)
Depends on #2279 This PR implements JIT code generation for block machines with irregular block shape, such as `std::machines::large_field::binary::Binary`. This is achieved as follows: - Instead of solving rows `0..block_size`, we run the solver for rows `-1..(block_size + 1)`. This way, the solver is able to generate code that writes to the previous row of the last block or the first row of the next block. - At the end, we check whether the generated code is actually consistent: For example, if the code writes to the last row of the previous block, it can't have a unknown value in the same cell of the current block (unless it's known to be the same). Note that the generated code is still not used in practice, because we don't call the JIT with the right amount of context. I started fixing this in #2281, but it is still WIP. --------- Co-authored-by: chriseth <[email protected]>
- Loading branch information
1 parent
91202ee
commit 4bb99be
Showing
6 changed files
with
286 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.