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

[External Codegen] Fix annotate pass static variable #5023

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

mbaret
Copy link
Contributor

@mbaret mbaret commented Mar 10, 2020

'fannotate' in the annotate_target pass was designated as static. This meant that if you use the pass to annotate more than one codegen, its value is not updated when the target changes resulting in incorrect annotation.

@mbaret
Copy link
Contributor Author

mbaret commented Mar 10, 2020

cc @zhiics @comaniac

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM. Please rebase against to the master to re-trigger the CI.

@tqchen tqchen added the status: need update need update based on feedbacks label Mar 20, 2020
'fannotate' in the annotate_target pass was designated as
static. This meant that if you use the pass to annotate
more than one codegen, its value is not updated when the
target changes resulting in incorrect annotation.

Change-Id: Ib4f3af5cfbef44f29771818219755198ac313a0e
@zhiics zhiics merged commit 949dca4 into apache:master Mar 27, 2020
@zhiics zhiics added status: accepted and removed status: need update need update based on feedbacks labels Mar 27, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
'fannotate' in the annotate_target pass was designated as
static. This meant that if you use the pass to annotate
more than one codegen, its value is not updated when the
target changes resulting in incorrect annotation.

Change-Id: Ib4f3af5cfbef44f29771818219755198ac313a0e
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Apr 17, 2020
'fannotate' in the annotate_target pass was designated as
static. This meant that if you use the pass to annotate
more than one codegen, its value is not updated when the
target changes resulting in incorrect annotation.

Change-Id: Ib4f3af5cfbef44f29771818219755198ac313a0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants