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

Implementation of uTVM #3227

Merged
merged 109 commits into from
Jul 25, 2019
Merged

Implementation of uTVM #3227

merged 109 commits into from
Jul 25, 2019

Commits on Jul 24, 2019

  1. uTVM interfaces (apache#14)

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    7be3181 View commit details
    Browse the repository at this point in the history
  2. some minor interface changes

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9ebc55f View commit details
    Browse the repository at this point in the history
  3. implemented HostLowLevelDevice

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    1c3e449 View commit details
    Browse the repository at this point in the history
  4. added MicroDeviceAPI

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    bd15740 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    403a5d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3cb9f3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e6c4448 View commit details
    Browse the repository at this point in the history
  8. current status, semi implemented

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    0ca1d97 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    059fdc2 View commit details
    Browse the repository at this point in the history
  10. host test working

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    1f6a1a6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4ede248 View commit details
    Browse the repository at this point in the history
  12. make somewhat lint compatible

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    cb1f2f1 View commit details
    Browse the repository at this point in the history
  13. fix based on comments

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    8de60be View commit details
    Browse the repository at this point in the history
  14. added rounding macro

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    633d744 View commit details
    Browse the repository at this point in the history
  15. fix minor bug

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    985689a View commit details
    Browse the repository at this point in the history
  16. improvements based on comments

    Mutinifni authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    284905c View commit details
    Browse the repository at this point in the history
  17. Clean up binutil.py and make Python-3-compatible

    Logan Weber authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    5218619 View commit details
    Browse the repository at this point in the history
  18. Change argument allocation design

    Logan Weber authored and weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    e94e880 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c7a5c48 View commit details
    Browse the repository at this point in the history
  20. Improve binutil tests

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    cb497b8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    db01d8d View commit details
    Browse the repository at this point in the history
  22. Doc/style fixes

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    6ae42ad View commit details
    Browse the repository at this point in the history
  23. farts

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9aa82dd View commit details
    Browse the repository at this point in the history
  24. mcgee

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    3547a70 View commit details
    Browse the repository at this point in the history
  25. rodata section werks

    (and so does `test_runtime_micro_workspace.py`)
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    d65c07f View commit details
    Browse the repository at this point in the history
  26. simple graph runtime werk

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    05856c9 View commit details
    Browse the repository at this point in the history
  27. TEMP

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    d1dd841 View commit details
    Browse the repository at this point in the history
  28. ResNet works, yo

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    190cd37 View commit details
    Browse the repository at this point in the history
  29. First round of cleanup

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    ace2e9b View commit details
    Browse the repository at this point in the history
  30. More cleanup

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    f81160b View commit details
    Browse the repository at this point in the history
  31. runs a dyson over the code

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9fd33d5 View commit details
    Browse the repository at this point in the history
  32. Another pass

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    e8c7046 View commit details
    Browse the repository at this point in the history
  33. Fix make lint issues

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    370bee7 View commit details
    Browse the repository at this point in the history
  34. ready to pr... probably

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    fe54690 View commit details
    Browse the repository at this point in the history
  35. final

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    b1dca33 View commit details
    Browse the repository at this point in the history
  36. Undo change

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    ae199c2 View commit details
    Browse the repository at this point in the history
  37. Fix rebase resolution

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    c21cece View commit details
    Browse the repository at this point in the history
  38. Minor fixes

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    aa89ece View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    660c8fe View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    08c2a59 View commit details
    Browse the repository at this point in the history
  41. TEMP

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    1d43f2d View commit details
    Browse the repository at this point in the history
  42. Address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    32ba715 View commit details
    Browse the repository at this point in the history
  43. Add missing TODO

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    34811bc View commit details
    Browse the repository at this point in the history
  44. Partially address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    7da9ced View commit details
    Browse the repository at this point in the history
  45. Fix headers

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    327d8d5 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    4bc1633 View commit details
    Browse the repository at this point in the history
  47. Add missing ASF header

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    2bc32ff View commit details
    Browse the repository at this point in the history
  48. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    43d44b0 View commit details
    Browse the repository at this point in the history
  49. Fix lint again

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    49bf4e3 View commit details
    Browse the repository at this point in the history
  50. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    3ee73da View commit details
    Browse the repository at this point in the history
  51. Kill lint warnings

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    6c62a03 View commit details
    Browse the repository at this point in the history
  52. Address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    fc85816 View commit details
    Browse the repository at this point in the history
  53. Change Python interface to MicroTVM

    All interaction with the device is now through `Session` objects, which
    are used through Python's `with` blocks.
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    81c367c View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    9f6fd46 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    dbfe060 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    a6d28ed View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    52477a8 View commit details
    Browse the repository at this point in the history
  58. Improve general infra and code quality

    Does not yet address all of tqchen's feedback
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    35dc1d5 View commit details
    Browse the repository at this point in the history
  59. Forgot a rename

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    260ec37 View commit details
    Browse the repository at this point in the history
  60. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    953d217 View commit details
    Browse the repository at this point in the history
  61. Add ASF header

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    cf95739 View commit details
    Browse the repository at this point in the history
  62. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    efdeb23 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    4d929e3 View commit details
    Browse the repository at this point in the history
  64. Lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    6f30813 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    5cf5093 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    4f27116 View commit details
    Browse the repository at this point in the history
  67. Fix compiler error

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    297cbb1 View commit details
    Browse the repository at this point in the history
  68. (Maybe) fix CI error

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    105e3b3 View commit details
    Browse the repository at this point in the history
  69. Debugging

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    29782bd View commit details
    Browse the repository at this point in the history
  70. Remove

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    03c0616 View commit details
    Browse the repository at this point in the history
  71. Quell lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9057d3b View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    d3be1fb View commit details
    Browse the repository at this point in the history
  73. Make uTVM less intrusive to host codegen

    And use SSA for operands of generated ternary operators
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    c5ef066 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    b3d9369 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    c8cb63b View commit details
    Browse the repository at this point in the history
  76. Remove BaseAddr class

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    8ffbf73 View commit details
    Browse the repository at this point in the history
  77. Address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    5e9347f View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    7e1bae7 View commit details
    Browse the repository at this point in the history
  79. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    bdb21e9 View commit details
    Browse the repository at this point in the history
  80. Fix CI

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    f22b880 View commit details
    Browse the repository at this point in the history
  81. Fix test_binutil.py

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    40978cd View commit details
    Browse the repository at this point in the history
  82. Fix submodules

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    7e8bcd9 View commit details
    Browse the repository at this point in the history
  83. Remove ResNet tests

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    81b178e View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    1aae051 View commit details
    Browse the repository at this point in the history
  85. Fix CI

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    50f5b1b View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    e285275 View commit details
    Browse the repository at this point in the history
  87. lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    e280703 View commit details
    Browse the repository at this point in the history
  88. lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    ad414da View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    492b472 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    e41d718 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    458bd7a View commit details
    Browse the repository at this point in the history
  92. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    42be5ea View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    b1a3d91 View commit details
    Browse the repository at this point in the history
  94. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    2553c04 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    f62ee28 View commit details
    Browse the repository at this point in the history
  96. Address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    b731a46 View commit details
    Browse the repository at this point in the history
  97. Remove commented code

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    56388ab View commit details
    Browse the repository at this point in the history
  98. Lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    d358684 View commit details
    Browse the repository at this point in the history
  99. Figure out failing function

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    ca671d6 View commit details
    Browse the repository at this point in the history
  100. Remove debugging code

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    7e45f89 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    71619e3 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    0c44fdf View commit details
    Browse the repository at this point in the history
  103. Add TODO for 32-bit support

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    d63f2ff View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    2d516ea View commit details
    Browse the repository at this point in the history
  105. Undo rename

    We already have `tvm.micro` as a namespace.  Can't have it as a method
    as well.
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    2b7a269 View commit details
    Browse the repository at this point in the history
  106. Fix failing CI

    Thanks to @tqchen for finding this bug.  Emitting ternary operators for
    `min` and `max` causes concurrency bugs in CUDA, so we're moving the
    ternary op emissions from `CodeGenC` to `CodeGenCHost`.
    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9dd60a6 View commit details
    Browse the repository at this point in the history
  107. Address feedback

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9d05c29 View commit details
    Browse the repository at this point in the history
  108. Fix lint

    weberlo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    3c68727 View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    810dcb6 View commit details
    Browse the repository at this point in the history