diff --git a/test/common/test_gemm.cpp b/test/common/test_gemm.cpp index 27cd6d474a83f7f24b9e6fd5991a81322dd6d9ab..b475fe2db454f8ddec44013cdae0203e42b1a9b8 100644 --- a/test/common/test_gemm.cpp +++ b/test/common/test_gemm.cpp @@ -50,16 +50,16 @@ int do_sgemm(int m, int n, int k, bool relu, int t1, int t2, int pr) { srand(unsigned(time(0))); for (int i = 0; i < m * k; ++i) { - a[i] = t1 + rand() % t2; + a[i] = t1 + rand() % t2; } for (int i = 0; i < k * n; ++i) { - b[i] = t1 + rand() % t2; + b[i] = t1 + rand() % t2; } for (int i = 0; i < m; ++i) { - scale[i] = t1 + rand() % t2; + scale[i] = t1 + rand() % t2; } for (int i = 0; i < m; ++i) { - bias[i] = t1 + rand() % t2; + bias[i] = t1 + rand() % t2; } for (int i = 0; i < m; ++i) {