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][REFACTOR] ForNode introduce thread binding and remove legacy field #7306

Merged
merged 4 commits into from
Jan 19, 2021

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Jan 18, 2021

ForNode update

  • Remove deprecated device_api.
  • Add ThreadBinding for_type.
  • Add additional annotations.

More style consistency refactor to make the ForNode
to be consistent with rest of the codebase.

  • ForType => ForKind
  • Add constant prefix k to enum consts per Google C style
  • Introduce ForKind to the python side.

Note that this is mainly a IR data structure update, and compiler/script support for thread binding need to come later

- Remove deprecated device_api.
- Add ThreadBinding for_type.
- Add additional annotations.
@tqchen tqchen force-pushed the for-refactor branch 2 times, most recently from 85db354 to 307386f Compare January 18, 2021 18:26
@junrushao junrushao self-assigned this Jan 18, 2021
to be consistent with rest of the codebase.

- ForType => ForKind
- Add constant prefix k to enum consts per Google C style
- Introduce ForKind to the python side.
python/tvm/tir/ir_builder.py Outdated Show resolved Hide resolved
@junrushao junrushao merged commit 7340c02 into apache:main Jan 19, 2021
@junrushao
Copy link
Member

Thanks @tqchen @jcf94 @spectrometerHBH! It is merged :-)

TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Jan 20, 2021
…eld (apache#7306)

[TIR][REFACTOR] ForNode update

- Remove deprecated device_api.
- Add ThreadBinding for_type.
- Add additional annotations.

More style consistency refactor to make the ForNode
to be consistent with rest of the codebase.

- ForType => ForKind
- Add constant prefix k to enum consts per Google C style
- Introduce ForKind to the python side.
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jan 21, 2021
…eld (apache#7306)

[TIR][REFACTOR] ForNode update

- Remove deprecated device_api.
- Add ThreadBinding for_type.
- Add additional annotations.

More style consistency refactor to make the ForNode
to be consistent with rest of the codebase.

- ForType => ForKind
- Add constant prefix k to enum consts per Google C style
- Introduce ForKind to the python side.
electriclilies pushed a commit to electriclilies/tvm that referenced this pull request Feb 18, 2021
…eld (apache#7306)

[TIR][REFACTOR] ForNode update

- Remove deprecated device_api.
- Add ThreadBinding for_type.
- Add additional annotations.

More style consistency refactor to make the ForNode
to be consistent with rest of the codebase.

- ForType => ForKind
- Add constant prefix k to enum consts per Google C style
- Introduce ForKind to the python side.
@tqchen tqchen deleted the for-refactor branch February 26, 2023 13:57
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.

5 participants