mirror of
https://github.com/amd/blis.git
synced 2026-05-04 14:31:12 +00:00
Added GTestSuite helper functions
- Functions to convert to cblas enums from char. - Functions to print matrix and vector elements. - Functions to set matrix and vector elements with the given value. AMD-Internal: [CPUPL-2732] Change-Id: I1046b9578c8456e89eddba4a4e8577016b9361ca
This commit is contained in:
committed by
Eleni Vlachopoulou
parent
6b8f4744a4
commit
f164c7fe70
@@ -86,4 +86,10 @@ std::vector<T> get_random_matrix(int from, int to, char storage, char uplo, gtin
|
||||
template<typename T>
|
||||
std::vector<T> get_random_vector(int from, int to, gtint_t n, gtint_t incx, char datatype);
|
||||
|
||||
template<typename T>
|
||||
std::vector<T> get_vector( gtint_t n, gtint_t incx, T value );
|
||||
|
||||
template<typename T>
|
||||
std::vector<T> get_matrix( char storage, char trans, gtint_t m, gtint_t n, gtint_t lda, T value );
|
||||
|
||||
} //end of namespace testinghelpers
|
||||
Reference in New Issue
Block a user