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

[TIR] Introduce tir::PrimFunc #5070

Merged
merged 1 commit into from
Mar 14, 2020
Merged

[TIR] Introduce tir::PrimFunc #5070

merged 1 commit into from
Mar 14, 2020

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Mar 14, 2020

This PR introduces tir::PrimFunc which will be used as the TIR function
container in the unified IR.

Also streamlined the function attributes a bit further.

  • All common attributes are under tvm::attr
  • TIR specific attributes are under tvm::tir::attr and comes with a tir prefix
  • Use stl_style for attributes for now

This PR introduces tir::PrimFunc which will be used as the TIR function
container in the unified IR.

Also streamlined the function attributes a bit further.
- All common attributes are under tvm::attr
- TIR specific attributes are under tvm::tir::attr and comes with a tir prefix
- Use stl_style for attributes for now
@tqchen
Copy link
Member Author

tqchen commented Mar 14, 2020

cc @zhiics @Hzfengsy @spectrometerHBH @icemelon9 @yzhliu @jroesch

@tqchen
Copy link
Member Author

tqchen commented Mar 14, 2020

Followup: move LoweredFunc to directly use PrimFunc

@tqchen tqchen merged commit e031641 into apache:master Mar 14, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
This PR introduces tir::PrimFunc which will be used as the TIR function
container in the unified IR.

Also streamlined the function attributes a bit further.
- All common attributes are under tvm::attr
- TIR specific attributes are under tvm::tir::attr and comes with a tir prefix
- Use stl_style for attributes for now
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Apr 17, 2020
This PR introduces tir::PrimFunc which will be used as the TIR function
container in the unified IR.

Also streamlined the function attributes a bit further.
- All common attributes are under tvm::attr
- TIR specific attributes are under tvm::tir::attr and comes with a tir prefix
- Use stl_style for attributes for now
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