summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/xdot.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-16 11:43:03 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-16 11:43:03 +0200
commit9331442a56f2969e5d4650bf0c31dd84473a4085 (patch)
tree997aca9619e211fab040bde658e2f0f1519d2171 /src/tuning/kernels/xdot.cpp
parent8d5747aa54b88812ef4060328e3befdb13f3f45a (diff)
parent53deed298facc005f71e9ec2a96d5c4e90d826af (diff)
Merge branch 'development' into netlib_blas_api
Diffstat (limited to 'src/tuning/kernels/xdot.cpp')
-rw-r--r--src/tuning/kernels/xdot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuning/kernels/xdot.cpp b/src/tuning/kernels/xdot.cpp
index 1581e13f..f8416761 100644
--- a/src/tuning/kernels/xdot.cpp
+++ b/src/tuning/kernels/xdot.cpp
@@ -47,6 +47,7 @@ class TuneXdot {
static size_t DefaultN() { return 2*1024*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; }