forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core][Build] Move build module transformations and utilities to C++ (a…
…pache#9103) * Initial investigation * More progress! * More progress / notes * rewrite build_for_device mostly in c++ * More progress * Initial split of transformations applied to device and host as post split action from mixed module * Combine duplicate passes after spliting mod on aot and vm flows * Minor cleanup * Move target mangling to driver_api.cc * Move more build utlities to cpp driver api * [Build][WIP] Moving build utilities to C++ from Python * [Build] Remove comments * [lint] Pass black * More formating * Move more build functionality into cpp * Remove comments * Remove unused defs and imports * Address PR comments * More PR comments * More comments * More comments * Add comments on the new split function * Fix PR comments on clarity * Test CI * Fix format * Refactor build * Expose splitted composite passes to python * Format files * Test fix * Fix for annotating entry funcs on code targeting CPU * Prevent entry funcs to be annotated when compiling for CPU with C runtime enabled * Guard for aot executor entry * Sphix format * Sanity fix * Sphinx fix Co-authored-by: electriclilies <lilyorthsmith@gmail.com>
- Loading branch information
Showing
5 changed files
with
238 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.