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

[WIP][DYN] Support Tuning for Dynamic Workloads #394

Open
wants to merge 238 commits into
base: main
Choose a base branch
from

Commits on Mar 26, 2021

  1. Init TIR schedule and script

    rebased
    
    [TIR][Schedule] fix reorder/buffer_flatten & finish CPU demo (#59)
    
    [CPU DEMO] Update cpu gemm demo and fix bug (#58)
    
    * [TIR][Schedule] introduce parallel and fix bugs for cpu demo
    
    * [TIR][Schedule] update cpu demo
    
    * [TIR][Schedule] fix lint
    
    * [TIR][Schedule] fix
    
    rebased
    
    [TIR][Schedule] introduce reduction block and CPU demo (#53)
    
    * [TIR] reduction : split_reduction
    
    * [TIR] reduction : split_reduction
    
    * [TIR] reduction : fuse_reduction
    
    * [TIR] reduction : cpu demo
    
    * [TIR] reduction : fix
    
    * [TIR] reduction : pattern detect remains
    
    * [TIR] reduction : pattern detect remains
    
    * [TIR] reduction : pattern match done
    
    * [TIR] reduction : fix lint
    
    * [TIR] reduction : fix
    
    * [TIR] reduction : fix
    
    * [TIR] reduction : fix
    
    * [TIR] reduction : fix
    
    * [TIR] reduction : rebased
    
    * [TIR] reduction : rebased
    
    [TIR][Schedule] introduce cache_read cache_write (#54)
    
    * [TIR][Schedule] introduce cache_read cache_write
    
    * [TIR][Schedule] add more comments
    
    * [TIR][Schedule] fix problem and add comments
    
    * [TIR][Schedule] address comments
    
    [TIR] schedule: introduce vectorize, unroll, loop validation (#47)
    
    * [TIR] vectorize : basically complete
    
    * [TIR] vectorize&unroll : update comments&unroll
    
    * [TIR] vectorize&unroll : rebased
    
    * [TIR] vectorize, unroll, cpu_demo: done
    
    * [TIR] vectorize, unroll, cpu_demo: simplify
    
    * [TIR] vectorize, unroll, cpu_demo: fix
    
    * [TIR] reduction : rebased
    
    * [TIR] reduction : fix
    
    [TIR][Schedule] fix sref and scopes problem during replace and compute_at (#50)
    
    * [TIR][Schedule] fix sref and scopes problem during replace and compute_at
    
    * [TIR][Schedule] fix
    
    * [TIR][Schedule] fix
    
    [TIR][Refactor] move function to ScheduleNode
    
    [TIR] Schedule: introduce primitive compute_at (#36)
    
    * [TIR] Schedule: introduce primitive compute_at
    
    * [TIR] Schedule: address comments
    
    * [TIR] Schedule: address comments
    
    * [TIR] Schedule: address comments
    
    * [TIR] Schedule: add check to compute_at
    
    * [TIR] Schedule: address comments
    
    * [TIR] Schedule: address comments
    
    [TIR] Schedule: introduce primitive reorder (#37)
    
    * [Schedule] debug
    
    * [TIR] Schedule: reorder, loop type detect remains
    
    * [TIR] reorder complete
    
    * [TIR] reorder complete
    
    * [TIR] fix
    
    * [TIR] reorder : rebased complete
    
    * [TIR] reorder : fix container.h
    
    * [TIR] reorder : fix
    
    * [TIR] reorder : fix
    
    * [TIR] reorder : fix
    
    * [TIR] reorder : simplify
    
    * [TIR] reorder : simplify
    
    * [TIR] reorder : simplify
    
    * [TIR] reorder : fix
    
    * [TIR] reorder : fix
    
    * [TIR] reorder : rebased
    
    * [TIR] reorder : rebased
    
    rebase
    
    [TIR] Schedule: introduce BlockRealize and Block SRef reuse(#39)
    
    * [TIR] BlockRealize: schedule refactor
    
    * [TIR] BlockRealize: debug
    
    * [TIR] BlockRealize finish
    
    * [TIR] BlockRealize finish
    
    * [TIR] BlockRealize fix
    
    * [TIR] BlockRealize update test
    
    * [TIR] BlockRealize: add loop var reuse
    
    * [TIR] BlockRealize: add loop var reuse
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    * [TIR] BlockRealize: fix
    
    [TIR] compare for module (#38)
    
    * [TIR] compare for module
    
    * [TIR] fix
    
    * [TIR] fix
    
    * [TIR] fix
    
    * [TIR] fix
    
    * [TIR] fix
    
    * [TIR] fix
    
    [Hybrid] Module init
    
    [Hybrid] Module print
    
    [Hybrid] Module print with meta
    
    [Hybrid] adjust
    
    [Hybrid] finished but without lint and comment check
    
    [Hybrid] fix lint
    
    [Hybrid] comments
    
    [Hybrid] fix script decoration API
    
    [Hybrid] using IRModule
    
    [Hybrid] fix
    
    [Hybrid] adjust API
    
    [Hybrid] fix
    
    [Hybrid] fix
    
    [Hybrid] fix
    
    [Hybrid] fix symbol table, adjust API, introduce meta_mutator and resolve import issue
    
    [Hybrid] fix lint
    
    [TIR] introduce pass BufferFlatten (#32)
    
    * [TIR] introduce pass BufferFlatten
    
    * [Tir] add comments & remove old TeLower
    
    * [TIR] split GatherRegion and BufferFlatten to two Visitor/Mutator
    
    * [TIR] address comments: Only consider stmt scope
    
    * [TIR] BufferFlatten: address comments
    
    * [TIR] BufferFlatten: fold BlockFlattener into BufferFlattener
    
    * [TIR] BufferFlatten: add asserts
    
    * [TIR] BufferFlatten: use Equal in testcase
    
    * [TIR] Equal Pass: Enhanced the pass
    
    * [TIR] Equal Pass: add comments
    
    [Hybrid] refactor using Doc, introduce annotation, enhance parser (#28)
    
    * [Hybrid] refactor printer, enhance parser
    
    * [Hybrid] refactor
    
    * [Hybrid] fix
    
    * [Hybrid] fix
    
    * [Hybrid] fix namespace issue
    
    * [Hybrid] compare using Equal
    
    [TIR] rebased
    
    [TE] fix replace again and add primitive fuse and split (#27)
    
    * [TE] add: schedule primitive fuse
    
    * [TE] add: schedule primitive split
    
    * [TE] address comments: add IRSubstitueInScope and other minor fix
    
    * [TE] address comments: Enhance Equal api and fix split by nparts
    
    * [TE] address comments
    
    [Hybrid] introduce printer (#25)
    
    * [Hybrid] substitute Block with SeqStmt, change block() syntax
    
    * [Hybrid] add printer, type declare intrin
    
    * [Hybrid] refactor
    
    * [Hybrid] meta
    
    * [Hybrid] refactor
    
    * [Hybrid] macro
    
    [TE] fix replace (#23)
    
    * [TE] fix replace
    
    * [TE] fix replace: add more tests
    
    * [TE] fix replace: add more tests
    
    [TE] rebased
    
    [Hybrid] python syntax parser (#20)
    
    * [Hybrid] python syntax parser
    
    * [Hybrid] add a testcase
    
    * [Hybrid] improve comments and fix bugs
    
    * [Hybrid] improve comments, refactor __internal_assert, add new testcases
    
    * [Hybrid] improve error report message, refactor intrin
    
    * [Hybrid] separate ScopeEmitter from parser
    
    * [Hybrid] refactor type check
    
    * [Hybrid] refactor intrin
    
    * [Hybrid] refactor intrin, allow register external functions with argument type checking, add a testcase
    
    * [Hybrid] address comments, fix a bug in te/ir.h
    
    * [Hybrid] remove type check
    
    * [Hybrid] python syntax parser
    
    * [Hybrid] add a testcase
    
    * [Hybrid] improve comments and fix bugs
    
    * [Hybrid] improve comments, refactor __internal_assert, add new testcases
    
    * [Hybrid] improve error report message, refactor intrin
    
    * [Hybrid] separate ScopeEmitter from parser
    
    * [Hybrid] refactor type check
    
    * [Hybrid] refactor intrin
    
    * [Hybrid] refactor intrin, allow register external functions with argument type checking, add a testcase
    
    * [Hybrid] address comments, fix a bug in te/ir.h
    
    * [Hybrid] remove type check
    
    * [Hybrid] refactor intrin, scope_handler, special_stmt
    
    * [Hybrid] address comments
    
    * [Hybrid] clean code, improve error reporting & testcase
    
    * [Hybrid] clean code
    
    * [Hybrid] clean code
    
    [IR] introduce dependency graph and write map
    
    [TE] refactor and clean codebase
    
    [TE] refactor IR
    
    [TE] introduce schedule, dependency graph and support fuse and split (#17)
    
    * fix lint
    
    * introduce dependency graph
    
    * enable create schedule
    
    * support get axes
    
    * fix lint
    
    * revert Set
    
    * add schedule primitive fuse
    
    * address comment
    
    * support split
    
    [IR] Introduce SeqStmt
    
    add TeLower pass and enable to run Te IR (#15)
    
    * add function data structure
    add TeLower pass to transform Te to current IR
    enable to run Te IR
    
    * address comments
    
    * unify terminology
    
    TensorIR data structure init (#14)
    
    * init te data structure
    
    * finish printer and enhanced ir_builder
    
    * address the comments
    
    Co-authored-by: Bohan Hou <[email protected]>
    Hzfengsy and spectrometerHBH committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    29e88ff View commit details
    Browse the repository at this point in the history
  2. [Refactor] Schedule Creation; Schedule Validation (#71)

    * Re-implement: schedule creation, loop validation; Refactor: move creation code to schedule_create.cc, move validation code to schedule_validate.cc
    
    * Update
    
    * Add StmtSRef::GetStmt<SomeNode>() in preparation of removing DowncastPtr
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    26e8231 View commit details
    Browse the repository at this point in the history
  3. [AutoTIR] Add LoopTree (#73)

    * [AutoTIR] Add LoopTree
    
    * Add ReprPrinter for IteratorNode
    
    * Loops whose body isnt BlockRealize; More testcases
    
    * doc
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    bfbb893 View commit details
    Browse the repository at this point in the history
  4. [Refactor] Refactor tir::Scope (#74)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    5c7d9a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ddbdd52 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c49e584 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2b606d8 View commit details
    Browse the repository at this point in the history
  8. [Refactor] split, fuse, reorder (#81)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    9ac57c9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dea4fa6 View commit details
    Browse the repository at this point in the history
  10. [TIR][Hybrid] Extensible Parser & Life of Lowering & Concise Scoping …

    …(#78)
    
    * [TIR][Hybrid] Extensible Parser & Life of Lowering & Concise Scoping
    
    * [TIR][HYBRID] fix several issues
    
    * [TIR][HYBRID] fix assert and let
    
    * [TIR][HYBRID] fix store
    
    * [TIR][Hybrid] improve hybrid type hierarchy
    
    * [TIR][Hybrid] improve comments
    
    * [TIR][Hybrid] update all the tests
    
    * [TIR][Hybrid] improve typing class comments
    
    * [TIR][Hybrid] improve comments
    
    * [TIR][Hybrid] improve comments
    
    * [TIR][Hybrid] move hybrid from tvm.tir to tvm namespace
    
    * [TIR][Hybrid] support single point TensorRegion sugar
    
    * [TIR][Hybrid] move string key to enum
    
    * [TIR][Hybrid] fix enum
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    d319b4d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1069c7b View commit details
    Browse the repository at this point in the history
  12. [AutoTIR] Add LeafStmt (#89)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    9cc29fc View commit details
    Browse the repository at this point in the history
  13. [TIR][HYBRID] refactor (#92)

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fc69d08 View commit details
    Browse the repository at this point in the history
  14. [TIR][HYBRID] Grid Iteration and schedule bug fix (#93)

    * [TIR][HYBRID] Grid Iteration
    
    * [TIR][HYBRID] Grid Iteration fix
    
    * [TIR][HYBRID] fix bugs in schedule::replace
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    0186f92 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a4b8d0d View commit details
    Browse the repository at this point in the history
  16. [Schedule] Tensorize (#88)

    * [TIR][Schedule] finish blockize
    
    * [TIR][Schedule] finish native tensorize
    
    * [TIR][Schedule] finish tensorize
    
    * address comments
    
    * address comments
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    2a78e20 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    690d825 View commit details
    Browse the repository at this point in the history
  18. [AutoTIR] Meta schedule class (#98)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    53e1d1d View commit details
    Browse the repository at this point in the history
  19. [TIR][HYBRID] Concise Block Declaration (#100)

    * [TIR][Hybrid] concise block declaration
    
    * [TIR][Hybrid] concise block declaration
    
    * [TIR][Hybrid] fix
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b81c087 View commit details
    Browse the repository at this point in the history
  20. [Schedule] GPU support and part of execution scope (#97)

    * [Schedule] GPU support and part of execution scope
    
    * [Schedule] address comments
    
    * [Schedule] add scope validate
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e877808 View commit details
    Browse the repository at this point in the history
  21. [TIR][Hybrid] TE Compute-style Block in TIR

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    37609f0 View commit details
    Browse the repository at this point in the history
  22. fix GPU demo

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7ab40d7 View commit details
    Browse the repository at this point in the history
  23. [TIR][HYBRID] clean up

    [TIR][HYBRID] fix
    
    [TIR][HYBRID] fix
    
    [TIR][HYBRID] fix
    
    [TIR][HYBRID] clean up (#108)
    
    * 【TIR][HYBRID] clean up
    
    * [TIR][Hybrid] allow to use expr.dtype
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    d720098 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    30528f6 View commit details
    Browse the repository at this point in the history
  25. [AutoTIR] Meta Schedule (#109)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    c8231c9 View commit details
    Browse the repository at this point in the history
  26. [TIR][Hybrid] concise thread env

    [TIR][Hybrid] fix
    
    [TIR][Hybrid] fix
    
    [TIR][Hybrid] fold attr&realize
    
    [TIR][Hybrid] concise thread env (#113)
    
    * [TIR][Hybrid] concise thread env
    
    * [TIR][Hybrid] concise thread env
    
    * [TIR][Hybrid] fix
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    05b54fd View commit details
    Browse the repository at this point in the history
  27. Search API (#114)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    864297b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    cbd51b4 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    30345e4 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    d2680a3 View commit details
    Browse the repository at this point in the history
  31. [Schedule] compute_inline & higher-dimension tensorize (#121)

    * [Schedule] support compute inline
    
    * [Schedule] support higher-dimension tensorize
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7e5a0b3 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ebd9f51 View commit details
    Browse the repository at this point in the history
  33. [LINT] cache_read_write.cc style (#122)

    tqchen authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    a8b6e95 View commit details
    Browse the repository at this point in the history
  34. [Lint] Followup #122 (#123)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    c2fa274 View commit details
    Browse the repository at this point in the history
  35. [MetaSchedule] Analysis (#124)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7556997 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    0cd72bb View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    49aa478 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4ddf6db View commit details
    Browse the repository at this point in the history
  39. [TIR] fix AutoComplete (#133)

    * [TIR] fix auto complete
    
    * [TIR] fix auto complete
    
    * [TIR] fix auto complete
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fb21e3f View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    0343554 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    5371e0d View commit details
    Browse the repository at this point in the history
  42. [MetaSchedule] Search Rules (#129)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    433dbb4 View commit details
    Browse the repository at this point in the history
  43. [TIR] TensorCore conv2d support (#136)

    * [Schedule] support compute inline
    
    * [Schedule] support higher-dimension tensorize
    
    * TensorCore support
    
    * TensorCore support
    
    * TensorCore support
    
    * Add testcase for exec_scope
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    1afec2b View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    badf812 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    4f48ff0 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    6cc7b8f View commit details
    Browse the repository at this point in the history
  47. [TIR][Schedule] reverse_compute_at (#140)

    * [TIR][Schedule] reverse_compute_at
    
    * [TIR][Schedule] reverse_compute_at: fixed
    
    * [TIR][Schedule] reverse_compute_at: fix
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7ce474a View commit details
    Browse the repository at this point in the history
  48. [Refactor][MetaSchedule] AutoTune, Mutator, Evolutionary Search API R…

    …efinement (#142)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    ee9be1e View commit details
    Browse the repository at this point in the history
  49. [MetaSchedule] AutoTensorization (#127)

    * [TIR][AutoTensorize] init
    
    * [TIR][MetaSchedule] AutoTensorize
    
    * [TIR][MetaSchedule] AutoTensorize: dot product
    
    * [MetaSchedule] AutoTensorize: refactor
    
    * [MetaSchedule] embed auto tensorization into SearchRule&Analysis
    
    * [MetaSchedule] rebased
    
    * [MetaSchedule] rebased&fixed
    
    * [MetaSchedule] rebased
    
    * [MetaSchedule] rebased
    
    * [MetaSchedule] comment
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e64f4ff View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    a2cc4d5 View commit details
    Browse the repository at this point in the history
  51. Remove auto scheduler (#147)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    40d58f6 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    057c43f View commit details
    Browse the repository at this point in the history
  53. rebased

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    4ad1c12 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    700abb2 View commit details
    Browse the repository at this point in the history
  55. [TIR][Schedule] reverse_compute_inline (#145)

    * [TIR][Schedule] reverse_compute_inline
    
    * [TIR][Schedule] add reverse_compute_at into MetaSchedule
    
    * [TIR][Schedule] add reverse_compute_inline into MetaSchedule
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    2b4be26 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    5acf0a0 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    c3514c0 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    43149a0 View commit details
    Browse the repository at this point in the history
  59. [TE] Generate Tir from TE compute (#143)

    * [TE] Generate Tir from TE compute
    
    * [TE] rebased
    
    * [TE] change create_tir to create_func
    
    * [TE] change create_tir to create_func
    
    Co-authored-by: spectrometerHBH <[email protected]>
    Hzfengsy and spectrometerHBH committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    0695821 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    0387f83 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    b7df386 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    b0d3589 View commit details
    Browse the repository at this point in the history
  63. [Topi][Relay] Op Strategy for tir (#155)

    * [Topi][Relay] Op Strategy for tir
    
    * [TE] Generate Tir from TE compute
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    878f5eb View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    e2eeb7b View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    52a18b7 View commit details
    Browse the repository at this point in the history
  66. [TVMScript] metaprogramming: specialize buffer (#154)

    * [TVMScript] metaprogramming: tensor shape invariant code
    
    * [TVMScript] metaprogramming: tensor shape invariant code
    
    * [TVMScript] metaprogramming: fix
    
    * [TVMScript] metaprogramming: fix
    
    * [TVMScript] metaprogramming: specialize_buffer
    
    * [TVMScript] adjust API
    
    * [TVMScript] adjust API
    
    * [TVMScript] move to global function
    
    * [TVMScript] refactor
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    188eb4d View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    a2d8ea6 View commit details
    Browse the repository at this point in the history
  68. msvc build fix (#164)

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    a98e85a View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    4eb0558 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    a4e616e View commit details
    Browse the repository at this point in the history
  71. [Refactor] Instruction Attributes (#167)

    * Add InstAttrs and make every inst_attr inherit from it
    
    * ...
    
    * use virtual
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    4a4893f View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    f8dd459 View commit details
    Browse the repository at this point in the history
  73. [Refactor] Refactor Search Rules (#171)

    - AlwaysInline => InlinePureSpatial
    - Merge the following rules into Multi-Level-Tiling-And-Fusion
      - Multi-Level-Tiling
      - Fusion
      - Add-Cache-Write
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    cfff454 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    f07c8b1 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    6da2f57 View commit details
    Browse the repository at this point in the history
  76. [MetaScehdule] Add-Cache-Read (#174)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    86eba3c View commit details
    Browse the repository at this point in the history
  77. [TIR][Schedule] iter_var_map integrate&enhance (#169)

    * [TIR][Schedule] iter_var_map integrate & enhance
    
    [TIR][Schedule] iter_var_map integrate: bug fix
    
    [TIR][Schedule] iter_var_map integrate: bug fix
    
    [TIR][Schedule] predicate: init
    
    [TIR][Schedule] stride generalize
    
    [TIR][Schedule] iter_var_map: split/fuse simplify
    
    WIP
    
    WIP
    
    WIP
    
    WIP
    
    pass simple predicate test
    
    pass predicate tests
    
    pass compound predicate tests
    
    pass compound predicate tests
    
    pass compound predicate tests
    
    pass compound predicate tests
    
    subspace division init
    
    WIP
    
    WIP
    
    pass simple division test
    
    done, do some refactoring to make logic clear
    
    done
    
    done
    
    refactor
    
    refactor complete
    
    DONE.
    
    adress comments
    
    * adress comments
    
    * rebase
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    87b69da View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    5583752 View commit details
    Browse the repository at this point in the history
  79. [TIR][Schedule] fix blockize&tensorize (#176)

    * WIP
    
    * basically done
    
    * done.
    
    * done.
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    1d3a782 View commit details
    Browse the repository at this point in the history
  80. [TIR][Schedule] fix compute_at (#178)

    * [TIR][Schedule] fix compute_at
    
    * [TIR][Schedule] fix compute_at
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    9650923 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    2f6e950 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    37311ed View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    3897e85 View commit details
    Browse the repository at this point in the history
  84. [TIR][Schedule] rfactor (#180)

    * [TIR][Schedule] rfactor : init
    
    * [TIR][Schedule] rfactor
    
    * [TIR][Schedule] rfactor
    
    * WIP
    
    * WIP
    
    * WIP
    
    * WIP
    
    * basically done
    
    * DONE.
    
    * DONE.
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    afcdde0 View commit details
    Browse the repository at this point in the history
  85. [TIR][Schedule] sparse_dense(BSR) CPU demo (#158)

    * [TIR][Schedule] sparse_dense init
    
    * [TIR][Schedule] sparse_dense: x86
    
    * [TIR][Schedule] sparse_dense: x86, generic shape
    
    * set_store_predicate remaining
    
    * update
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    5f2c797 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    3b4a2fc View commit details
    Browse the repository at this point in the history
  87. [MetaSchedule] Serialization (#182)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b1f77c2 View commit details
    Browse the repository at this point in the history
  88. [MetaSchedule] IO for measure records (#184)

    * add RecordToFile
    
    * integration test
    
    * record-to-file on integration tests
    
    * auto record loading
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    34c3a74 View commit details
    Browse the repository at this point in the history
  89. [Bugfix] Cooperative fetching (#187)

    * [Bugfix] Cooperative fetching
    
    * minor refactors
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    649884b View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    1859aa3 View commit details
    Browse the repository at this point in the history
  91. [MetaSchedule] CPU AutoTensorize Search (#189)

    * [MetaSchedule] Landing AutoTensorize: adjust cache_read/cache_write
    
    * [MetaSchedule] Landing AutoTensorize: fix postorderapply
    
    * fix get block
    
    * fix get block
    
    * add get_consumers/get_producers
    
    * remove get_only_consumer
    
    * pass cpu non-tensorized tests
    
    * fix the signature of cache_write
    
    * tir side refactor for cache_read
    
    * meta schedule side refactor for cache_read
    
    * search_rule refactor for cache_read
    
    * minor
    
    * make things running
    
    * configurable storage scope for cache_read/write
    
    Co-authored-by: spectrometerHBH <[email protected]>
    2 people authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3cf64a6 View commit details
    Browse the repository at this point in the history
  92. fix mac build (#190)

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b0993b4 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    3caef05 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    f37fa4d View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    4f4df45 View commit details
    Browse the repository at this point in the history
  96. [MetaSchedule] Add FLOP counter (#194)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    ffb7e3a View commit details
    Browse the repository at this point in the history
  97. [Refactor] Renaming and Simplify (#195)

    * Change func => workload
    
    * filename => log_file
    
    * num_iterations => num_trials
    
    * Define Init method for SearchSpace, SearchStrategy, ProgramMeasurer
    
    * add SearchTask as an argument of postproc
    
    * remove target in verify_gpu_code
    
    * remove warp_size in rewrite_cuda_thread_bind
    
    * mark_parallelize_out's max_extent => max_jobs_per_core
    
    * minor
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    80d9457 View commit details
    Browse the repository at this point in the history
  98. [MetaSchedule] Use FLOPs in ProgramMeasurer (#196)

    * Add printer
    
    * Match Ansor's FLOP counter
    
    * refactor record loading
    
    * refactor again
    
    * Check structural equality
    
    * print flops
    
    * minor
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    07a94bb View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    2207ce7 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    693a0ad View commit details
    Browse the repository at this point in the history
  101. [TIR][Schedule] pragma (#201)

    * [TIR][Schedule] pragma
    
    * [TIR][Schedule] pragma
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3066e37 View commit details
    Browse the repository at this point in the history
  102. [MetaSchedule] SearchRule: AutoUnroll (#202)

    * loop_type => block_type for a block
    
    * add SampleCategorical to schedule
    
    * add sample categorical
    
    * add unittest for sample categorical
    
    * add auto unroll search rule
    
    * change signature of mark_loop_type and mark_block_type
    
    * refactor annotation checking
    
    * prepare for pragma
    
    * post processor is done
    
    * add postproc on python side
    
    * add instruction: auto unroll
    
    * allow pragma to be assigned multiple times
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    45ad098 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    1790aef View commit details
    Browse the repository at this point in the history
  104. [MetaSchedule] Mark Parallelize/Vectorize/AutoUnroll onto Block, inst…

    …ead of Loop (#204)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e289975 View commit details
    Browse the repository at this point in the history
  105. [MetaSchedule] Use max_extent instead of num_of_loops in parallelize/…

    …vectorize (#206)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    dd25a7d View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    3b25f38 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    5c7e1ef View commit details
    Browse the repository at this point in the history
  108. [MetaSchedule] Trace (#209)

    * rename: trace => insts
    
    * Add TraceNode and Trace
    
    * pass the tests
    
    * remove trace-related functionality in the schedule class
    
    * remove serialization from schedule class
    
    * change the type of decision
    
    * Tweak the log format
    
    * minor name/sig changes
    
    * add AsPython
    
    * bugfix
    
    * fix them all
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    c474bba View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    eee40ca View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    30d65c5 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    9aeed54 View commit details
    Browse the repository at this point in the history
  112. [MetaSchedule] Add PyCostModel (#214)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    421b823 View commit details
    Browse the repository at this point in the history
  113. [MetaSchedule] XGB Model (#219)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fc27ebd View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    1b69d8d View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    db20c64 View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    261c756 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    b1063f9 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    34339bf View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    d076871 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    fe69f48 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    675aaaf View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    4727b8c View commit details
    Browse the repository at this point in the history
  123. fix postproc.cc (#231)

    jinhongyii authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3860c05 View commit details
    Browse the repository at this point in the history
  124. [TIR] Simplify expressions during the creation of tir func (#233)

    * add simplify
    
    * remove simplify in auto complete
    jinhongyii authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    86533e6 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    2e66136 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    40f32cf View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    60a7f38 View commit details
    Browse the repository at this point in the history
  128. minor changes (#237)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    57f213f View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    7497b16 View commit details
    Browse the repository at this point in the history
  130. [MetaSchedule] Migrate Database-related utils from ProgramMeasurer to…

    … Database (#241)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    619019d View commit details
    Browse the repository at this point in the history
  131. Configuration menu
    Copy the full SHA
    7883dfd View commit details
    Browse the repository at this point in the history
  132. [BugFix] add "[0]" to an array

    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    6e6066d View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    7e281ce View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    399bdbd View commit details
    Browse the repository at this point in the history
  135. Configuration menu
    Copy the full SHA
    e1bf8cb View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    136180e View commit details
    Browse the repository at this point in the history
  137. Configuration menu
    Copy the full SHA
    b0de7d3 View commit details
    Browse the repository at this point in the history
  138. [Typo] BufferRV (#251)

    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e47d526 View commit details
    Browse the repository at this point in the history
  139. Configuration menu
    Copy the full SHA
    76d22aa View commit details
    Browse the repository at this point in the history
  140. [Meta Schedule] End to end experiment (#252)

    * find a bug for fused_nn_global_avg_pool2d
    
    * temp save
    
    * change tag to str
    
    * remove simplify in auto complete
    
    * correctly run resnet
    
    * change ds
    
    * fix
    
    * fix
    
    * change test doc
    
    * add decompose reduction in postproc and add docs
    jinhongyii authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    0ce2eb9 View commit details
    Browse the repository at this point in the history
  141. Configuration menu
    Copy the full SHA
    f27dbec View commit details
    Browse the repository at this point in the history
  142. [TIR][Schedule] Reduction (#198)

    * [TIR][Schedule] reduction block
    
    * [TIR][Schedule] reduction: decompose
    
    * [TIR][Schedule] reduction: merge
    
    * [TIR][Schedule] reduction: blockize
    
    * [TIR][Schedule] reduction: remove ReduceStep
    
    * [TIR][Schedule] reduction: lowering
    
    * [TIR][Schedule] reduction: fix tests except rfactor
    
    * [TIR][Schedule] rfactor
    
    * [TIR][Schedule] rebased
    
    * [TIR][Schedule] lowering & allreduce init
    
    * [TIR][Schedule] allreduce done
    
    * [TIR][Schedule] fix annotation condition
    
    * [MetaSchedule][BugFix] remove the uses of ReduceStepNode
    
    * [TIR][Schedule] use `value.substr(0, 9) != "threadIdx"`
    
    * [TIR][Schedule] Add `const` and `&`.
    
    Co-authored-by: Siyuan Feng <[email protected]>
    
    * [TIR][Schedule] Change the way of string conversion.
    
    Co-authored-by: Siyuan Feng <[email protected]>
    
    * [MetaSchedule] Rewrite rules for decompose reduction.
    
    * [TIR][Schedule] remove redundant macros/calls
    
    * [MetaSchedule] only care the first appearance of reduction blocks
    
    Co-authored-by: Junru Shao <[email protected]>
    
    * [MetaSchedule][TIR][Schedule] Style change
    
    * [TIR][Schedule] Update signatures of "ReducerMatched" and "FromInitUpdate"
    
    * [TIR][Schedule] Make "ReducerMatched" and "FromInitUpdate" to be static class methods.
    
    * [TIR][Schedule] Refactor. Set AllreduceTransform to be a new pass.
    
    * [TIR][Schedule] Remove default argument
    
    * [TIR][Schedule] Fix comments
    
    * [TIR][Schedule] Update "IsReduction()"
    
    * Rename a variable & remove a TODO item
    
    * [MetaSchedule] Visit init in `VisitStmt(const BlockNode*)`
    
    * [TIR][Schedule] Allreduce style
    
    Co-authored-by: Ruihang Lai <[email protected]>
    Co-authored-by: Siyuan Feng <[email protected]>
    Co-authored-by: Junru Shao <[email protected]>
    4 people committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    51fe736 View commit details
    Browse the repository at this point in the history
  143. Sparse dense bsr (#257)

    Co-authored-by: Wuwei Lin <[email protected]>
    Co-authored-by: Wuwei Lin <[email protected]>
    3 people authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    38f5c19 View commit details
    Browse the repository at this point in the history
  144. Configuration menu
    Copy the full SHA
    eaf9df5 View commit details
    Browse the repository at this point in the history
  145. Fix specialize (#259)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    8934670 View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    60e503d View commit details
    Browse the repository at this point in the history
  147. Configuration menu
    Copy the full SHA
    077c5d0 View commit details
    Browse the repository at this point in the history
  148. Hotfix for BSR (#262)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    d4a0768 View commit details
    Browse the repository at this point in the history
  149. [TIR] Add 'None' loop support in 'decompose_reduction' (#263)

    * [TIR] Add 'None' loop support in 'decompose_reduction'
    
    * [TIR] Add simplification and a unit test
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    530eaf0 View commit details
    Browse the repository at this point in the history
  150. Configuration menu
    Copy the full SHA
    14071e1 View commit details
    Browse the repository at this point in the history
  151. Configuration menu
    Copy the full SHA
    98254aa View commit details
    Browse the repository at this point in the history
  152. Configuration menu
    Copy the full SHA
    f970e93 View commit details
    Browse the repository at this point in the history
  153. [Schedule] add new primitive double_buffer (#267)

    * [Schedule] fix gpu demo
    
    * [Schedule] add double_buffer
    
    * [Schedule] fix script printer and parser
    
    * [Schedule] add test for double_buffer
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7da28af View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    46712d7 View commit details
    Browse the repository at this point in the history
  155. [MetaSchedule] Tensorization with wmma_load & wmma_store intrin (#228)

    * [MetaSchedule] Tensorization with wmma_load & wmma_store intrin
    
    * rebase
    
    * fix wmma_symc, wmma_fill, wmma_store
    
    * [ARITH] allow inject mapping for all data par block vars
    
    * [ARITH] fix bug
    
    * [ARITH] fix iter_affine_map unittest
    
    * [ARITH] fix unittests
    
    * fix
    
    * fix bugs
    
    * fix
    
    * fix
    
    Co-authored-by: spectrometerHBH <[email protected]>
    2 people authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    d6b2c43 View commit details
    Browse the repository at this point in the history
  156. Configuration menu
    Copy the full SHA
    8d1c7e4 View commit details
    Browse the repository at this point in the history
  157. Configuration menu
    Copy the full SHA
    8363935 View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    a0256be View commit details
    Browse the repository at this point in the history
  159. Configuration menu
    Copy the full SHA
    dfec313 View commit details
    Browse the repository at this point in the history
  160. Configuration menu
    Copy the full SHA
    67bb566 View commit details
    Browse the repository at this point in the history
  161. Configuration menu
    Copy the full SHA
    7a9a803 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    c5c104f View commit details
    Browse the repository at this point in the history
  163. Configuration menu
    Copy the full SHA
    2e258fb View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    85ac5e4 View commit details
    Browse the repository at this point in the history
  165. fix compiling

    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7abda00 View commit details
    Browse the repository at this point in the history
  166. fix unittests

    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3f0425d View commit details
    Browse the repository at this point in the history
  167. fix tir & meta-schedule test

    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    f52b90d View commit details
    Browse the repository at this point in the history
  168. [MetaSchedule] Respect must_cache_write properly (#287)

    (cherry picked from commit 47c6cae89d7d717a9cb1b4db783c0c8c1cd24fb5)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    13b89ba View commit details
    Browse the repository at this point in the history
  169. [MetaSchedule] Improve Performance of SampleInitPopulation by working…

    … with VerifyGPUCode in a better way (#289)
    
    (cherry picked from commit 86c0c51efcc3d77cb01032c63ada199a4d6dc86a)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    8a55ef0 View commit details
    Browse the repository at this point in the history
  170. [MetaSchedule] Reuse main thread as worker 0 (#290)

    (cherry picked from commit c63c4d561c99ed2bf9e8360883eee3c6b1dd7122)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    10c5892 View commit details
    Browse the repository at this point in the history
  171. typo fix (#291)

    (cherry picked from commit 3e0523f772d8a08239e4854fce720d58e9a2a6fb)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e4386e7 View commit details
    Browse the repository at this point in the history
  172. Move methods in Scope to ScopeNode (#292)

    (cherry picked from commit 9727a85cdbd167da04a14ab2c241baabc4d51396)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    911266e View commit details
    Browse the repository at this point in the history
  173. [Refactor] Re-structuring the schedule folder (#293)

    (cherry picked from commit dcb54e6619a82d80770bbf9f53f85d0f8f2a9e37)
    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    f4cdc18 View commit details
    Browse the repository at this point in the history
  174. [MetaSchedule] add MutateAutoUnroll and MutateParallel (#272)

    * [MetaSchedule] add MutateAutoUnroll and MutateParallel
    
    * [MetaSchedule] Fix comments
    
    * [MetaSchedule] Remove including "thread" head file
    
    * [MetaSchedule] Fix bugs in `MutateAutoUnroll`
    
    * [MetaSchedule] Fix comments.
    
    * [MetaSchedule] Rewrite Mutate
    
    * [MetaSchedule] use bool
    
    * [MetaSchedule] use std::atomic warned_num_cores_missing
    
    * [MetaSchedule] fix
    
    * [MetaSchedule] fix the use of atomic<bool>
    
    * [MetaSchedule] done
    
    * [MetaSchedule] change after refactor
    
    (cherry picked from commit 7c984b8cd0053ad21a9fd57b44c5e45ca8086902)
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    07af2c1 View commit details
    Browse the repository at this point in the history
  175. Configuration menu
    Copy the full SHA
    e8db9df View commit details
    Browse the repository at this point in the history
  176. TE workload for conv2d winograd (#296)

    * TE workload for conv2d winograd
    
    * Update workload_te.py
    
    (cherry picked from commit ba48d5bf8dd2a05c6d9d272fa863357195722fd0)
    vinx13 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e34c0e0 View commit details
    Browse the repository at this point in the history
  177. rename TensorRegion => BufferRegion (#305)

    rename: BufferAllocate => AllocBuffer
    rename: tag => name_hint
    remove: BufferAllocate
    move: exec_scope from block realize to block
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    44d48e4 View commit details
    Browse the repository at this point in the history
  178. [REFACTOR] refactor LoopNode with ForNode and some minor renaming (#307)

    * remove Loop and use For in tir
    
    * rename allocations => alloc_buffers
    rename Scope => BlockScope
    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    ab19f99 View commit details
    Browse the repository at this point in the history
  179. Configuration menu
    Copy the full SHA
    132a9c4 View commit details
    Browse the repository at this point in the history
  180. Configuration menu
    Copy the full SHA
    9525bfd View commit details
    Browse the repository at this point in the history
  181. [TIR][Schedule] fix decompose reduction (#304)

    * fix decompose reduction
    
    * rebased
    
    * fixed
    
    * fixed
    
    * fixed
    
    * rebased
    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    dd85214 View commit details
    Browse the repository at this point in the history
  182. refactor ICHECK (#311)

    Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    99c6c31 View commit details
    Browse the repository at this point in the history
  183. [Refactor] Schedule.Replace (#314)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    341a097 View commit details
    Browse the repository at this point in the history
  184. Update topi.util -> topi.utils (#315)

    vinx13 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b0fa743 View commit details
    Browse the repository at this point in the history
  185. Configuration menu
    Copy the full SHA
    a167b88 View commit details
    Browse the repository at this point in the history
  186. fix (#318)

    spectrometerHBH authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    cf1a3fc View commit details
    Browse the repository at this point in the history
  187. Configuration menu
    Copy the full SHA
    091f18b View commit details
    Browse the repository at this point in the history
  188. [BugFix][TIR][Schedule] Fix bugs of rfactor (#322)

    * [TIR][Schedule] Replace VarCollector with PreOrderVisit
    
    * [TIR][Schedule] rfactor: fix one of the bugs
    
    * [TIR][Schedule] rfactor: add a new unittest
    
    * [TIR][Schedule] rfactor: reorganize
    
    * [TIR][Schedule] rfactor: reformat
    
    * [TIR][Schedule] add name of rfactor block
    
    * [TIR][Schedule] rewrite part of rfactor, and modify the tests
    
    * [TIR][Schedule] review write back part
    
    * [TIR][Schedule] reformat
    
    * [TIR][Schedule] perhaps have fixed the last bug
    
    * [TIR][Schedule] add test
    
    * [TIR][Schedule] style
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    253918a View commit details
    Browse the repository at this point in the history
  189. Configuration menu
    Copy the full SHA
    6dcdfdf View commit details
    Browse the repository at this point in the history
  190. Configuration menu
    Copy the full SHA
    1279bb0 View commit details
    Browse the repository at this point in the history
  191. Configuration menu
    Copy the full SHA
    78ae28f View commit details
    Browse the repository at this point in the history
  192. Configuration menu
    Copy the full SHA
    9fc5640 View commit details
    Browse the repository at this point in the history
  193. Configuration menu
    Copy the full SHA
    659b941 View commit details
    Browse the repository at this point in the history
  194. Configuration menu
    Copy the full SHA
    cefa95b View commit details
    Browse the repository at this point in the history
  195. Configuration menu
    Copy the full SHA
    55223a2 View commit details
    Browse the repository at this point in the history
  196. [MetaSchedule] RuleSimplifyComputeWithConstTensor (#313)

    * RuleSimplifyComputeWithConstTensor
    
    * tiling
    
    * fix
    
    * fix
    
    * new search rule
    
    * fix
    vinx13 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fedc80e View commit details
    Browse the repository at this point in the history
  197. [MetaSchedule] Fix RuleMultiLevelTiling that supports cache_write fol…

    …lowed by reduction block (#320)
    
    * Fix cache write with reduction consumer
    
    * debug
    
    * fix
    
    * case1
    
    * comments
    
    * fix
    vinx13 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3c6083d View commit details
    Browse the repository at this point in the history
  198. Configuration menu
    Copy the full SHA
    b866a85 View commit details
    Browse the repository at this point in the history
  199. Revert "[MetaSchedule] fix bug in rule RandomComputeLocation (#330)" …

    …(#331)
    
    This reverts commit 34f89082116460d3073327c04ba559d367500602.
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b0e034e View commit details
    Browse the repository at this point in the history
  200. Configuration menu
    Copy the full SHA
    70ac365 View commit details
    Browse the repository at this point in the history
  201. [BugFix] rfactor & PostprocRewriteReductionBlock (#333)

    * [TIR][Schedule] Fix rfactor primitive again
    
    * [MetaSchedule] rewrite a reduction block only when it has reduction block var
    
    * [TIR][Schedule] fix
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    4771c60 View commit details
    Browse the repository at this point in the history
  202. Configuration menu
    Copy the full SHA
    997b16a View commit details
    Browse the repository at this point in the history
  203. Configuration menu
    Copy the full SHA
    3fd90b8 View commit details
    Browse the repository at this point in the history
  204. Configuration menu
    Copy the full SHA
    33763d4 View commit details
    Browse the repository at this point in the history
  205. Configuration menu
    Copy the full SHA
    724d728 View commit details
    Browse the repository at this point in the history
  206. Configuration menu
    Copy the full SHA
    bc6e609 View commit details
    Browse the repository at this point in the history
  207. [MetaSchedule] Add search rule "RuleAddRfactor" (#306)

    * [MetaSchedule] change after refactor
    
    * [MetaSchedule] fix typo
    
    * [MetaSchedule] add rule "AddRfactor"
    
    * [MetaSchedule] Move "NeedsInline"
    
    * [MetaSchedule] Update "NeedsRfactor"
    
    * [MetaSchedule] add reorder
    
    * [MetaSchedule] LoopNode -> ForNode after rebasing
    
    * [MetaSchedule] simply fix some ce after rebasing
    
    * [MetaSchedule] little refactor
    
    * [MetaSchedule] use `Schedule::Copy` to make copy
    
    * fix ce after rebasing
    
    * [MetaSchedule] use SamplePerfectTile. Successfully align!
    
    * [MetaSchedule] rename
    
    * [MetaSchedule] add the original schedule
    
    * [MetaSchedule] move helper functions
    
    * sorry...
    
    * [MetaSchedule] optimize imports
    
    * [MetaSchedule] refactor & document & use TVM_SREF_TO_BLOCK/FOR
    
    * [MetaSchedule] fix comments
    
    * [MetaSchedule] fix comments
    
    * [MetaSchedule] fix comments
    
    * [MetaSchedule] rebase
    MasterJH5574 authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    d68997f View commit details
    Browse the repository at this point in the history
  208. Configuration menu
    Copy the full SHA
    e46b917 View commit details
    Browse the repository at this point in the history
  209. [Refactor] Buffer flatten (#340)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    9f0b3a1 View commit details
    Browse the repository at this point in the history
  210. [Refactor] BlockInfo (#341)

    junrushao authored and Hzfengsy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    2a483d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. rebase and avoid visit init block

    Co-authored-by: Junru Shao <[email protected]>
    Hzfengsy and junrushao committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    c3e705b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69cb9fc View commit details
    Browse the repository at this point in the history
  3. [BugFix] Fix compute_at & reverse_compute_at (#349)

    * [BugFix] Fix bug of compute_at
    
    * [BugFix] update doc
    
    * [BugFix] remove redundant log output
    
    * fix a tiny typo in tir/schedule/analysis.cc
    MasterJH5574 authored and Hzfengsy committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    59253ca View commit details
    Browse the repository at this point in the history
  4. rebase

    Hzfengsy committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    ad614fb View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    1f3ef44 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. [BugFix][MetaSchedule] preserve_unit_loop of (Reverse)ComputeAtAttr (…

    …#351)
    
    * [BugFix][MetaSchedule] Add preserve_unit_loop to ComputeAtAttr & ReverseComputeAtAttr
    
    * [BugFix][MetaSchedule] Fix
    
    * [BugFix][MetaSchedule] Add Serialize/Deserialize
    MasterJH5574 authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    421be69 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. introduce pass lower_reduction (#353)

    Co-authored-by: Ruihang Lai <[email protected]>
    Hzfengsy and MasterJH5574 authored Apr 7, 2021
    Configuration menu
    Copy the full SHA
    0558571 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Configuration menu
    Copy the full SHA
    55ab5a0 View commit details
    Browse the repository at this point in the history
  2. introduce LCA detector (#354)

    
    Co-authored-by: Ruihang Lai <[email protected]>
    Co-authored-by: Junru Shao <[email protected]>
    3 people authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    9aaaba9 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. [BugFix] Fix LCACollector in current BufferFlatten (#362)

    * [BugFix] Fix `LCACollector` in current BufferFlatten
    
    * [BugFix] Update comment
    MasterJH5574 authored Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6e4c8d9 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. [TIR][MetaSchedule] Introduce Schedule Primitive "set_scope" (#361)

    * [TIR] Add primitive `SetScope` on C++ side
    
    * [TIR] Add primitive `SetScope` on Python side
    
    * [MetaSchedule] Add primitive `SetScope` on C++ side
    
    * [MetaSchedule] Add primitive `SetScope` on Python side
    
    * [MetaSchedule] Fix
    
    * [TIR][Schedule] Fix primitive bug
    
    * [TIR] Replace blocks as few as possible
    
    * [TIR] Add unit test
    
    * [TIR][MetaSchedule] Self-review and update.
    
    * [TIR] Remove `VisitStmt_(const BufferRealize* node)`
    
    * [TIR] Fuse both source&target of MatchBufferRegion
    MasterJH5574 authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c267b71 View commit details
    Browse the repository at this point in the history
  2. Support Layout rewrite (#357)

    * add feature
    
    * add first version layout rewrite
    
    * add dense
    
    * add extract_tasks api and modify tests
    
    * add layout rewrite for batch matmul and conv2d winograd
    
    * final commit before rebase
    
    * pass compile
    
    * fix compile warning
    
    * fix
    
    * fix
    
    * remove useless fields and add doc
    
    * fix doc
    
    * change name
    
    * update doc for dispatcher.py
    
    * refactor relay_integration.py
    
    * refactor the rest python files
    
    * refactor
    
    * refactor
    
    * refactor
    
    * refactor
    
    * remove debug output
    
    * pass unittest
    
    * fix
    
    * remove unused fields
    
    * fix rebase bugs
    
    * style issues
    
    * apply black
    
    * disable vm compiler
    
    * fix bug
    
    * address comment
    jinhongyii authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    81b18a7 View commit details
    Browse the repository at this point in the history
  3. Buffer alloc locator (#355)

    
    Co-authored-by: Ruihang Lai <[email protected]>
    Co-authored-by: Junru Shao <[email protected]>
    3 people authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    9281ed1 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. [RUNTIME] Dynamic matmul.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    dd90c65 View commit details
    Browse the repository at this point in the history
  2. Update.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    134bebd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76e64db View commit details
    Browse the repository at this point in the history
  4. Sample variants.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    f98a82c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da3927e View commit details
    Browse the repository at this point in the history
  6. Update examples.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    c5a6098 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c49a385 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    359aaf3 View commit details
    Browse the repository at this point in the history
  9. Add manual code.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    5278e56 View commit details
    Browse the repository at this point in the history
  10. Remove log.

    ZihengJiang committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    cc9a24c View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Rebase.

    ZihengJiang committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    e51eab8 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Fix bugs.

    ZihengJiang committed May 5, 2021
    Configuration menu
    Copy the full SHA
    b62a767 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Clean

    ZihengJiang committed May 25, 2021
    Configuration menu
    Copy the full SHA
    aa10e77 View commit details
    Browse the repository at this point in the history
  2. Update for topK

    Ubuntu committed May 25, 2021
    Configuration menu
    Copy the full SHA
    8929128 View commit details
    Browse the repository at this point in the history
  3. Clean

    ZihengJiang committed May 25, 2021
    Configuration menu
    Copy the full SHA
    8426144 View commit details
    Browse the repository at this point in the history