forked from neo-ai/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.
[Target] Add support for target object with host field compatible wit…
…h previous api (apache#7534) * Fix legacy code on target host * Modify legacy code for target host change * Add tests and fix merge issue * Add condition for same host * Modify all files for new target host api compatibility * Add newline * Change import format * Optimize test file * Add match error info for unit tests * Fix for heterogeneous targets * Fix format for dict iteration * Fix target host type error * Skip one testcase for tvm infinite loop bug * Fixed bug for target map compatibility * Fix another TargetsMap issue * Fix typo and infinite loop error * Temporary fix for handle issue * Fix vm target * Add condition support for str case * Add GetHost function and fix previous bugs * Fix measure_record.cc * Fix search_task.cc * Fix compiler.cc, memory_alloc.cc * Fix driver_api.cc * Fix format * Fix bugs and GetHost function usage * Fix clang format * Fix bug * Modify python tests * Change python unit tests to new target api * Fi test_runtime_heterogeneous.py * Modify tutorials & remove extra print * Update more tests to new api * Refine the tutorial target usage * change argument name for Target constructor function * Fix target export function * Fix and validate all tutorial usage * Remove unused argument * Fix format * Fix bug in driver/build_module.py for heterogeneous target * Fix bug in driver/build_module.py for heterogeneous target more * Fix target host type error * Fix cudnn target host bug * Fix according to reviews, add helper function in python * Refactor code as helper function * Expand helper function * Fix bug add and update python helper function * Update target hosts * Fix format & refresh function * Fix unit test bug * Fix bug in refreshing host * Fix bug * Add SetHost function * Update export function * Fix format * Fix export bug in target * Fix bug on host referencing * Addtional tests * Address review issues * Fix format target.py * Fix issues and format * Add some 3rd party dependencies * Merge main branch * Fix target.h format * Remove redundent import * Fix function name * Add parameter name * Fix new code bug * Fix bug in lowering
- Loading branch information
Showing
53 changed files
with
463 additions
and
210 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
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
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
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.