From c5d5adbddd9a7e1816e7666a2f287f8266ca2c19 Mon Sep 17 00:00:00 2001 From: CNugteren Date: Fri, 31 Jul 2015 15:52:13 +0200 Subject: Refactored the correctness tests --- test/routines/level3/xsyrk.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/routines/level3/xsyrk.h') diff --git a/test/routines/level3/xsyrk.h b/test/routines/level3/xsyrk.h index c92693c2..8dacb5b3 100644 --- a/test/routines/level3/xsyrk.h +++ b/test/routines/level3/xsyrk.h @@ -29,6 +29,9 @@ template class TestXsyrk { 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 GetOptions() { return {kArgN, kArgK, @@ -60,6 +63,11 @@ class TestXsyrk { static size_t DefaultLDB(const Arguments &) { return 1; } // N/A for this routine static size_t DefaultLDC(const Arguments &args) { return args.n; } + // Describes which transpose options are relevant for this routine + using Transposes = std::vector; + static Transposes GetATransposes(const Transposes &) { return {Transpose::kNo, Transpose::kYes}; } + static Transposes GetBTransposes(const Transposes &) { return {}; } // N/A for this routine + // Describes how to run the CLBlast routine static StatusCode RunRoutine(const Arguments &args, const Buffers &buffers, Queue &queue) { auto queue_plain = queue(); -- cgit v1.2.3