diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-06 16:34:26 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-06 16:34:26 +0100 |
commit | fb58129afbbb4ff758924b9187cac4c954cafd0f (patch) | |
tree | 0bfd2e022380f9c0c4a15818f0520b0f28e46e17 /test/performance/client.h | |
parent | 7468e2ba9db068ef7a11b11d12ac66752ea96713 (diff) |
Made testing against clBLAS in the client binaries truely optional (was partly implemented before)
Diffstat (limited to 'test/performance/client.h')
-rw-r--r-- | test/performance/client.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/performance/client.h b/test/performance/client.h index 9f6852d0..5805b8a5 100644 --- a/test/performance/client.h +++ b/test/performance/client.h @@ -23,6 +23,7 @@ #include <string> #include <vector> +#include <utility> // The libraries to test #include <clBLAS.h> @@ -64,10 +65,11 @@ class Client { Queue &queue, Routine run_blas, const std::string &library_name); // Prints the header of a performance-data table - void PrintTableHeader(const bool silent, const std::vector<std::string> &args); + void PrintTableHeader(const Arguments<U>& args); // Prints a row of performance data, including results of two libraries - void PrintTableRow(const Arguments<U>& args, const double ms_clblast, const double ms_clblas); + void PrintTableRow(const Arguments<U>& args, + const std::vector<std::pair<std::string, double>>& timings); // The routine-specific functions passed to the tester const Routine run_routine_; |