Commit 17bd0bd4 authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh

Changed default parameters in the Metis optimizer.

parent 648f2275
/** ExaTN::Numerics: Tensor contraction sequence optimizer: Metis heuristics
REVISION: 2020/05/19
REVISION: 2020/05/20
Copyright (C) 2018-2020 Dmitry I. Lyakh (Liakh)
Copyright (C) 2018-2020 Oak Ridge National Laboratory (UT-Battelle) **/
......@@ -105,6 +105,7 @@ double ContractionSeqOptimizerMetis::determineContractionSequence(const TensorNe
for(const auto & contr_cost: contr_flops) std::cout << " " << contr_cost;
std::cout << std::endl;
}
num_walkers = num_walkers_;
}
}else{
max_flop = *(std::max_element(contr_flops.cbegin(),contr_flops.cend()));
......
/** ExaTN::Numerics: Tensor contraction sequence optimizer: Metis heuristics
REVISION: 2020/05/19
REVISION: 2020/05/20
Copyright (C) 2018-2020 Dmitry I. Lyakh (Liakh)
Copyright (C) 2018-2020 Oak Ridge National Laboratory (UT-Battelle) **/
......@@ -48,7 +48,7 @@ protected:
static constexpr const std::size_t PARTITION_FACTOR = 2;
static constexpr const std::size_t PARTITION_MAX_SIZE = 3;
static constexpr const std::size_t PARTITION_IMBALANCE_DEPTH = 8;
static constexpr const std::size_t PARTITION_IMBALANCE_DEPTH = 24;
static constexpr const std::size_t PARTITION_GRANULARITY = PARTITION_IMBALANCE_DEPTH;
static constexpr const double PARTITION_IMBALANCE = 1.3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment