diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-06-28 15:37:38 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-06-28 15:37:38 +0200 |
commit | cf1892d22ca9647dc8bb1025253e65152fef2466 (patch) | |
tree | ad5cd8eb04da430a89e890375438b8e697918e23 | |
parent | 77e2157485b87f6acdfe7d6cf2b031988b3881fb (diff) |
Added buffer structure and sizes to arguments
-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 |