diff --git a/src/poly/tiling/tiling_analyzer.cc b/src/poly/tiling/tiling_analyzer.cc index bdb97de5dbda6f58181f6a8ca9a420e930d177e3..ac440b434ccc045f8bf80abc0ae6c88795d3f8ec 100644 --- a/src/poly/tiling/tiling_analyzer.cc +++ b/src/poly/tiling/tiling_analyzer.cc @@ -1404,13 +1404,18 @@ void TilingAnalyzer::AddTilingConstraints() { VectorizedStrategy vectorized_strategy(this); TensorOfTensorStrategy tot_strategy(this); actived_strategies.push_back(&cast_strategy); - actived_strategies.push_back(&vectorized_strategy); + if (!scop_info_.user_config_.GetIsTuning()) { + actived_strategies.push_back(&vectorized_strategy); + } actived_strategies.push_back(&tot_strategy); ReduceStrategy reduce_strategy(this); DmaAlignStrategy dma_align_stratgey(this); - actived_strategies.push_back(&reduce_strategy); - actived_strategies.push_back(&dma_align_stratgey); + + if (!scop_info_.user_config_.GetIsTuning()) { + actived_strategies.push_back(&reduce_strategy); + actived_strategies.push_back(&dma_align_stratgey); + } ModStrategy mod_strategy(this); actived_strategies.push_back(&mod_strategy);