summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/xaxpy.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-02 21:23:23 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-02 21:23:23 +0200
commit243cef73db53b5d8ce6c55f95e18c4412539d210 (patch)
treede1412505268b314e9943148e3e9b578412c9134 /src/tuning/kernels/xaxpy.cpp
parentd8827e908cd7ff70e1bf294468c12e76c749317e (diff)
Set the default number of runs for all kernels to at least 2 runs
Diffstat (limited to 'src/tuning/kernels/xaxpy.cpp')
-rw-r--r--src/tuning/kernels/xaxpy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuning/kernels/xaxpy.cpp b/src/tuning/kernels/xaxpy.cpp
index 1fd4ebad..403ee9e4 100644
--- a/src/tuning/kernels/xaxpy.cpp
+++ b/src/tuning/kernels/xaxpy.cpp
@@ -51,7 +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 1; } // run every kernel this many times for averaging
+ 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; }