| 21 | void Verify_matrix_c(float *A,float * B,float *C,int m1,int n1,int n2); |
| 22 | |
| 23 | void Init_Matrix(float *matrix,int length,int mod){ |
| 24 | srand((int)time(0));//设置随机种子 |
| 25 | int i,j; |
| 26 | for(i=0;i<length;i++){ |
| 27 | matrix[i]=rand()%mod; |
| 28 | } |
| 29 | } |
| 30 | void Mul_Matrix(float *A,float *B,float *C,int m1,int n1,int n2){ |
| 31 | int i,j,k,temp; |
| 32 | for (i = 0; i < m1; i++){ |
no outgoing calls
no test coverage detected