summaryrefslogtreecommitdiff
path: root/test/routines/level1/xaxpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level1/xaxpy.h')
-rw-r--r--test/routines/level1/xaxpy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/routines/level1/xaxpy.h b/test/routines/level1/xaxpy.h
index 866fb620..50480f46 100644
--- a/test/routines/level1/xaxpy.h
+++ b/test/routines/level1/xaxpy.h
@@ -29,6 +29,9 @@ template <typename T>
class TestXaxpy {
public:
+ // The BLAS level: 1, 2, or 3
+ static size_t BLASLevel() { return 1; }
+
// The list of arguments relevant for this routine
static std::vector<std::string> GetOptions() {
return {kArgN,
@@ -56,6 +59,11 @@ class TestXaxpy {
static size_t DefaultLDB(const Arguments<T> &) { return 1; } // N/A for this routine
static size_t DefaultLDC(const Arguments<T> &) { return 1; } // N/A for this routine
+ // Describes which transpose options are relevant for this routine
+ using Transposes = std::vector<Transpose>;
+ static Transposes GetATransposes(const Transposes &) { return {}; } // N/A for this routine
+ static Transposes GetBTransposes(const Transposes &) { return {}; } // N/A for this routine
+
// Describes how to run the CLBlast routine
static StatusCode RunRoutine(const Arguments<T> &args, const Buffers<T> &buffers, Queue &queue) {
auto queue_plain = queue();