Home
last modified time | relevance | path

Searched refs:MATRIX_SIZE (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc2.c65 #define MATRIX_SIZE 100 macro
178 float matrix_1[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
179 float matrix_2[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
180 float matrix_3[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
184 for (i = 0; i < MATRIX_SIZE; i++) { in multiply_matrices()
185 for (j = 0; j < MATRIX_SIZE; j++) { in multiply_matrices()
194 for (i = 0; i < MATRIX_SIZE; i++) { in multiply_matrices()
195 for (j = 0; j < MATRIX_SIZE; j++) { in multiply_matrices()
197 for (k = 0; k < MATRIX_SIZE; k++) in multiply_matrices()
Dsched_tc3.c66 #define MATRIX_SIZE 100 macro
181 float matrix_1[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
182 float matrix_2[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
183 float matrix_3[MATRIX_SIZE][MATRIX_SIZE]; in multiply_matrices()
187 for (i = 0; i < MATRIX_SIZE; i++) { in multiply_matrices()
188 for (j = 0; j < MATRIX_SIZE; j++) { in multiply_matrices()
197 for (i = 0; i < MATRIX_SIZE; i++) { in multiply_matrices()
198 for (j = 0; j < MATRIX_SIZE; j++) { in multiply_matrices()
200 for (k = 0; k < MATRIX_SIZE; k++) in multiply_matrices()
Dsched_tc5.c68 #define MATRIX_SIZE 50 macro
184 float matrix_1[MATRIX_SIZE][MATRIX_SIZE]; in invert_matrix()
185 float matrix_2[MATRIX_SIZE][MATRIX_SIZE]; in invert_matrix()
191 for (i = 0; i < MATRIX_SIZE; i++) in invert_matrix()
192 for (j = 0; j < MATRIX_SIZE; j++) { in invert_matrix()
201 for (i = 0; i < MATRIX_SIZE; i++) in invert_matrix()
202 for (j = 0; j < MATRIX_SIZE; j++) in invert_matrix()
212 for (i = 0; i < MATRIX_SIZE; i++) { in invert_matrix()
214 for (j = 0; j < MATRIX_SIZE; j++) { in invert_matrix()
218 for (j = 0; j < MATRIX_SIZE; j++) in invert_matrix()
[all …]
/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c24 #define MATRIX_SIZE 100 macro
51 double A[MATRIX_SIZE][MATRIX_SIZE];
52 double B[MATRIX_SIZE][MATRIX_SIZE];
53 double C[MATRIX_SIZE][MATRIX_SIZE];
85 static void matrix_init(double A[MATRIX_SIZE][MATRIX_SIZE], in matrix_init() argument
86 double B[MATRIX_SIZE][MATRIX_SIZE]) in matrix_init() argument
89 for (i = 0; i < MATRIX_SIZE; i++) { in matrix_init()
90 for (j = 0; j < MATRIX_SIZE; j++) { in matrix_init()
102 for (i = 0; i < MATRIX_SIZE; i++) { in matrix_mult()
103 int i_m = MATRIX_SIZE - i; in matrix_mult()
[all …]