Skip to content

Commit

Permalink
User-Interface: Tune-TIR (apache#525)
Browse files Browse the repository at this point in the history
* User-Interface: Tune-TIR

* fix fix fix
  • Loading branch information
junrushao authored and zxybazh committed Jan 7, 2022
1 parent 63bccca commit 28a8537
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/tvm/meta_schedule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@
from .tune import tune_te, tune_tir, tune_relay
from .tune_context import TuneContext
from .search_strategy import MeasureCandidate
from .tune_context import TuneContext
from .tune import tune_tir
1 change: 1 addition & 0 deletions src/meta_schedule/search_strategy/replay_func.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* under the License.
*/
#include "../utils.h"
#include "tvm/meta_schedule/postproc.h"

namespace tvm {
namespace meta_schedule {
Expand Down
1 change: 1 addition & 0 deletions src/target/target_kind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ TVM_REGISTER_TARGET_KIND("llvm", kDLCPU)
.add_attr_option<Bool>("link-params", Bool(false))
.add_attr_option<Bool>("unpacked-api")
.add_attr_option<String>("interface-api")
.add_attr_option<Integer>("num-cores")
// Fast math flags, see https://llvm.org/docs/LangRef.html#fast-math-flags
.add_attr_option<Bool>("fast-math") // implies all the below
.add_attr_option<Bool>("fast-math-nnan")
Expand Down

0 comments on commit 28a8537

Please sign in to comment.