aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2015-07-03 11:25:34 -0400
committerBenoit Jacob <benoitjacob@google.com>2015-07-03 11:25:34 -0400
commitd3fa9d15d06d987a3cab4872e9fa38d195fdea4a (patch)
tree988767513218453c9c849abe70f9558e0d205daf
parent05fe695259544ec0da48cb86c5dee51360e43afc (diff)
downloadgemmlowp-d3fa9d15d06d987a3cab4872e9fa38d195fdea4a.tar.gz
adjust min_cubic_size_per_thread from benchmarking small sizes
-rw-r--r--internal/multi_thread_gemm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/multi_thread_gemm.h b/internal/multi_thread_gemm.h
index b008034..3e7ac83 100644
--- a/internal/multi_thread_gemm.h
+++ b/internal/multi_thread_gemm.h
@@ -398,7 +398,7 @@ inline int HowManyWorkers(MultiThreadGemmContext* context, int rows, int cols,
// workers_ busy.
if (workers_count > 1) {
// Empirically determined value.
- static const int min_cubic_size_per_thread = 32 * 1024;
+ static const int min_cubic_size_per_thread = 256 * 1024;
// We can only multiply two out of three sizes without risking overflow
int cols_times_depth = cols * depth;