summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/xaxpy.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-03-14 20:29:51 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-03-14 20:29:51 +0100
commit11bb30e72bf1f2f36380c0bae8593d2e27ce3bfe (patch)
tree9cd9c61e6f26fc8c869b58ad72bfea425a4f6b1a /src/tuning/kernels/xaxpy.cpp
parent068ff32e9f8094bf848cbc5bd250a8f25776960e (diff)
Added the possibility to tune batched kernels
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 824ab29e..23132c51 100644
--- a/src/tuning/kernels/xaxpy.cpp
+++ b/src/tuning/kernels/xaxpy.cpp
@@ -50,6 +50,7 @@ class TuneXaxpy {
static size_t DefaultM() { return 1; } // N/A for this kernel
static size_t DefaultN() { return 4096*1024; }
static size_t DefaultK() { return 1; } // N/A for this kernel
+ static size_t DefaultBatchCount() { 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