summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/xaxpy.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-10 16:05:18 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-10 16:05:18 +0200
commit2194dee217f8757e495d2a68b6669a1dd3d8748d (patch)
tree782cdb9f6cb961de82ac3ffe1f4f45007f3c0dbe /src/tuning/kernels/xaxpy.cpp
parentd59e5c570b0bbdb8348d2f9ee6fc5850e606db27 (diff)
parent7c228f6a674a748ec9ef4907552f5043fb424224 (diff)
Merge branch 'gemm_direct' into development
Diffstat (limited to 'src/tuning/kernels/xaxpy.cpp')
-rw-r--r--src/tuning/kernels/xaxpy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuning/kernels/xaxpy.cpp b/src/tuning/kernels/xaxpy.cpp
index 0033b3c6..403ee9e4 100644
--- a/src/tuning/kernels/xaxpy.cpp
+++ b/src/tuning/kernels/xaxpy.cpp
@@ -51,6 +51,7 @@ class TuneXaxpy {
static size_t DefaultN() { return 4096*1024; }
static size_t DefaultK() { return 1; } // N/A for this kernel
static double DefaultFraction() { return 1.0; } // N/A for this kernel
+ static size_t DefaultNumRuns() { return 2; } // run every kernel this many times for averaging
// Describes how to obtain the sizes of the buffers
static size_t GetSizeX(const Arguments<T> &args) { return args.n; }