Skip to content

Commit

Permalink
Remove static
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan committed Jun 18, 2024
1 parent b7a650f commit a7b21c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/unit_tests/blas/include/test_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ bool check_equal_trsv_vector(vec1 &v, vec2 &v_ref, int n, int inc, int error_mag
}

template <typename acc1, typename acc2>
static bool check_equal_matrix(acc1 &M, acc2 &M_ref, oneapi::mkl::layout layout, int m, int n,
int ld, int error_mag, std::ostream &out) {
bool check_equal_matrix(acc1 &M, acc2 &M_ref, oneapi::mkl::layout layout, int m, int n, int ld,
int error_mag, std::ostream &out) {
bool good = true;
int idx, count = 0;
for (int j = 0; j < n; j++) {
Expand All @@ -586,8 +586,8 @@ static bool check_equal_matrix(acc1 &M, acc2 &M_ref, oneapi::mkl::layout layout,
}

template <typename fp>
static bool check_equal_matrix(const fp *M, const fp *M_ref, oneapi::mkl::layout layout, int m,
int n, int ld, int error_mag, std::ostream &out) {
bool check_equal_matrix(const fp *M, const fp *M_ref, oneapi::mkl::layout layout, int m, int n,
int ld, int error_mag, std::ostream &out) {
bool good = true;
int idx, count = 0;
for (int j = 0; j < n; j++) {
Expand All @@ -608,9 +608,9 @@ static bool check_equal_matrix(const fp *M, const fp *M_ref, oneapi::mkl::layout
}

template <typename acc1, typename acc2>
static bool check_equal_matrix(acc1 &M, acc2 &M_ref, oneapi::mkl::layout layout,
oneapi::mkl::uplo upper_lower, int m, int n, int ld, int error_mag,
std::ostream &out) {
bool check_equal_matrix(acc1 &M, acc2 &M_ref, oneapi::mkl::layout layout,
oneapi::mkl::uplo upper_lower, int m, int n, int ld, int error_mag,
std::ostream &out) {
bool good = true;
int idx, count = 0;
for (int j = 0; j < n; j++) {
Expand Down

0 comments on commit a7b21c0

Please sign in to comment.