diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2015-06-29 20:45:10 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2015-06-29 20:45:10 +0200 |
commit | cbf2eef179a7377f619fc71f66b97e796036a7e1 (patch) | |
tree | f74a17cda9a285966d0eb2bfa53777c646f20a06 /include | |
parent | 77e2157485b87f6acdfe7d6cf2b031988b3881fb (diff) | |
parent | 3726f6a618fec88a1f8d9e9ecb06da76bd66b511 (diff) |
Merge pull request #10 from CNugteren/test_infrastructure
Re-organized test infrastructure
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/utilities.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h index 6ad17a6a..93cd509e 100644 --- a/include/internal/utilities.h +++ b/include/internal/utilities.h @@ -105,6 +105,11 @@ struct Arguments { size_t c_offset = 0; T alpha = T{1.0}; T beta = T{1.0}; + size_t x_size = 1; + size_t y_size = 1; + size_t a_size = 1; + size_t b_size = 1; + size_t c_size = 1; // Tuner-specific arguments double fraction = 1.0; // Client-specific arguments @@ -123,6 +128,15 @@ struct Arguments { bool no_abbrv = false; }; +// Structure containing all possible buffers for test clients +struct Buffers { + Buffer x_vec; + Buffer y_vec; + Buffer a_mat; + Buffer b_mat; + Buffer c_mat; +}; + // ================================================================================================= // Converts a value (e.g. an integer) to a string. This also covers special cases for CLBlast |