@@ -48,41 +48,6 @@ static constexpr Property<bool, PropertyMutability::RW> partial_build_program{"G
48
48
static constexpr Property<bool , PropertyMutability::RW> allow_new_shape_infer{" GPU_ALLOW_NEW_SHAPE_INFER" };
49
49
static constexpr Property<std::string, PropertyMutability::RW> dump_graphs{" GPU_DUMP_GRAPHS" };
50
50
static constexpr Property<std::vector<std::string>, PropertyMutability::RW> custom_outputs{" GPU_CUSTOM_OUTPUTS" };
51
-
52
- // / @brief Tuning mode.
53
- enum class TuningMode {
54
- // / @brief Tuning is disabled.
55
- tuning_disabled,
56
-
57
- // / @brief Tuning using the cached data (no on-line tuning for non-existing data).
58
- tuning_use_cache,
59
-
60
- // / @brief Tuning using the cached data if exist, tune and update cache otherwise.
61
- tuning_tune_and_cache,
62
-
63
- // / @brief Tuning using the cached data and update tasks.
64
- // / @details Performs updating tasks like removal of invalid caches, promoting to new format, etc.
65
- // / No tuning for non-existing data.
66
- tuning_use_and_update,
67
-
68
- // / @brief Retune the cache data even if it exists.
69
- tuning_retune_and_cache
70
- };
71
-
72
- struct TuningConfig {
73
- TuningMode mode;
74
- std::string cache_file_path;
75
-
76
- TuningConfig () : mode(TuningMode::tuning_disabled), cache_file_path(" " ) {}
77
- };
78
-
79
- inline std::ostream& operator <<(std::ostream& os, const TuningConfig& val) {
80
- os << val.cache_file_path ;
81
- return os;
82
- }
83
-
84
- static constexpr Property<TuningConfig, PropertyMutability::RW> tuning_config{" GPU_TUNING_CONFIG" };
85
-
86
51
static constexpr Property<ImplForcingMap, PropertyMutability::RW> force_implementations{" GPU_FORCE_IMPLEMENTATIONS" };
87
52
static constexpr Property<std::string, PropertyMutability::RW> config_file{" CONFIG_FILE" };
88
53
static constexpr Property<bool , PropertyMutability::RW> enable_lp_transformations{" LP_TRANSFORMS_MODE" };
0 commit comments