summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/copy_fast.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-01 16:55:21 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-01 16:55:21 +0200
commitecc704cc76625fa0601b06ce5246831a14f18c8a (patch)
tree7912cbd46ab165b1d2ee00cb91e6be09c412d936 /src/tuning/kernels/copy_fast.cpp
parenta9d35cf04ceb2ba2185c7520dbff79580abbd785 (diff)
Added default num-runs to the tuner adding averaging over 10 runs as a default for the GEMM direct kernel
Diffstat (limited to 'src/tuning/kernels/copy_fast.cpp')
-rw-r--r--src/tuning/kernels/copy_fast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuning/kernels/copy_fast.cpp b/src/tuning/kernels/copy_fast.cpp
index 78ded56e..da4124fd 100644
--- a/src/tuning/kernels/copy_fast.cpp
+++ b/src/tuning/kernels/copy_fast.cpp
@@ -47,6 +47,7 @@ class TuneCopy {
static size_t DefaultN() { return 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
// Describes how to obtain the sizes of the buffers
static size_t GetSizeX(const Arguments<T> &) { return 1; } // N/A for this kernel