diff options
author | Benoit Jacob <benoitjacob@google.com> | 2015-03-04 09:30:56 -0500 |
---|---|---|
committer | Benoit Jacob <benoitjacob@google.com> | 2015-03-04 09:30:56 -0500 |
commit | 00ea12188167411da9f83bbebedbc8822143eaf0 (patch) | |
tree | f7e75669d94c7aae6b083fb7e5a59d1be19b4709 /bench/benchmark-blocking-sizes.cpp | |
parent | 168ceb271e631c17da1c722119746ef5931fdca5 (diff) |
Complete the tool to analyze the efficiency of default sizes.
Diffstat (limited to 'bench/benchmark-blocking-sizes.cpp')
-rw-r--r-- | bench/benchmark-blocking-sizes.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bench/benchmark-blocking-sizes.cpp b/bench/benchmark-blocking-sizes.cpp index f1fef1ede..6925cf560 100644 --- a/bench/benchmark-blocking-sizes.cpp +++ b/bench/benchmark-blocking-sizes.cpp @@ -122,7 +122,10 @@ ostream& operator<<(ostream& s, const benchmark_t& b) { s << hex << b.compact_product_size << dec; if (b.use_default_block_size) { - s << " default"; + size_triple_t t(b.compact_product_size); + Index k = t.k, m = t.m, n = t.n; + internal::computeProductBlockingSizes<MatrixType::Scalar, MatrixType::Scalar>(k, m, n); + s << " default(" << k << ", " << m << ", " << n << ")"; } else { s << " " << hex << b.compact_block_size << dec; } @@ -355,7 +358,7 @@ void run_benchmarks(vector<benchmark_t>& benchmarks) struct measure_all_pot_sizes_action_t : action_t { - virtual const char* invokation_name() const { return "measure-all-pot-sizes"; } + virtual const char* invokation_name() const { return "all-pot-sizes"; } virtual void run() const { vector<benchmark_t> benchmarks; @@ -386,7 +389,7 @@ struct measure_all_pot_sizes_action_t : action_t struct measure_default_sizes_action_t : action_t { - virtual const char* invokation_name() const { return "measure-default-sizes"; } + virtual const char* invokation_name() const { return "default-sizes"; } virtual void run() const { vector<benchmark_t> benchmarks; |