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

[Hexagon] Launcher modifications to make use of the new device API #9356

Merged
merged 6 commits into from
Oct 26, 2021
Merged

[Hexagon] Launcher modifications to make use of the new device API #9356

merged 6 commits into from
Oct 26, 2021

Conversation

csullivan
Copy link
Contributor

@csullivan csullivan commented Oct 22, 2021

These changes enable the use of the new hexagon device api in the hexagon launcher.

Changes include,

  • Using a new module loader loadfile_hexagon
  • Using a customized linked params lookup function
  • Using NDArray (and therefore the hexagon device api) to copy data from one storage to another.

Depends on #9355, with transitive dependencies on #9354, #9342.

@jroesch jroesch merged commit 649ee20 into apache:main Oct 26, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
…pache#9356)

* Use custom lookup_linked_params function in
app/hexagon_launcher.

* Use new device api in hexagon launcher.

* Ensure app/hexagon_launcher uses kDLCPU for external allocations
so that CopyDataFromTo knows how to handle the provided memory.

* Use loadfile_hexagon in app/hexagon_launcher.

* Update hexagon launcher's get_output method to
utilize NDArray's for copying in order to exercise
the DeviceAPI.

* Apply clang formatting
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
…pache#9356)

* Use custom lookup_linked_params function in
app/hexagon_launcher.

* Use new device api in hexagon launcher.

* Ensure app/hexagon_launcher uses kDLCPU for external allocations
so that CopyDataFromTo knows how to handle the provided memory.

* Use loadfile_hexagon in app/hexagon_launcher.

* Update hexagon launcher's get_output method to
utilize NDArray's for copying in order to exercise
the DeviceAPI.

* Apply clang formatting
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