diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-07-31 15:52:13 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-07-31 15:52:13 +0200 |
commit | c5d5adbddd9a7e1816e7666a2f287f8266ca2c19 (patch) | |
tree | e243248d73c3c46b0902c886cbe51599d8ec8c87 /test/routines/level3/xtrmm.h | |
parent | 6e1e7fdcaf9f544c98c3f8867d0f0f60bed252dd (diff) |
Refactored the correctness tests
Diffstat (limited to 'test/routines/level3/xtrmm.h')
-rw-r--r-- | test/routines/level3/xtrmm.h | 8 |
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(); |