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/xsymm.h | |
parent | 6e1e7fdcaf9f544c98c3f8867d0f0f60bed252dd (diff) |
Refactored the correctness tests
Diffstat (limited to 'test/routines/level3/xsymm.h')
-rw-r--r-- | test/routines/level3/xsymm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/routines/level3/xsymm.h b/test/routines/level3/xsymm.h index 5b5ad351..03cf5de9 100644 --- a/test/routines/level3/xsymm.h +++ b/test/routines/level3/xsymm.h @@ -29,6 +29,9 @@ template <typename T> class TestXsymm { 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, @@ -69,6 +72,11 @@ class TestXsymm { static size_t DefaultLDB(const Arguments<T> &args) { return args.n; } static size_t DefaultLDC(const Arguments<T> &args) { return args.n; } + // 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(); |