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

[RUNTIME] Improve PackedFunc robustness #5517

Merged
merged 2 commits into from
May 6, 2020
Merged

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented May 5, 2020

  • Add static assert to warn about unsupported type deduction.
  • Always inline template expansions for PackedFunc calls.

- Add static assert to warn about unsupported type deduction.
- Always inline template expansions for PackedFunc calls.
@tqchen
Copy link
Member Author

tqchen commented May 6, 2020

cc @yzhliu @ZihengJiang @zhiics

include/tvm/runtime/packed_func.h Outdated Show resolved Hide resolved
@tqchen tqchen merged commit 4a262ec into apache:master May 6, 2020
@tqchen
Copy link
Member Author

tqchen commented May 6, 2020

THanks @siju-samuel @zhiics

@tqchen tqchen deleted the packed branch May 14, 2020 15:11
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 9, 2020
* [RUNTIME] Improve PackedFunc robustness

- Add static assert to warn about unsupported type deduction.
- Always inline template expansions for PackedFunc calls.

* Fix style issue
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 18, 2020
* [RUNTIME] Improve PackedFunc robustness

- Add static assert to warn about unsupported type deduction.
- Always inline template expansions for PackedFunc calls.

* Fix style issue
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 18, 2020
* [RUNTIME] Improve PackedFunc robustness

- Add static assert to warn about unsupported type deduction.
- Always inline template expansions for PackedFunc calls.

* Fix style issue
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.

3 participants