50 fprintf(stderr,
"Failed to initialise Ne10.\n");
57 initialise_matrix(&src[i]);
58 initialise_matrix(&mul[i]);
67 printf(
"[ %5.2f %5.2f %5.2f [ %5.2f %5.2f %5.2f [ %5.2f %5.2f %5.2f\n",
68 src[i].c1.r1, src[i].
c2.
r1, src[i].
c3.
r1,
71 printf(
" %5.2f %5.2f %5.2f * %5.2f %5.2f %5.2f = %5.2f %5.2f %5.2f\n",
72 src[i].c1.r2, src[i].
c2.
r2, src[i].
c3.
r2,
75 printf(
" %5.2f %5.2f %5.2f ] %5.2f %5.2f %5.2f ] %5.2f %5.2f %5.2f ]\n",
76 src[i].c1.r3, src[i].
c2.
r3, src[i].
c3.
r3,
87 initialise_matrix_column(&mat->
c1);
88 initialise_matrix_column(&mat->
c2);
89 initialise_matrix_column(&mat->
c3);
ne10_result_t ne10_init(void)
ne10_result_t(* ne10_mulmat_3x3f)(ne10_mat3x3f_t *dst, ne10_mat3x3f_t *src1, ne10_mat3x3f_t *src2, ne10_uint32_t count)
Multiplies the 3x3 matrices of one input array by those of the same index in another, storing the results in an output array.
int matrix_multiply_sample_main(void)