Skip to content

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