1 static double identity
[4][4] = {{1, 0, 0, 0},
5 static double expected
[4][4] = {{1, 0, 0, 0},
10 static void __attribute__((noinline
,noclone
))
11 kernel(double A
[4][4])
14 for (int j
= 0; j
< 4; j
++)
15 for (int k
= 0; k
< 4; k
++)
16 tmp
[j
][k
] = identity
[j
][0] * identity
[j
][k
];
17 for (int j
= 0; j
< 4; j
++ )
18 for (int k
= 0; k
< 4; k
++)
24 double A
[4][4] = {{0.0}};
26 for ( int i
= 0; i
< 4; i
++ )
27 for ( int j
= 0; j
< 4; j
++ )
28 if (A
[i
][j
] != expected
[i
][j
])