summaryrefslogtreecommitdiff
path: root/src/utilities/utilities.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-03-05 15:04:16 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-03-05 15:04:16 +0100
commitcdf354f89524ed88d4f9358004e5a8eabd9ce286 (patch)
tree644b8a67d2e34663335a5a7faa2052e13fe6e1aa /src/utilities/utilities.hpp
parent7f14b11f1e240f12f5f6bf93cbbeab26001e9a5c (diff)
Adjusted the test-infrastructure to support testing of batched-versions of routines
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r--src/utilities/utilities.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp
index 330db597..58dc3b27 100644
--- a/src/utilities/utilities.hpp
+++ b/src/utilities/utilities.hpp
@@ -73,6 +73,7 @@ constexpr auto kArgAsumOffset = "offasum";
constexpr auto kArgImaxOffset = "offimax";
constexpr auto kArgAlpha = "alpha";
constexpr auto kArgBeta = "beta";
+constexpr auto kArgBatchCount = "batch_count";
// The tuner-specific arguments in string form
constexpr auto kArgFraction = "fraction";
@@ -156,6 +157,8 @@ struct Arguments {
size_t imax_offset = 0;
T alpha = ConstantOne<T>();
T beta = ConstantOne<T>();
+ size_t batch_count = 1;
+ // Sizes
size_t x_size = 1;
size_t y_size = 1;
size_t a_size = 1;