summaryrefslogtreecommitdiff
path: root/test/routines/level3/xtrmm.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level3/xtrmm.h')
-rw-r--r--test/routines/level3/xtrmm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/routines/level3/xtrmm.h b/test/routines/level3/xtrmm.h
index d5a52903..152cdf58 100644
--- a/test/routines/level3/xtrmm.h
+++ b/test/routines/level3/xtrmm.h
@@ -29,6 +29,9 @@ template <typename T>
class TestXtrmm {
public:
+ // The BLAS level: 1, 2, or 3
+ static size_t BLASLevel() { return 3; }
+
// The list of arguments relevant for this routine
static std::vector<std::string> GetOptions() {
return {kArgM, kArgN,
@@ -60,6 +63,11 @@ class TestXtrmm {
static size_t DefaultLDB(const Arguments<T> &args) { return args.n; }
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 &all) { return all; }
+ 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();