-
Notifications
You must be signed in to change notification settings - Fork 4
Experimental - Initial commit for Kerngraph #81
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
Experimental - Initial commit for Kerngraph #81
Conversation
…ed. Fixed a bug for generating output when loop_interchange is enabled.
…own before printing detailed messages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as an experimental feature that we want in the codebase so we can start discussing optimizations and showing people the potential of the various intermediate manipulations/optimizations that can be done.
Hi, @christopherngutierrez |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from an initial scan. Will attempt with wider variety next week, but doesn't seem breaking.
Only change I see would be to match the current file hierarchy on main (e.g. kerngen inside of p-isa_tools, same for functional_modeler, etc.). Just needs to be rebased with main |
Hi @christopherngutierrez and @kylanerace |
Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.22/HISTORY.md) - [Commits](pydantic/pydantic@v1.10.13...v1.10.22) --- updated-dependencies: - dependency-name: pydantic dependency-version: 1.10.22 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update Documentation to match the change of repository name. Signed-off-by: Flavio Bergamaschi <[email protected]>
* new repository structure * documentation update --------- Signed-off-by: Flavio Bergamaschi <[email protected]>
* Reference implementation of the HERACLES Assembler tools --------- Signed-off-by: Flavio Bergamaschi <[email protected]> Co-authored-by: Flavio Bergamaschi <[email protected]> Co-authored-by: Ernesto Zamora Ramos <[email protected]> Co-authored-by: Chris Wilkerson <[email protected]> Co-authored-by: Jose Rojas Chaves <[email protected]> Co-authored-by: Kylan Race <[email protected]> Co-authored-by: Christopher Gutierrez <[email protected]> Co-authored-by: Hamish Hunt <[email protected]> Co-authored-by: Jack Crawford <[email protected]> Co-authored-by: Minxuan Zhou <[email protected]> Co-authored-by: Wen Wang <[email protected]> Co-authored-by: Adish Vartak <[email protected]> Co-authored-by: Michael Steiner <[email protected]> Co-authored-by: Avinash Alevoor <[email protected]> Co-authored-by: Rashmi Agrawal <[email protected]>
Bumps the pip group with 3 updates in the /assembler_tools/hec-assembler-tools directory: [fonttools](https://github.com/fonttools/fonttools), [pillow](https://github.com/python-pillow/Pillow) and [zipp](https://github.com/jaraco/zipp). Updates `fonttools` from 4.39.0 to 4.43.0 - [Release notes](https://github.com/fonttools/fonttools/releases) - [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst) - [Commits](fonttools/fonttools@4.39.0...4.43.0) Updates `pillow` from 10.0.1 to 10.3.0 - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@10.0.1...10.3.0) Updates `zipp` from 3.15.0 to 3.19.1 - [Release notes](https://github.com/jaraco/zipp/releases) - [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst) - [Commits](jaraco/zipp@v3.15.0...v3.19.1) --- updated-dependencies: - dependency-name: fonttools dependency-version: 4.43.0 dependency-type: direct:production dependency-group: pip - dependency-name: pillow dependency-version: 10.3.0 dependency-type: direct:production dependency-group: pip - dependency-name: zipp dependency-version: 3.19.1 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update dependabot rules for the weekly runs
…77) Fixing no hbm for new isa_spec
* Enabling configurable mem specifications * Adding documentation
Fixes two configuration files which contain the incorrect path to kerngen: .pre-commit-config.yaml and pytest.ini.
Fixes suggested bank error Co-authored-by: Kylan Race <[email protected]> Co-authored-by: Flavio Bergamaschi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed changes
Experimental
Kerngraph.py
is a command line tool that takes output fromkerngen.py
throughstdin
and transform the Pisa for optimization.This PR is the starting point.
kerngen.py
Types of changes
What types of changes does your code introduce to the Encrypted Computing SDK project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you are unsure about any of them, do not hesitate to ask. We are
here to help! This is simply a reminder of what we are going to look for before
merging your code.
Further comments
As an illustrate example, say that the contents of the file
bgv.add.high
contains:which produces the following output from kerngen:
With kerngraph, we can interchange the loop order to produce the following output:
Note the ordering of the generate pisa commands produced with kerngraph.