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

[NFC] Ability to add flags to peano's opt without recompiling iree #938

Merged
merged 7 commits into from
Dec 2, 2024

Conversation

newling
Copy link
Contributor

@newling newling commented Nov 26, 2024

Motivation: we probably want -O3, but not completely commited yet (see #929)

I've added a c++ unit test, I've also tested this from run.py with

 aie_compilation_flags=["--iree-amd-aie-additional-peano-opt-flags=\"-O3\""],

and it works, but I don't want this e2e style test to CI for now.

Also in PR:

-- use anonymous namespace for functions to in .h file
-- absorb #937 (will rebase this on that if that's reviewed first)

@newling newling force-pushed the peano_optimization_flag_optional branch from 189082c to 0f4201c Compare November 26, 2024 23:43
@newling newling changed the title Add ability to add flags to peano's opt without recompiling Ability to add flags to peano's opt without recompiling iree Nov 26, 2024
@newling newling changed the title Ability to add flags to peano's opt without recompiling iree [NFC] Ability to add flags to peano's opt without recompiling iree Nov 27, 2024
Copy link
Collaborator

@jtuyls jtuyls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a few nits.

@newling newling enabled auto-merge (squash) December 2, 2024 17:35
@newling newling merged commit 1c7e406 into nod-ai:main Dec 2, 2024
7 checks passed
@newling newling deleted the peano_optimization_flag_optional branch December 12, 2024 23:08
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.

2 participants